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
130
WebDropDown AutoPostBack Issue
posted

Greetings.  We're having an issue w/ the WebDropDown.  We currently have it set to autopostback and need it to be in DropDown mode such that the user can start typing the desired option.  As soon as the user types the first letter, the dropdown closes.  Is there any way around this?  We've tried almost every flag we can think of without luck.  No matter what flag is set, as soon as the control is set to autopostback, the dropdown will consistently close as soon as the first key is pressed.

Have tried the following:
EnableAutoCompleteFirstMatch=false, EnableCustomValues=false, EnableClosingDropdownOnSelect=false, setting AutoPostBackFlags SelectionChanged=on and ValueChanged=off, etc.  

Thanks,
TwinEngines 

Parents
No Data
Reply
  • 18204
    Offline posted

    Hi TwinEngines,

    Thank you for posting on our forums!

    The following code can be used to prevent an item from being selected when the input matches to it.  The AutoSelectOnMatch property prevents the SelectionChanged AutoPostbackFlag from triggering in this scenario.


    <ig:WebDropDown ID="WebDropDown1" runat="server" Width="200px" TextField="Name"
        AutoSelectOnMatch="false" ValueField="EmployeeID">
        <AutoPostBackFlags SelectionChanged="On" ValueChanged="Off" />
        <DropDownItemBinding TextField="Name" ValueField="EmployeeID" />
    </ig:WebDropDown>

    If you need further assistance with this, please let me know.

Children