Click here to Skip to main content
15,890,527 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all
I have asp page in c# code
I use gridview and allow paging on it
My gv location in down of page
So how can i stay on location of gv while i go on
Pages ''!!!!!
Please help me in any idea

Thanks
Posted
Comments
syed shanu 25-Dec-14 19:45pm    
Your question is not clear .Can you explain wht you want exactly.
it seems you need something like adding ancor Tag Name for example your page is very lenthy and having vertical scroll on page.
now you need to click some link and go to the Gridview position at the bottom of the page .if You are looking something like this then you can do like addint this in your top of page
"Go To My GV"
"a href=#gv"


and in bottom og page before your gv add this code.

"MY GV"

a name="gv
[no name] 26-Dec-14 5:55am    
that what i was looking for
just adding this code in my webconfig
<system.web>
<pages maintainScrollPositionOnPostBack="true" >
</pages>

1 solution

 
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