PageRequestManagerServerErrorException, typing xml inside a textArea control on C#

70 views Asked by At

I'm trying to have XML text (Actually <? breaks it already) inside a textarea to show it to the user, not to edit. Looks like on the postback as i press the save button to save some other control values, i get something like on the browser console:

Uncaught Sys.WebForms.PageRequestManagerServerErrorException: 
Sys.WebForms.PageRequestManagerServerErrorException: Unknown error at processing... Response: 500

The code never reaches the load of the page for the postback, so i don't think it's not an error on my code.

I already tried to add

validateRequest="false"

in the <%@ Page directive but didn't work out.

Is there any way to show the user some XML text without having the postback blow away?

0

There are 0 answers