|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Gridview + Custom Paging WITHOUT ObjectDataSourceIn the old datagrid 1.1 we had a property called virtualcount for the
datagrid that allowed one to set the virtual count and based on that provide page numbers, this property is not available in gridview and i need to be able to do this. when i say custom paging i mean i have a data access layer that does take care of the paging architecture so that only few records are returned and total COUNT of the records is returned. so in short i need to be able to do this without object datasource, (one of the most useless controls in 2.0) Basically the thing with DataGrid was implemented with PagedDataSource
wrapper class ((is also with gridView but VirtualCount is not exposed), you should be able to use it to enable it yourself. http://msdn2.microsoft.com/en-us/library/system.web.ui.webcontrols.pageddatasource.aspx Note that DataGrid works fine in ASP.NET 2.0 (and exists) so if you want it fast, it works exactly as in v1.x Show quoteHide quote "Kovan A" <Kovan A@discussions.microsoft.com> wrote in message news:D7A48D75-A29A-4959-B7C6-774A6DDF6FE8@microsoft.com... > In the old datagrid 1.1 we had a property called virtualcount for the > datagrid that allowed one to set the virtual count and based on that > provide > page numbers, this property is not available in gridview and i need to be > able to do this. when i say custom paging i mean i have a data access > layer > that does take care of the paging architecture so that only few records > are > returned and total COUNT of the records is returned. > > so in short i need to be able to do this without object datasource, (one > of > the most useless controls in 2.0) > >
Dropdown List doesn't know what's in it's list
Repeater and text boxes inside how to change labelvalue when deleting row in gridview? Max Number of Web Controls Per Page??? How to put an image in a GridView textfield not recognized in gridview menu control with XML file passing variable to sql statement in asp.net 2.0? creative scroll bar for asp.net Datagrids and User Controls |
|||||||||||||||||||||||