G
Guest
hey all,
how can i get javascript procedure to execute as the very last thing before
the page is rendered?
Background: I have a DIV element inside an update panel. I am setting the
scrollLeft attribute of the DIV via javascript to move its contents left and
right, fine so far. The problem i'm having is when i postback to the server
via LinkButton that's inside the update panel the DIV scrollLeft attribute is
set back to 0.
Well I've saved the scrollLeft property in a textbox i just can't execute
the javascript late enough to assign the previous scrollLeft value. I know
this because as a test i have a test button on the screen that when clicked,
sets the scrollLeft to previous value and it works.
thanks,
rodchar
how can i get javascript procedure to execute as the very last thing before
the page is rendered?
Background: I have a DIV element inside an update panel. I am setting the
scrollLeft attribute of the DIV via javascript to move its contents left and
right, fine so far. The problem i'm having is when i postback to the server
via LinkButton that's inside the update panel the DIV scrollLeft attribute is
set back to 0.
Well I've saved the scrollLeft property in a textbox i just can't execute
the javascript late enough to assign the previous scrollLeft value. I know
this because as a test i have a test button on the screen that when clicked,
sets the scrollLeft to previous value and it works.
thanks,
rodchar