In ajax drop down control, If we AutoCompleteMode="SuggestAppend", whatever the words typing, respective data will be loading. For example If user typing "Ch", words starting with "Ch" will be loading like Chennai, Chimbaram, China etc., User will not be allowing to edit but allowing to select from the listed ones.
In the same way, What is the property to set for Infragistics "Webdropdown" Control ?
Please guide me
I should have given more information. I have a dropdown that is bound to a DataSet with AutoPostBack enabled as I want the selection to trigger the next code-behind step. This is how the application is currently deployed.
<
ig:WebDropDown ID="WebDropDownGroup" runat="server" Width="300px" AutoPostBack="True" onselectionchanged="WebDropDownGroup_SelectionChanged" DisplayMode="DropDownList"></ig:WebDropDown>
The user community is asking for list item filtering because the list is long and they do not want to scroll. I don't care if the filtering occurs client or server side. I was able to get client filtering working if I disabled AutoPostBack. I removed OnPreRender as it didn't seem to be needed. The problem is when I enable AutoPostBack I get a postback on each character I type to filter the dropdown.
ig:WebDropDown ID="WebDropDownGroup" runat="server" Width="300px" AutoPostBack="False" onselectionchanged="WebDropDownGroup_SelectionChanged" EnableAutoCompleteFirstMatch="False" EnableAutoFiltering="Client" EnableViewState="True"></ig:WebDropDown>
Is it possible to perform a postback on item selection but not when typing to filter in the dropdown list items?
In the referenced example, the _PreRender CS code does not compile because the .CurrentValue is set to four double-quotes. What is the proper value to assign?
ddServerFiltering.CurrentValue = """";
Additionally, my list is not filtering as I type and I'm not able to determine why. The datasource is set via CS code and I'm using 20111.2135
<ig:WebDropDown ID="WebDropDownGroup" runat="server" Width="300px" AutoPostBack="True" onselectionchanged="WebDropDownGroup_SelectionChanged" EnableAutoFiltering="Server" EnableAutoCompleteFirstMatch="False" OnPreRender="ddServerFiltering_PreRender"></ig:WebDropDown>
Hi gemsoft1997,
Please do not hesitate to contact me if you need further assistance.
Thank you for posting in the community.
You can achieved the desired filteting functionality by setting the EnableAutoFiltering property to either server or client. A sample illustrating this setup is available at:
http://samples.infragistics.com/aspnet/Samples/WebDropDown/Organization/FilteringAutocomplete/Default.aspx?cn=drop-down&sid=c83b6738-b1cd-497c-820b-351e9227d83b
Additional information regarding autofiltering and autocomplete with WebDropDown can be found at:
http://help.infragistics.com/NetAdvantage/ASPNET/2011.2/CLR4.0/
In order to only allow users to select items from the available list, you can set the EnableCustomValues property to false.
Please let me know if this helps.