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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Identical Pages 1

Status
Not open for further replies.

andrea96

Programmer
Jan 26, 2001
201
US
I am making changes to an ASP .NET app that I did not write, and I noticed that it has two pages that are virtually identical. I have compared the vb files behind them, and there are a few very minor differences that don't affect the logic of the program. The page layouts of both pages are exactly the same.

The first page takes user input in textboxes, and when a button is clicked, the input is validated, and a datagrid on the same page is filled with the input. Then it does a Response.Redirect to the other identical page, where it loads that datagrid and displays it. This page takes more user input, and when the button is clicked, does the same input validation, fills the datagrid, then switches back to the other form. The pages switch back and forth until the user is finished entering information.

I have taken one of the identical pages out of the project and tested the app. It functions the same as it did with both pages. I can't see any reason to have both pages in the app, but, I haven't had much experience with web apps.

Is there any reason to have two identical pages?

Thanks,
Andrea
 
NO!

"...we both know I'm training to become a cagefigher...see what happens if you try 'n hit me..."
 
Thanks for the response. It didn't make any sense to me to have them both.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top