Results 1 to 7 of 7

Thread: [2008] All Transactions placed in one page

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Mar 2007
    Posts
    240

    [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.

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    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.

  3. #3
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    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

  4. #4

    Thread Starter
    Addicted Member
    Join Date
    Mar 2007
    Posts
    240

    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.

  5. #5
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    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

  6. #6

    Thread Starter
    Addicted Member
    Join Date
    Mar 2007
    Posts
    240

    Re: [2008] All Transactions placed in one page

    Thanks for the help, God bless you all!

  7. #7
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: [2008] All Transactions placed in one page

    bless you too!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width