what would be the syntax of that #Bottom and would I put that in the page load event?
Main Topics
Browse All TopicsEvery time I do a postback my page goes back to the top of the page. My users have to keep scrolling down. I have turned on Smart Navagation on my page but that has no effect. Not sure why either. My form pulls in alot of user controls. On each post back it adds another user control to the bottom of the web form. Thats the control I would want to have focus for lack of a better name.
Anyone got a suggestion on either how to set focus to a paticular User Control or how to make the page go to the bottom when it loads?
Thanks for your time!!!
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
no, just put after the adress on the link like http://www.nowhere.com/pag
nooo, don't use anchors! You get the double-click effect when the page loads. Use Javascript and the ScrollIntoView() function.
http://msdn.microsoft.com/
add two hidden fields to the page, call then scrollx and scrolly. Then add the following javascript code:
var IE = document.all?true:false;
if (!IE) document.captureEvents(Eve
document.onmousemove = getMouseXY;
var tempX = 0;
var tempY = 0;
function getMouseXY(e) {
if (IE) { // grab the x-y pos.s if browser is IE
tempX = event.clientX + document.body.scrollLeft;
tempY = event.clientY + document.body.scrollTop;
}
else { // grab the x-y pos.s if browser is NS
tempX = e.pageX;
tempY = e.pageY;
}
if (tempX < 0){tempX = 0;}
if (tempY < 0){tempY = 0;}
document.Form1.scrollx.val
document.Form1.scrolly.val
return true;
}
function scrollToCoordinates() {
//alert(document.Form1.scr
//alert(document.Form1.scr
window.scrollTo(document.F
}
Then call scrollToCoordinates from body onLoad:
<body onload="javascript:scrollT
Business Accounts
Answer for Membership
by: onuraPosted on 2004-10-27 at 06:59:19ID: 12422261
Hi,
Put an anchor to the bottom of your page,
<a name="bottom">
and call your page with #bottom at the end.
During the postbacks it should go to bottom anchor.
This might work.