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
565
WebDropDown CurrentValue not set
posted

I have a simple WebDropDown control that I use to select a direction. If I type in a direction and wait half a section, the current value is getting set so I can see it in the CurrentValue property on postback. The problem is that if I'm tabbing through fields and type a direction and hit tab quick enough, I see the text I typed in there but the CurrentValue property on postback is an empty string. How can I get the value that's been typed into the dropdown? Here's my dropdown of directions.

 

 

 

 

 

 

 

 

 

 

 

 

<

 

 

ig:WebDropDown ID="cboAnimalStreetDir" runat="server" Width="60">

<Items>

 

 

 

<ig:DropDownItem Text="" Value="" />

 

 

 

<ig:DropDownItem Text="N" Value="N" />

 

 

 

<ig:DropDownItem Text="S" Value="S" />

 

 

 

<ig:DropDownItem Text="E" Value="E" />

 

 

 

<ig:DropDownItem Text="W" Value="W" />

 

 

 

<ig:DropDownItem Text="N" Value="NE" />

 

 

 

<ig:DropDownItem Text="N" Value="NW" />

 

 

 

<ig:DropDownItem Text="S" Value="SE" />

 

 

 

<ig:DropDownItem Text="S" Value="SW" />

 

 

 

</Items>

 

 

 

</ig:WebDropDown>