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
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.
I'm sorry but that doesn't solve the issue. We can now type in a value to the dropdown, but the postback never fires. Tabbing off of the dropdown nor hitting the Enter key causes a postback.
Our Dropdown:
<ig:WebDropDown ID="cboCustomer" runat="server" Width="190px" CSSclass="ig_Control igdd_Control TE_left" TabIndex="2" AutoSelectOnMatch="false" > <AutoPostBackFlags SelectionChanged="On" ValueChanged="Off" /> </ig:WebDropDown>
Our SelectionChanged Event:
Private Sub cboCustomer_SelectionChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cboCustomer.SelectionChanged
'Cascade other dropdowns here
End Sub
I am discussing this issue with our developer to gain a better understanding of how to achieve this behavior.
I will have another update for you by the end of Tuesday.
I am continuing to discuss this matter with our developer.
I will update you again by Friday.
I am currently awaiting to hear back from our developer.
I will update you by Wednesday or when I hear back from them.
If you have any further questions or concerns with this issue, please let me know.
Hello TwinEngines,
I have created a support case for you with an ID of CAS-122086-G1P1F9. The matter has been determined to be a development issue and has been logged in our tracking system with ID: 152535.
I will leave this case open and update you with any new information. You can view the status of the development issue connected to this case by going to the “Account” tab on our website, selecting "My Support Activity" and then this support case will be listed there. Then, you may select the "Development Issues" tab to view details of this development issue.
Please let me know if you have any questions.
Is there any news on this matter?
I'm using v13.2 of the webdropdown and i still have the same issue.
thanks in advance.
I came a bit further.
The only remaining issue is that the TAB-key doesn't trigger the SelectionChanged-event. Click and Enter work fine.
This is my html:
<ig:webdropdown ID="LinkedCombobox" runat="server" Width="80%" EnableCustomValueSelection="false" AutoSelectOnMatch="false" NullText = "-- Kies een waarde --" DisplayMode="DropDown" EnableCustomValues="false" EnableAutoCompleteFirstMatch = "true" DropDownContainerWidth="300px" DropDownAnimationDuration="0">
<DropDownItemBinding />
<ClientEvents SelectionChanged="LinkedCombobox_SelectionChanged" />
<AutoPostBackFlags SelectionChanged="On" ValueChanged="Off" />
</ig:webdropdown>