changes not captured on postback

Sep 3, 2009 at 11:51 PM

Hello; wonderful control! I am loading the contents of a file into the RTE on the Page_Load event. On the form's submission, I am attempting to access the contents using Request.Form("Main$editor"). This only returns the contents of the file initially loaded; any changes made are not represented. If I switch to HTML view prior to submission, however, the changes do show up. I have tried adding "CopyText();return true;" to the button's OnClientClick event, but this seems to make no difference.

Apr 28, 2010 at 6:23 AM

Has anyone got an answer for this issue? Im having the same problem... Thanks

Sep 22, 2010 at 12:16 PM

I am also facing the same problem somebody help me please

Oct 11, 2010 at 2:01 PM

do this in the onClientClick event "CopyText();"

and in onClick event you will find the html text in rteObject.Text property.

 

Oct 11, 2010 at 2:03 PM

without CopyText() function , channges cannot b found after the postback.

this function actually copies the content from client to the viewstate of the control and so it becomes available at serverside.