Click here to Skip to main content
16,016,527 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a grid view with page index. I am editing a row in 3rd page.
After updating the page is again going to first page. When clicked on update i want to move to 3rd page itself.
How can i do that ?
Posted
Comments
hardik0207 29-Mar-14 9:46am    
You can use Ajax Update panel for maintaining GridView State.
OR you have second option to store current page number at edit time.and after edit set Gridview with stored variable
Krunal Rohit 29-Mar-14 14:24pm    
Elaborate.

-KR

1 solution

try this and understand about various events in gridview................


http://aspsnippets.com/Articles/Simple-Insert-Select-Edit-Update-and-Delete-in-ASPNet-GridView-control.aspx#[^]
 
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