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
0
votes
1 answer

Datapager always marks page 1

I'm facing a problem with two Datapagers associated with a Listview. This is my page:
Cpt. Awesome
  • 87
  • 1
  • 2
  • 13
0
votes
1 answer

Bit of help with DataPager template & LinkButton please?

I have a datapager with a pagertemplate. In the template I have a "Show All" button, which sets the PageSize of the datapager to show all records. This works fine but I want to be able to hide the button when it's clicked. It's in an UpdatePanel…
Dave
  • 493
  • 9
  • 22
0
votes
1 answer

DataPager with QueryStringField causes full PostBack inside UpdatePanel

I have a ListView with three DataPager associated to it, all inside an UpdatePanel. The first DataPager is only to show the link to the previous page:
adripanico
  • 1,026
  • 14
  • 32
0
votes
2 answers

Listview not showing first row per each page

I have a list view with which I am displaying a dataset. There is also a datapager. The problem is, per each page, the first row of the dataset is not displayed in the list view. So, the datapager displays text "showing element 1-10 of 22" but on…
EngelbertCoder
  • 777
  • 2
  • 9
  • 29
0
votes
1 answer

Change DataPager text

This might sound like a strange request and i'm not sure if it's actually possible, but I have a Silverlight DataPager control where it says "Page 1 of X" and I want to change the "Page" text to say something different. Can this be done?
jimminybob
  • 1,392
  • 2
  • 24
  • 60
0
votes
1 answer

Strange C# DataPager with ListView issue

I have a page with 2 datapagers and 1 listview. I am trying to set the pagesize programatically, it works for the first page, but not any after that. If I hard code the pagesize to 12 it works fine. The datapagers use the querystring param of…
dhardy
  • 993
  • 2
  • 11
  • 22
0
votes
0 answers

ASP .Net : Filter ListView items dynamically based on user input

I have a ListView with DataPager control. I'm trying to display a series of questions.Each question along with it's choices belongs to an item in the listview and I am displaying one question per page. The choices are radio buttons with autopostback…
Ashwin
  • 90
  • 2
  • 10
0
votes
3 answers

DataPager does not load new pages for ListView

I have a DataPager control that I am using with my ListView and when the page loads the pager shows the first, next, last, preivous, and 10 pages but when I click any of the buttons or the hyperlinks for a page nothing happens, no matter how many…
user1365911
0
votes
2 answers

ASP.NET DataPager Next/Previous buttons client onlick event

How can I add client (javascript) onclick event to Next/Previous links in DataPager?
KwiZ
  • 1,364
  • 2
  • 15
  • 25
0
votes
1 answer

Determine current page without using the DataPager's QueryString (ListView ASP.NET)

I have a Tab Control that contains a ListView, there are three Tabs, each tab contains the same ListView but the Data Source is changed whenever the tab chagnes. Lets say there are 3 Tabs: Tab1: Customers Tab2: Items Tab3: Orders The problem comes…
Eric Bergman
  • 1,453
  • 11
  • 46
  • 84
0
votes
1 answer

ListView DataPager is not paging

The ListView is displaying properly and the DataPager is displaying the buttons at the bottom, but when I click the NEXT button, the DataPager is not going to the next page of data. ASPX page:
Susan
  • 1,822
  • 8
  • 47
  • 69
0
votes
1 answer

Supress total page count query (Silverlight DataPager)

I am using a Silverlight DataGrid with a DomainDataSource and a DataPager and EF 4 When using MSSQL server profiler, I noticed 2 queries which we taking the bulk of the data retrieval time. One query gets the data for the given load size, and…
0
votes
1 answer

GridView loses data on postbacks when using DataPager

I have a CustomGridView (extending GridView) and a DataPager and all works fine in .net 3.5 but not in .net 4. The problem is that when a postback occurs on pages other than the first the viewstate is lost for the grid. It's a large project and to…
0
votes
1 answer

how i can change position first and last button in DataPager Control

how i can change the position of elements in my DataPager Control how i can get this order << < 1 2 3 4 5 ... > >> and this is my code
Tarek Saied
  • 6,482
  • 20
  • 67
  • 111
0
votes
0 answers

how to style DataPager Control

i have ListView control and DataPager control how i can styling DataPager Control like this html and how i add tags like , , etc
Tarek Saied
  • 6,482
  • 20
  • 67
  • 111
1 2 3
12
13