Click here to Skip to main content
15,887,027 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have created server side ( webpart) for gridview , I need to apply pagination for single gridview;so that my values remain as such.

What I have tried:

<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" AllowSorting = "true"
 DataSourceID="SqlDataSource1" EnableSortingAndPagingCallbacks = "true"
and some other code allowing paging and incrementing index
Posted
Updated 3-Dec-17 20:49pm

1 solution

There are many good articles on this. You would have been resolved it yourself looking to any of such an article.

Please check following articles-
Paging in ASP.Net GridView Example[^]
GridView Paging Sample in ASP.NET[^]

If you still find difficulties in implementing this, please let me know.

Thanks,
Suvendu
 
Share this answer
 
v2
Comments
[no name] 4-Dec-17 8:47am    
Soory, these codes also does not meet the requirement.I have used jquery tabs in which i have put gridview , one of the gridviews i need to implement pagination without page getting reloaded such that checked checkboxes are not affected.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900