Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server."

前端 未结 27 2644
遇见更好的自我
遇见更好的自我 2020-12-13 18:03

I have couple of update panels and jquery tabs on page. And also I am loading couple user controls on update panels. After user waited for couple of minutes (not checked the

27条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-13 18:27

    My fix for this was to remove any HTML markup that was in the Text="" property of a TextBox in my asp.net code, inside an update panel. If you have more than one update panel on a page, it will affect them all, which makes it harder to work out which panel has the issue. Chris's answer above lead me to find this, but his is a very hidden answer but I think a very relevant one so here is an answer explained.

    
    

    The above code will give this error.

    The below will not.

    
    

    In the second textbox code I have removed the < and > from the Text="" property. Please try this before spending time adding lines of script code, etc.

提交回复
热议问题