Click here to Skip to main content
15,889,281 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am doing Custom paging

I have a Grid View and a repeator in a repeator i have a link button for the Footer Controls

<asp:LinkButton ID="LinkButton1" CommandArgument='<%#Eval("Value")%>' Text='<%#Eval("Text")%>'
runat="server" OnClick="Page_Changed" />

on page load it should show as 1 2 3 4 5 6 7 8 9 10 ....

On click on ... the next pages should get display

Can any one help?
Posted
Comments
saguptamca 3-Oct-13 10:03am    
do some google dude, and tell us how far u reached to solution

1 solution

Hi,
This can also be done by using GridView PageIndexChanging event then why you want to use link button for paging?
you can do this as :

{
GridView1.PageIndex=e.NewPageIndex;
//then your gridview binding code or methode
}
 
Share this answer
 

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