阅读背景:

如何覆盖ASP.NET中的页面加载生命周期以防止加载ASPX表单?

来源:互联网 

I need to test a condition in several ASPX code-behind files and, in some cases, would like to completely bypass the normal page load process so that the corresponding ASPX page is not loaded. Intead, I'd like to send a custom response to the browser that's written from a code-behind method.I need to test a condition in several ASPX code




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: