This is a migrated thread and some comments may be shown as answers.

Editor XmlHttpPanel

1 Answer 8 Views
This is a migrated thread and some comments may be shown as answers.
Majid Mahmoodi
Top achievements
Rank 1
Majid Mahmoodi asked on 22 Apr 2012, 07:34 AM
Hi,
I want to save Editor's content with XmlHttpPanel and my code is :

<telerik:RadXmlHttpPanel ID="RadXmlHttpPanel1" runat="server" 
EnableClientScriptEvaluation="True" 
onservicerequest="RadXmlHttpPanel1_ServiceRequest">
<asp:Literal ID="ltrMessage" runat="server"></asp:Literal>
<asp:HiddenField ID="hfldContentId" runat="server" />
<asp:HiddenField ID="hfldPageState" runat="server" />
</telerik:RadXmlHttpPanel>

<script type="text/javascript">
function setValue() {
var panel = $find("<%=RadXmlHttpPanel1.ClientID %>");
var value =$find("<%=Edtr.ClientID %>").get_html(true);
panel.set_value(value);
}
</script>

when editor's content have semicolon(") characters, xmlHttpPanel return error, otherwise everythings ok.
how can I resolve this issue?

thank you,
Majid Mahmoodi.

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 23 Apr 2012, 02:19 PM
Hello Majid,

The problem is fixed in the latest version of RadControls for ASP.NET AJAX. Please, upgrade to Q1 2012 SP1 to fix the error.

Best regards,
Rumen
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Asked by
Majid Mahmoodi
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or