Questions tagged [datapager]

Provides paging functionality for data-bound controls that implement the IPageableItemContainer interface, such as the ListView control.

DataPager is a .NET class that provides paging capabilities to any Data Template control in the .NET framework. For example it can used for paging a ListView control.

183 questions
2
votes
0 answers
2
votes
2 answers

Binding a DataPager to ComboBox?

I have a comboxbox defined like this (basically): 5 10 20
AlvinfromDiaspar
  • 6,611
  • 13
  • 75
  • 140
2
votes
2 answers

asp:DataPager onclick event

I am working with the .Net List view along with a data pager to enable pagination for a list view. I am able to set the pagination working perfectly for the list view but I wish to have a method being called when ever the user clicks on any of the…
Aneesh
  • 187
  • 1
  • 3
  • 18
2
votes
1 answer

Why is DataPager ignoring my custom IPagedCollectionView

I've written a implementation of IPagedCollectionView and when I hook it to a DataPager, it remains empty and disabled. I'm providing members for IPagedCollectionView and ICollectionView, IEnumerable, IEnumerable, and the notifies. What am I…
Jordan
  • 9,642
  • 10
  • 71
  • 141
2
votes
1 answer

What is the good way to create MVVM DataPager in Silverlight 4?

I want to use DataPager with MVVM but it's not easy. After I search on internet, there are 2 ways to use DataPager with MVVM in Silverlight. Introducing An MVVM-Friendly DomainDataSource: The DomainCollectionView (update post for Mix…
Anonymous
  • 9,366
  • 22
  • 83
  • 133
2
votes
2 answers

DataPager controls use Sitecore layout URL instead of item URL

To implement a search results page on a Sitecore 6.3.1 site, I created a content item at /sitecore/content/Home/Search and added a Search Results sublayout to its presentation controls. The sublayout uses a ListView to display the search results…
user212218
2
votes
1 answer

Using DataPager Control with AJAX and SEO

I've just taken my first stab at making a ListView, ObjectDataSource, and DataPager run in an AJAX panel. I had trouble getting it to work until I removed the QueryStringField="page" attribute from the DataPager. This attribute causes the current…
Jonathan Wood
  • 65,341
  • 71
  • 269
  • 466
2
votes
1 answer

On page load, navigate to a specific page where a listviewitem belongs using listview and datapager?

I have the selected DataKey in session from the ListView. I am able to set the selection back when I comeback to this aspx page containing listview. But when the selected item in the listview belongs to some other page (not the first listview page)…
Numan
  • 3,918
  • 4
  • 27
  • 44
2
votes
2 answers

Possible to cancel paging in ListView using DataPager

I'm using a datapager control on my listview to perform paging in it. When paging through the table, I need to perform some validations. When these validations are not successfull, the paging should be cancelled. I currently perform the validation…
Ronald
  • 1,990
  • 6
  • 24
  • 39
2
votes
5 answers

Silverlight DataPager localization

Is it possible to localize DataPager's footer (Page X of Y) in Silvelright? The strings seem to be located in resources embedded in the assembly of DataPager. So how should I localize it? Unfortunately, almost nothing in the DataPager class is…
gius
  • 9,289
  • 3
  • 33
  • 62
2
votes
1 answer

Problems with checkboxes in Datagrids

I am having some trouble with CheckBoxes in a DataGrid. The CheckBoxes are not bound to the entities that are populating the datagrid because there isn't a property on the entities for it. Basically what I am trying to do is when I check a CheckBox…
Brett
  • 33
  • 4
2
votes
0 answers

Custom server paging in asp.net with listview and datapager control

I have a listview control in a page and i want to do a custom server paging for the listview data. So instead of getting whole data and keeping in the memory, I would like to bring data in chunks and then bind the listview control. For example: If…
Maninder
  • 1,261
  • 5
  • 20
  • 34
2
votes
1 answer

hiding datapager in GridView when page number =1

I'm using gridview , and a datapager in it , I couldn't find a way to hide the pager. I tried this code : pager.Visible = (pager.PageSize < pager.TotalRowCount); Is there any other way to achieve it ?
Aravind30790
  • 974
  • 9
  • 22
2
votes
2 answers

DataPager not working in Silverlight 3 + RIA Services

I have a Silverlight 3 app with RIA Services and I'm running into an issue where my DataPager is only loading data for the initial loadsize and then no longer reloading. It brings up two pages of data (PageSize=10, LoadSize=20.) It is correctly…
Nick Gotch
  • 9,167
  • 14
  • 70
  • 97
2
votes
1 answer

How to style ASP.NET DataPager ellipsis

I'm using DataPager to paginate a ListView, and I set ButtonCount property for NumericPagerField as, say, 5 to limit the maximum count of page numbers to be displayed to 5. But by doing that, when there's more than 5 pages it shows 1 or 2 ellipses…
KwiZ
  • 1,364
  • 2
  • 15
  • 25
1
2
3
12 13