Error in Postback after using Radeditor.get_html(true)

2 posts, 0 answers
  1. Dhamodharan
    Dhamodharan avatar
    300 posts
    Member since:
    Sep 2010

    Posted 09 Nov 2012 Link to this post

    Hi,
    I am using Radeditor, to retrieve the Content value of radeditor i make use of .get_html(true), when Postback occurs it generates the following error
    Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 500

    Thanks
  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 11 Nov 2012 Link to this post

    Hi Dhamodharan,

    Unfortunately I couldn't replicate the issue you are facing. Here is the sample code that I tried based on your scenario which works as expected at my end.

    JS:
    <script type="text/javascript">
    function OnClientClicked(sender, args)
    {
      var editor = $find("<%=RadEditor1.ClientID%>");
      var content = editor.get_html(true);
    }
    </script>

    Please provide your code if this doesn't helps.

    Thanks,
    Princy.
Back to Top