Click here to Skip to main content
15,892,697 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have added linke on a text in one of my aspx page. like <a href="/KB/answers/check.aspx"?no=50#MA-399">Validate</a>

On clicking that link i am opening one page in which i have given a particular id to a particular div tag. like - <div id="MA-399">Welcome</div>. I am getting value of "no" variable in Request.QueryString["no"] but i am not getting value of #MA-399 anywhere in server side code. 

Can you please help me how to get that value.
Posted
Updated 26-Feb-14 0:22am
v2
Comments
Sergey Alexandrovich Kryukov 26-Feb-14 2:57am    
Not clear at all. How the body of the question is related to scroll, as per its title?
—SA
manvendra patel 26-Feb-14 2:59am    
Are you getting any error? or no getting the result as expected? Post the source code
dharmegh 26-Feb-14 7:21am    
I am not getting any error .... page is scrolling successfully to a particular div tag .... even if it is 3-4 pages below.

I just want the value ( MA-399) which i am passing in URL while clicking on the validate link

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