R11 HTMLEditor maintain viewstate in UpdatePanel
Posted: Sun Jan 31, 2016 4:29 am
So I put a <cb:HTMLEditor> inside a modal popup, and the modal popup is inside an UpdatePanel.
But the HTMLEditor won't keep the .Text value on postback. So it never saves the changes to the content of the editor window.
If I remove the UpdatePanel, it's works flawlessly and the value is exactly what it should be on postback.
What am I missing?
The UI experience is so much better when it's inside an UpdatePanel and modal popup. I just hate to walk away from this and have to build a separate page just for adds and edits.
Code: Select all
<cb:HtmlEditor runat="server" id="txt_Description" Width="450" Height="200px" ToolbarSet="Inline" MaxLength="1000" ViewStateMode="Enabled" EnableViewState="True"/>
If I remove the UpdatePanel, it's works flawlessly and the value is exactly what it should be on postback.
What am I missing?
The UI experience is so much better when it's inside an UpdatePanel and modal popup. I just hate to walk away from this and have to build a separate page just for adds and edits.