Re: __doPostBack to Editor?

  •  11-11-2010, 8:21 PM

    Re: __doPostBack to Editor?

    Hi Tobster,
     
    You can fire the PostBackCommand of editor by the code below. editor1 is the ID of CuteEditor in the page.
     
    __doPostBack("editor1$PostBackHandler");
     
    But I suggest you use "ExecCommand" to fire the PostBackCommand event, like below
     
     var editor1=document.getElementById("<%= editor1.ClientID %>");
     editor1.ExecCommand("PostBack",false,"myCommand");
     
    "myCommand" is the  "e.CommandName" you can get in  event PostBackCommand.
     
    Regards,
     
    ken
     
     
View Complete Thread