ASPnetNovice
Programmer
Hello,
I need to know how to link to a given section of the page using asp .net
I have a page with a button , every time the button is click a new block of controls is added to the page.
As a result the lengh of the page increases and every time time a postback occur the page is display from the top and I need to scroll down to see my latest added block. (maintain scroll position)
That is uncorftable for a user .
I use SmartNavigation="true" on the page directive and it partially solve the problem
what I really want to do is scroll to the bottom of the page every time that the page is loaded.
I am using this but it doesn't work
<a name=bottom></a>
and access that with
sub pageLoad(.....)
response.Redirect("myurl#bottom")
end sub
will appreciate any help
thanks.
I need to know how to link to a given section of the page using asp .net
I have a page with a button , every time the button is click a new block of controls is added to the page.
As a result the lengh of the page increases and every time time a postback occur the page is display from the top and I need to scroll down to see my latest added block. (maintain scroll position)
That is uncorftable for a user .
I use SmartNavigation="true" on the page directive and it partially solve the problem
what I really want to do is scroll to the bottom of the page every time that the page is loaded.
I am using this but it doesn't work
<a name=bottom></a>
and access that with
sub pageLoad(.....)
response.Redirect("myurl#bottom")
end sub
will appreciate any help
thanks.