R
Rajan Moorjaney
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.
<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.