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?
ThanksShawn
My walkaround:
At the page load, set the focus to a control whice is on the top of the page: topControl.Focus
At the click event which cause the postback, set causePostbackControl.Focus
I have the same problem, is there any workaround for this?
Thanks!
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.