[2008] All Transactions placed in one page
Hi Guys,
I am trying to consolidate 3 asp.net pages into 1 page only. I am going to use panel as an alternative to make visible all the fields I need and hide all the fields I don't need so that it will looks like users are viewing different pages. Is it a good practice?
Thank you in advance.
Re: [2008] All Transactions placed in one page
Depends, really... is this simply a data-input form that has three steps to it? Then it'd make sense to hide the 'next steps' from the users. If the forms aren't related then it'd not make much sense to do this.
Re: [2008] All Transactions placed in one page
Hey,
I don't see anything with that straight off the bat, however, in order to enable and display the panels, unless you are doing this on the client side with javascript, you are still going to need to post back to the server, so you are not going to be saving yourself any round trips.
In addition to the above, you might want to look into the MultiView Control, or the Wizard Control. They give you the ability to have multiple steps on one page, but give the feeling of multiple pages.
Hope that helps!!
Gary
Re: [2008] All Transactions placed in one page
The reason I need to do this because I am having a problem with my gridview paging on the first page. For example I am in page 4 of my gridview and need to view the details of row 3 on that same page of the gridview then I go back to 1st page using the back button of my browsers, gridview returns to page 1 instead of page 4.
Re: [2008] All Transactions placed in one page
To address that specific problem of gridview paging across browser navigation, look at this post:
http://interviews.dotnetthread.com/2...utton-for.html
Re: [2008] All Transactions placed in one page
Thanks for the help, God bless you all!
Re: [2008] All Transactions placed in one page