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

Error in Postback after using Radeditor.get_html(true)

1 Answer 66 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Dhamodharan
Top achievements
Rank 1
Dhamodharan asked on 09 Nov 2012, 03:03 PM
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

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 12 Nov 2012, 04:48 AM
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.
Tags
Editor
Asked by
Dhamodharan
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or