Hi,
How do I reset the scroll position of the page when a call back has returned?
Cheers, WT.
http://aspnet.4guysfromrolla.com/articles/111704-1.aspx
assign using client side script
document.body.scrollLeft = 0;
document.body.scrollTop = 0
Hi,
How do I reset the scroll position of the page when a call back has returned?
Cheers, WT.
http://aspnet.4guysfromrolla.com/articles/111704-1.aspx
assign using client side script
document.body.scrollLeft = 0;
document.body.scrollTop = 0
I'm sure someone has seen this one before:
I have a grid inside an UpdatePanel displaying data that requires users to scroll to see the last couple of rows
When a user selects a row in the grid, and AJAX post fires and displays data at the top of the page, but the scroll position is maintained and the user is required to scroll up to to the top of the page manually.
I need to reset the scroll position to 0,0 when a record is selected in my grid. If anyone can shed some light on this one I would greatly appreciate it.
Thanks
PS
Please see my post here:
http://forums.asp.net/t/1196152.aspx
Thank you - perfect solution, and so little code. I knew it wouldn't take much.
I have a Panel with scrollbars set to auto, a TreeView control with enough nodes to trigger the scroll bars,
and a Resizable Control Extender attached to the Panel.
The Resizable Control Extender will work perfectly as long as you don't scroll the Tree.
If you scroll the Tree the Handle will move vertically by the amount of the Tree scroll.
If you scroll too far the handle will disapear from the screen leaving you without a way to resize the Panel.
Does anyone know of a way to keep the handle in it's original postion?
Thanks,
Larry
Can you post your code?? Even I am stuck on a similar issue...may be we might be able to help each other.
Karamchand
running atlas,ajax