I have a textbox inside the update panel..
<asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Always">
<ContentTemplate>
<asp:TextBox ID="txb1" Class="tinyEditor" runat="server"1 TextMode="MultiLine"></asp:TextBox>
</ContentTemplate>
</asp:UpdatePanel>
and on Code Behind assigning txb1 value to a hashtable (txbHtbl is a hashtable) ..
if (txbHtbl != null && txbHtbl.ContainsKey(selectedId))
{
txbHtbl[selectedId] = txb1.Text;
ViewState["txbHtbl"] = txbHtbl;
}
for making tinymce working i am added
var prm = Sys.WebForms.PageRequestManager.getInstance();
prm.add_endRequest(function () {
TinyMCEeditor();
});
when user change some text and click on some other item of datalist at that time I want to assign changed text or u can say new text of txb1 to txbHtbl[selectedId].
when I am not using update panel then every thing working fine, but then I am using update panel I am not getting latest (changed value) value to textbox.
Please someone help me I am stuck from morning..
I have added
to TinyMCE Editor function now its working.