K
kenoyer130
Using .Net I have created a user control that is an embedded dropdown
list that filters based on data. Since with .Net this is all translated
to client side code, the fact I am using .Net should not matter.
There is javascript functions that set the dropdown to hidden or
displayed if the user clicks in the text box above the Select
(dropdown) tag. Everything works fine until the user scrolls the IE
Window. Then when they click in the text box, the location of the
dropdown appears somewhat randomly above or below the textbox instead
of where it should be, as it did before the scroll.
Here is the HTML tag
<select name="parcelView:_ctl0:Zip:lstValues" size="4"
id="parcelView__ctl0_Zip_lstValues" onkeydown="valueChange(event);"
onChange="setValue(event);"
style="Margin-left:-165px;margin-top:21px;Display:none;z-order:5;position:absolute;">
I tried removing the negative margin left since those can be
problematic, but still had the same issue.
Any ideas? Do I need to reset the select location with the onscroll
event somehow?
list that filters based on data. Since with .Net this is all translated
to client side code, the fact I am using .Net should not matter.
There is javascript functions that set the dropdown to hidden or
displayed if the user clicks in the text box above the Select
(dropdown) tag. Everything works fine until the user scrolls the IE
Window. Then when they click in the text box, the location of the
dropdown appears somewhat randomly above or below the textbox instead
of where it should be, as it did before the scroll.
Here is the HTML tag
<select name="parcelView:_ctl0:Zip:lstValues" size="4"
id="parcelView__ctl0_Zip_lstValues" onkeydown="valueChange(event);"
onChange="setValue(event);"
style="Margin-left:-165px;margin-top:21px;Display:none;z-order:5;position:absolute;">
I tried removing the negative margin left since those can be
problematic, but still had the same issue.
Any ideas? Do I need to reset the select location with the onscroll
event somehow?