Custom Datagrid Pager
-
Hi, I'm wondering if anyone out there has any information on how to create a datagrid with a custom pager that doesn't require stored procedures. My webpage has one datagrid that gets bound to a datasource based on the link the user has clicked on from the menu. I can get the pager to work numerically and I want to be able to specify how many pages to display, how many items to display, and to have next, last, previous, first links on the datagrid that will also page through the datagrid. help please. thank you.
-
Hi, I'm wondering if anyone out there has any information on how to create a datagrid with a custom pager that doesn't require stored procedures. My webpage has one datagrid that gets bound to a datasource based on the link the user has clicked on from the menu. I can get the pager to work numerically and I want to be able to specify how many pages to display, how many items to display, and to have next, last, previous, first links on the datagrid that will also page through the datagrid. help please. thank you.
lildragon wrote: Hi, I'm wondering if anyone out there has any information on how to create a datagrid with a custom pager that doesn't require stored procedures Weird - why would paging require a SP ? Why would you not use SP, anyhow ? lildragon wrote: My webpage has one datagrid that gets bound to a datasource based on the link the user has clicked on from the menu. So what is the nature of the datasource ? lildragon wrote: I want to be able to specify how many pages to display, how many items to display, and to have next, last, previous, first links on the datagrid that will also page through the datagrid. If you're getting the full data set, then doesn't the datagrid allow you to set paging automatically ? Christian Graus - Microsoft MVP - C++
-
Hi, I'm wondering if anyone out there has any information on how to create a datagrid with a custom pager that doesn't require stored procedures. My webpage has one datagrid that gets bound to a datasource based on the link the user has clicked on from the menu. I can get the pager to work numerically and I want to be able to specify how many pages to display, how many items to display, and to have next, last, previous, first links on the datagrid that will also page through the datagrid. help please. thank you.
-
Hi, I'm wondering if anyone out there has any information on how to create a datagrid with a custom pager that doesn't require stored procedures. My webpage has one datagrid that gets bound to a datasource based on the link the user has clicked on from the menu. I can get the pager to work numerically and I want to be able to specify how many pages to display, how many items to display, and to have next, last, previous, first links on the datagrid that will also page through the datagrid. help please. thank you.
This is a great article about paging (large recordsets): http://www.codeproject.com/aspnet/PagingLarge.asp[^] or look here: http://www.dotnetjunkies.com/Tutorial/EA868776-D71E-448A-BC23-B64B871F967F.dcik[^] I actually implemented the temp table approach and i can tell you that it kicks ass! Goodluck soldier! Zitniet.