Posted on: 11/15/2013 5:16:14 AM | Views : 834

I used gridview to display users information. I put Allowpaging="True". Each page shows 10 rows.  I used DetailedView link to each row for the displaying the all the information of the each user. It has 5 pages in the gridview. When I go to except 1st page ie. 2nd ,3rd,4th,5th pages and click to DetailedView link , then all the user information is displayed in the userprofile page by the user ID. When I come back to gridview from the userprofile page , automatic go to fist page of the grid. But I need to stay at same page which I click the DetailedView link. I used c#. I used this code.
 
 <asp:GridView ID="GridView1" runat="server" CssClass="GridViewStyle" AllowPaging="True"                                     AutoGe ...

Go to the complete details ...