Hi, I need the following from the webdropdown. Seems like a common requirement from a dropdownlist but I'm having some trouble getting this right, any idea?
it appears if you allowcustomevalues set to true then you can't have ie. "Please select" show initially.
Were these items ever fixed? I still see the same bugs in 10.3.
Almost there. Thanks, I got the currentValue working. but I'm still having trouble with this comination of settings....
enableautocompleteFirstMatch=TrueEnableCustomValues="false"EnableCustomValueSelection="true"
This works as desired, except for 2 things
This is my webdropdown control at the moment. <ig:WebDropDown ID="ddlroopass" runat="server" Width="200px" CurrentValue="Select if applicable" AutoPostBack="true" EnableCustomValueSelection="true" EnableCustomValues="false" DisplayMode="DropDown" EnableAutoCompleteFirstMatch="true" TabIndex="1"> </ig:WebDropDown>
Assuming you are referring to the EnableCustomValues property (there is no AllowCustomValues), yes, it works fine - you only need to set the CurrentValue to "Please Select..." , for your case.
You can either set CurrentValue property in the markup or code behind, it should have the same effect, no matter whether EnableCustomValues=Frue (default) or False.
There is another property called EnableCustomValueSelection (that's probably what you are looking for). The difference is that EnableCustomValues , when set to False, will not allow custom text to be entered in real time, as soon as someone presses a key , and the new text is not present in any of the item's text - nothing will appear when that key is pressed.
When EnableCustomValueSelection=false, custom text will be allowed, but it will just be not possible to select these custom items via mouse or keyboard.
TAB doesn't go through items, KEY UP and KEY DOWN change the currently selected item in the drop down items list. When you press TAB, it will move focus on the next control / DOM element on the page.
Hope it helps. Please let me know if you have any other questions.
Thanks,
Angel