Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
20
WebHTMLEditor and onload scrolling (focus)
posted

I have a WebHTMLEditor in a control on a page with 3 other controls on it. The one with the WebHTMLEditor is placed approx halfway down the page and thus is off screen at load time.

The problem I am having is.... whenever that page is visited, the WebHTMLEditor control is automatically scrolled into view (which means my page has been scrolled halfway down the page). Not a good user experience.

I was sure to set Focus="false"...I even tried Focus="True" just in case which did cause it to scroll FURTHER than when false. It does only happen when there is text loaded into the control (ie, editing something from the database: ProfileHTML.Text = m_ProfileMessage) and it is of interest to note that the page is scrolled only to the first line of text within the editor itself.

What am I missing?  

Thanks
Shawn

Parents Reply Children
No Data