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 continuing to look into this issue further and I will need a little more time to research this.
I will have another update for you by Friday.
I see from your comment in your cboCustomer_SelectionChanged() method, that you are planning on cascading your WebDropDowns. If you need to cascade a WebDropDown off of the selection of this WebDropDown, I recommend handling the client side SelectionChanged event and calling loadItems() on the cascading WebDropDown. The loadItems() function fires a postback and triggers the server-side ItemsRequested event to help bind data to the next WebDropDown.
Please see the following documentation and sample for more information on setting up cascading WebDropDowns.
http://help.infragistics.com/NetAdvantage/ASPNET/2013.1/CLR4.0/?page=WebDropDown_Cascading_WebDropDown_Controls.html http://ko.infragistics.com/products/aspnet/sample/drop-down/cascade
The issue with Tab and Enter not triggering the postbacks still exist using these methods and I am currently disussing this with my supervisor for further assistance on this.
I will have another update for you by Thursday.
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.
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>
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.
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.