Questions tagged [custompaging]
68 questions
7
votes
1 answer
UIScrollView does not always animate deceleration when overriding scrollViewWillEndDragging
Here is my override code - it just calculates where to snap to:
- (void)scrollViewWillEndDragging:(UIScrollView *)scrollView withVelocity:(CGPoint)velocity targetContentOffset:(inout CGPoint *)targetContentOffset {
if(targetContentOffset->y <…

3rdFunkyBot
- 396
- 3
- 8
6
votes
2 answers
PagedDatasource for gridview paging
I am using PagedDataSource for gridview's custom paging. Here is the code:
PagedDataSource dataSource = new PagedDataSource();
int virtualRowCount = Convert.ToInt32(dataset.Tables[1].Rows[0]["TotalRows"]);
dataSource.AllowCustomPaging =…

Jaggu
- 6,298
- 16
- 58
- 96
4
votes
1 answer
custom paging on gridview control
below code works fine if i remove the PagerSetting or remove PagerTemplate so if i have both (PagerSetting & PagerTemplate) then my page number is not display.
my qeustion is: how can i display both (PagerTemplate and PagerSetting) togather at the…

Nick Kahn
- 19,652
- 91
- 275
- 406
4
votes
2 answers
Paging in scrollview with different page size
I need to provide paging in scrollview with different page size, each page will be of different size, whenever I scroll down or up it should show next page in the screen, and if the page size can not fit in single screen then it should allow further…

Dhaval H. Nena
- 3,992
- 1
- 37
- 50
4
votes
2 answers
UICollectionView does not always animate deceleration when overriding scrollViewWillEndDragging
I am creating custom paging for my UICollectionView. I want some of the cells at the bottom to hang off of the edge of the screen, however, with regular paging, scrolling to the next page means that if half of the cell at the bottom of the page was…

3rdFunkyBot
- 396
- 3
- 8
3
votes
2 answers
TextBox keydown event at server side in asp.net
i have a textbox on a page, now whenever any age number is entered in that page, that page should be loaded in my datalist, i have created rest of the thing, but i am not getting how to trigger the textbox onkeydown event from asp.net, i know…

Abbas
- 4,948
- 31
- 95
- 161
3
votes
1 answer
ObjectDataSource paging and extra parameters
I'm using an ObjectDataSource to sort/page/filter as below:

adamwtiko
- 2,865
- 8
- 39
- 47
3
votes
1 answer
ASP.NET DataGrid and custom paging
I'm trying to implement a DataGrid in ASP.NET, and want to achieve custom paging so that I don't have to provide all the data in one go. I've spent several hours researching on the internet, but haven't found anything useful.
When I view the page I…

Saqib
- 7,242
- 7
- 41
- 55
3
votes
3 answers
Access Control inside GridView Pager Template - ASP.NET
I am trying to access a LinkButton that is inside a PagerTemplate in a GridView.
However, I am getting a NullReferenceException and I don't know what I am doing wrong here.
I have tried the…

NullReference
- 83
- 1
- 2
- 4
2
votes
2 answers
Paging and sorting based on custom .NET properties with Linq to SQL
This is a followup to this question about custom paging in ASP.NET.
Say I have a table defined:
CREATE TABLE Person
(
ID int identity(1,1) not null primary key,
FirstName varchar(50),
LastName varchar(50)
)
And I have it mapped to a class via…

Tom Hamming
- 10,577
- 11
- 71
- 145
2
votes
3 answers
ASP.NET Gridview Paging Problem
I have a gridview that is databound in the code-behind using a stored procedure. I am handling the Paging event in the code as well, but whenever I click on a page number, I keep getting the empty data template instead of more rows. Any…

Brian
- 1,876
- 5
- 24
- 37
2
votes
1 answer
Best stored procedure for paging in SQL server version 2008 in a large data?
I have ASP.NET website which performance is very important. This website works but with low performance. I have to increase performance of this project.
First I see paging in the grids in the report of this project. I have to say database of this…

sara Sodagari
- 423
- 1
- 9
- 23
2
votes
0 answers
How do you combine First, Previous, Numeric, Next and Last in Gridview (ASP.net)?
We know that the pagerSetting Mode of the gridview has NextPrevious, NextPreviousFirstLast, Numeric and NumericFirstLast. But how can I have it like this:
<< Previous < First 0 1 2 3 4 5 6 7 8 9 10 Next > Last >>

Mackoy
- 21
- 6
2
votes
1 answer
how to let the DataPager know the number of total records in the DataSource in custom paging?
The default paging mechanism needs to have the entire contents of the query that's to be paged through each time the ListView is rendered so that it can correctly determine how many pages the data can be broken up into.
Essentially, it needs to…

Sunny
- 297
- 1
- 4
- 14
2
votes
2 answers
devexpress aspxgridview - custom text for paging
Is there a way to customize the top and bottom paging display? Like I want to display the
Top as "Now displaying 1 - 10 of 1000 records for ".
Bottom page as normal grid style like [1][2]...

Sunny
- 297
- 1
- 4
- 14