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
  • 45049
    posted

    Though I'm not absolutely certain, this doesn't look to be correct behavior at first glance.  I don't know why the page would scroll down to show the first line of text within the WebHtmlEditor.  There may be workarounds, but it'll take further research to determine what they may be.

    Please remember that these forums area a peer-to-peer resource to share issues and ideas with other Infragistics users.  If you require official support from Infragistics, please submit a support request to Infragistics Developer Support from this page of our website.

Reply Children