|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Datagrid and moving to a specific recordresults are found are bound to a datagrid. The datagrid displays the product code and the product name. The product code is a hyperlink to another page and passes the subcategory ID as a parameter, but displays the product code as the text of the hyperlink. this is a template column so i can add the product code as an extra paramater. This leads me to the problem. When the link is pressed the products page loads and displays the summary information for the sub category with all the products for that category displayed in the datagrid. If the sub category has more than 5 products the user can page between recordsets, however some sub categorys have up to 31 pages of products. The item they clicked on to view from the search may not be on the first page but may be on the 15th. I need to be able to go to the specific page in the resultset and wondered if anyone can point me in the right direction. I can add the extra parameter into the hyperlink to pass through to the products page but have no idea what to do. I have tried a google search to find soemthing i can borrow from but found nothing. If anyone knows of a an ado.net function or a web page that has something simialr i would be very grateful. TIA grid.pageindex = your parameter
Show quote "steven scaife" <stevensca***@discussions.microsoft.com> wrote in message news:AE608E6B-6FBA-4C2E-814E-5248B2BE15E2@microsoft.com... >I have a problem in a site i am developing. I have a search page that when > results are found are bound to a datagrid. The datagrid displays the > product > code and the product name. The product code is a hyperlink to another > page > and passes the subcategory ID as a parameter, but displays the product > code > as the text of the hyperlink. this is a template column so i can add the > product code as an extra paramater. This leads me to the problem. > > When the link is pressed the products page loads and displays the summary > information for the sub category with all the products for that category > displayed in the datagrid. If the sub category has more than 5 products > the > user can page between recordsets, however some sub categorys have up to 31 > pages of products. The item they clicked on to view from the search may > not > be on the first page but may be on the 15th. I need to be able to go to > the > specific page in the resultset and wondered if anyone can point me in the > right direction. I can add the extra parameter into the hyperlink to pass > through to the products page but have no idea what to do. > > I have tried a google search to find soemthing i can borrow from but found > nothing. If anyone knows of a an ado.net function or a web page that has > something simialr i would be very grateful. > > TIA
Other interesting topics
|
|||||||||||||||||||||||