Re: Need to trigger a server-side event when the view mode changes

  •  12-21-2007, 10:57 AM

    Re: Need to trigger a server-side event when the view mode changes

    Ok, I tried the example, but am having problems with it.
     
    So, I'm working with the top editor, the one that's supposed to demonstrate server-side responses.  When I click on the "Hello" button, everything works as it should.  However, when I click on the "Save" button, I do not get a server-side message.  Instead, I get a JavaScript popup that tells me that "The Save command is captured at the client side."
     
    Also, clicking on the "Normal," "HTML," and "Preview" buttons do not cause the Editor1_PostBackCommand command to fire.  Is there a way to make these buttons fire a server-side event?

    Alternately, is there a way to force a postback when the user hits the "Normal," "HTML," and "Preview" buttons?  If I could do this, then I could simply check the ActiveTab property after the postback.  This would solve my problem.
View Complete Thread