-
gridview paging and records filtering
am using custom pagination
using the following
Case "Prev"
If GridView1.PageIndex > 0 Then
GridView1.PageIndex = Int32.Parse(GridView1.PageCount) - 1
End If
Case "Next"
If GridView1.PageIndex < (GridView1.PageCount - 1) Then
GridView1.PageIndex = Int32.Parse(GridView1.PageCount) + 1
End If
for first and last its wrking properly
but in using this two pagination is not proper
if i click on next the last page gets dispalyed and if clicked on pevious nothing happens no change
second thing is
i get some filtered data for gridview
suppose the filtered data has 2 pages on gridview , so when i click next it shld dispaly 2nd page instead its reset to the whole dataset records
how do i correct the things
Similar Threads
-
By Mainship in forum ASP.NET
Replies: 3
Last Post: 07-19-2007, 08:45 AM
-
By Bharati in forum ASP.NET
Replies: 0
Last Post: 11-24-2005, 11:17 PM
-
Replies: 4
Last Post: 08-10-2005, 12:08 AM
-
Replies: 16
Last Post: 04-26-2002, 02:35 PM
-
By Robert Gelb in forum VB Classic
Replies: 0
Last Post: 05-09-2000, 02:34 PM
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks