在使用GRIDVIEW进行分页后,当点击下一页时会出现异常.异常信息如下:
sys.webforms.PageRequestManagerServerErrorException:an unknown error occurred while processing the request on the server.The status code returned from the server was:12031
请问这个错误要如何解决.谢谢
sys.webforms.PageRequestManagerServerErrorException:an unknown error occurred while processing the request on the server.The status code returned from the server was:12031
请问这个错误要如何解决.谢谢
Sys.Application.add_load(function()
{
var form = Sys.WebForms.PageRequestManager.getInstance()._form;
form._initialAction = form.action = window.location.href;
});
这句代码要 放在Body的最后用<script></script>包含起来就行了2.在.aspx文件中加上 ValidateRequest="false"