Page does not maintain scroll position if page has Cute Editor!!
I have seen this issue raised here before but never saw a solution. Is there one ?
I use this:
String
_goScroll = "<script language='javascript'>document.getElementById('" +
btn_submit.ClientID +
"').scrollIntoView();" + "</script>";
if (!Page.IsStartupScriptRegistered("goScroll"))
Page.RegisterStartupScript(
"goScroll", _goScroll);
The page will always scroll to the top if Editor is in page, and will work fine otherwize.
I saw some sugestion to use a timeout. Did not work for me ...
Thanks
Amir