Click here to Skip to main content
15,887,343 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have placed tinymce editor on my page within updatepanel. I have a button(Button1) on this page which when clicked causes postback and the editor gets disappear.
I have also registered that button in updatepanel as:

C#
 if (!Page.IsPostBack)
            {
               ScriptManager.GetCurrent(this.Page).RegisterPostBackControl(Button1);
}


i have to register it because on click of this button i am creating dynamic javascript which is adding menus in editor based on condition. If i don't register, it doesn't update the menus in editor.

Please help me to resolve this..
Posted
Updated 19-Apr-15 19:42pm
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900