Editor XmlHttpPanel

2 posts, 0 answers
  1. Majid Mahmoodi
    Majid Mahmoodi avatar
    4 posts
    Member since:
    Feb 2007

    Posted 22 Apr 2012 Link to this post

    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.
  2. Rumen
    Admin
    Rumen avatar
    12851 posts

    Posted 23 Apr 2012 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top