Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Wrong page being displayed

Status
Not open for further replies.

croydon

Programmer
Apr 30, 2002
253
EU
I have come across a problem today that is most bizarre......

I have been working on an ASP.NET application (VB.NET/VS.NET) that has around 16 webpages. The three pages involved in this problem are index-user.aspx, index-supervisor.aspx and approve.aspx.

When the user logs-in index-supervisor.aspx is displayed. There is a button on the form that performs a response.redirect to approve.aspx. However when clicked, instead of displaying approve.aspx, index-user is displayed.

I put a breakpoint on the index-supervisor button-click event and it goes through the response.redirect as expected. The processing does not go through the code in approve.aspx. Index-user is displayed instead.

The application worked as expected earlier today. Some changes were made to functions in approve.aspx later but these are not called in page.load or page.init.

Could it be that approve.aspx has become corrupted and index-user.aspx is being picked up for some reason instead?

I am stumped on this and would welcome any thoughts or suggestions. Thanks.

 
Can you show your code for the index-supervisor.aspx page?

Jim
 
I didn't get to be bottom of this.

Due to time constraints, I deleted the pages concerned, retrieved copies from a backup then cut and pasted the new code changes.

Jim, thanks for your interest.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top