Response.Redirect not ending execution

前端 未结 6 1295
再見小時候
再見小時候 2020-12-10 03:01

I have Default.aspx page, which inherits from BasePage.cs, which inherits from System.Web.UI.Page. BasePage is where I do some common things every page must do upon loading

6条回答
  •  醉梦人生
    2020-12-10 03:38

    Probably you are calling the Response.Redirect method inside a try{}catch{} block, try it by calling outside of this block and you'll see that it will not fail. More info: http://www.velocityreviews.com/forums/t72105-responseredirect-in-a-trycatch.html Hope this helps.

提交回复
热议问题