Sys.WebForms.PageRequestManagerServerErrorException: unknown error

I created a text area that allows users to enter html code. When I try to send this code back to the server, I get a pop-up window that says "Sys.WebForms.PageRequestManagerServerErrorException: Unknown error encountered while processing the request on the server. Status code returned from server: 500".

I believe this is due to the fact that what I'm sending back contains html.

How to do it safely and not cause this error message?

Thanks!

+3
source share
2 answers

validateRequest = "false" , , , Server.HtmlEncode Server.HtmlDecode.

0

Source: https://habr.com/ru/post/1705593/


All Articles