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
140
TextBoxEditor Click causes browser to scroll to the top of the page?
posted

Hi,

I'm using the WebDatagrid with a texboxprovider that I'm creating in the code behind as follows:

 Dim ieProvider As TextBoxProvider = New TextBoxProvider
ieProvider.EditorControl.TextMode = TextBoxMode.MultiLine
ieProvider.EditorControl.CssClass = "igg_EditTextArea"
ieProvider.ID = "iep_Text"
strProviderID = ieProvider.ID
Me.iggv.EditorProviders.Add(ieProvider)

The class is this:

.igg_EditTextArea
{
background: #DDDDDD !important;
border: solid 1px #777777 !important;
height: 200px !important;
width: 410px !important;
}

When I double click the element the multiline textbox shows up and looks fine, so long as the textbox is in the portion of the browser at the top so that I have not needed to scroll down.  If I double click on an element in a row that I needed to scroll down to then the browser snaps to the top of the page and when I scroll down the textbox is not exposed.   How can I fix this please?

Thanks!
Mark

Parents
No Data
Reply Children
No Data