Links to Prev / Next rows in the Details page

Discussion in 'ASP .Net Web Controls' started by Rajan Moorjaney, Jun 22, 2004.

  1. I have a datagrid dgQueryResults with a hyperlink column which links to the details screen.

    <asp:HyperLinkColumn Visible="False" Text="View Details"
    DataNavigateUrlField="mtf_id"
    DataNavigateUrlFormatString="MTFDetails.aspx?mtf_id={0}">

    In the details MTFDetails.aspx page - I need to have 'Prev' & 'Next' links which will take the user to the previous or next record listed in the datagrid.

    I would appreciate suggestion on scripting for the 'Previous' & 'Next' hyperlink/linkbuttons.

    Do I need to save the DataTable/DataView - that fills the datagrid in the refering page - into a session variable, and use that to go to the previous or next record, or is there a better approach.

    Thank you.
     
    Rajan Moorjaney, Jun 22, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Stanley

    Calendar Prev/Next Month

    Stanley, Aug 29, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    402
    Tommy
    Aug 29, 2003
  2. =?Utf-8?B?UkY=?=

    Next/Prev Year in VS.Net Calendar Control

    =?Utf-8?B?UkY=?=, Jun 3, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    452
    =?Utf-8?B?UkY=?=
    Jun 3, 2004
  3. =?Utf-8?B?UkI=?=
    Replies:
    2
    Views:
    2,294
    =?Utf-8?B?UkI=?=
    Oct 14, 2004
  4. Darren
    Replies:
    3
    Views:
    534
    Darren
    Jun 22, 2005
  5. Bijoy Naick

    Prev and Next Links

    Bijoy Naick, Feb 18, 2004, in forum: ASP .Net Datagrid Control
    Replies:
    1
    Views:
    139
    Alvin Bruney [MVP]
    Mar 2, 2004
Loading...

Share This Page