Trying to redirect, code in Page_Load event won't execute

Discussion in 'ASP.NET / ASP.NET Core' started by chriscanali, Apr 29, 2005.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. I am just trying to make a simple redirection page by using the Response.Redirect method in the Page_Load event but it appears that the code is not executing. I trieda msgbox and nothing happenseither.It's probably something really obvious but it sure has me baffled. I run my web app in VB and it doesn't execute and I run it on my server with my site and it doesn't execute. There's no errors either. Anyone ever heard of this? Thanks.
     
  2. Chris,

    Make sure that the Sub Page_Load declaration includes Handles MyBase.Load at the end.

    Keith Payne
    Technical Marketing Solutions
    http://www.tms-us.com
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page