A
Alan Ho
Cheers~
Martin Carolan said:Hello Peter,
try this:
<script language="javascript">
function doscroll(){
x=document.body.scrollHeight;
x=x+99999
window.scrollTo(0,x);
}
</script>
then in your button's tag add onclick="doscroll()"
Peter Rilling said:You could try using the window.scrollTo() method in JavaScript.
Martin Carolan said:Hello Alan,
in your code just add
button1.Attributes.Add("onclick", "doscroll()");
That should work.
Martin Carolan said:Hello Alan,
Can you send me the html from the view source? (i.e. in your browser after
it's been processed on the server)
Martin.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.