我遇到了一个非常奇怪的错误。为什么asp.net UpdatePanel会破坏我的网址(.aspx0)?
我有一个工作得很好的页面,没有UpdatePanel。当我用UpdatePanel包围东西时,出现此错误:
Server Error in '/' Application.
The resource cannot be found.
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.
Requested URL: /SearchTicket.aspx0
Version Information: Microsoft .NET Framework Version:2.0.50727.3603; ASP.NET Version:2.0.50727.3082
页面名称为SearchTicket。 aspx。当启用UpdatePanel时,它会尝试打开一个SearchTicket。 aspx0,显然不能做到这一点,然后返回一个404
这是一个已知的bug?我在网上找不到关于它的线索。
备注:页面首次按预期加载。第一次更新使这发生。
? – Eric
是的!在这种情况下,updatepanel在searchticket中声明,而不是在.master中声明。我没有在其他地方的应用程序 –