Moving through the dropdown with the arrow keys always starts on the first element
New DiscussionHi,
I’ve noticed that if you have a dropdown with a pre-selected value, like this for example:
<ig:WebDropDown ID=”ddl1″
runat=”server”
DropDownContainerWidth=”230px”
DropDownContainerHeight=”0″
Width=”230″
DisplayMode=”DropDown”
EnableRenderingAnchors=”False”
KeepFocusOnSelection=”True”
EnableAutoCompleteFirstMatch=”True”
EnableDropDownAsChild=”True”
AutoSelectOnMatch=”True”
EnableAutoFiltering=”Client”
EnableCustomValues=”True”
OnSelectionChanged=”ddl1_SelectedIndexChanged”>
<AutoPostBackFlags SelectionChanged=”On” ValueChanged=”Off”></AutoPostBackFlags>
<Items>
<ig:DropDownItem Text=”text1″ Value=”text1″ />
<ig:DropDownItem Text=”text2″ Value=”text2″ Selected=”True”/>
<ig:DropDownItem Text=”text3″ Value=”text3″/>
</Items>
</ig:WebDropDown>
If you move through the items with the arrow keys you always start in the first element of the list no matter what is selected in the dropdown. For example, if the second value is selected and you press the down arrow key, I think it should move down to the third, but it goes to the first instead.
Is this the expected behaviour? Is there an easy way around it?