Using TinyMCE with ASP.Net UpdatePanels

March 16, 2012

My WYSIWYG editor of choice is TinyMCE.

I have recently had a problem where the contents of an ASP.Net text box on a site (TextBox.Text) was empty on postback – Even though text was entered by the user. The text box in question was within an UpdatePanel. The solution is simple – On the button that fires the post back, add OnClientClick=”tinyMCE.triggerSave(false,true);” where tinyMCE is the ID of your TinyMCE instance.



2 Responses to “Using TinyMCE with ASP.Net UpdatePanels”

  1. Rukka said

    thanks it works

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: