I can't figure out how to get the WebDropdown to autopostback ONLY when I have actually selected an item.
Using your own example shows the problem that I'm having. Please go to this page:
http://samples.infragistics.com/2009.1/WebFeatureBrowser/contents.aspx?showCode=True&t=WebDropDown/WebDropDownServerEvents.aspx~srcview.aspx?path=~srcview.aspx?path=WebDropDown/WebDropDownServerEvents.src
Now, click in the webDropDown, delete the text, and type just a 'B'. An autopostback happens, and says that I have selected "Berglunds snabbköp". Which is not the case - the webdropdown only has a 'B' in it.
I don't want a postback to happen until I either hit <enter> or click on a item. To further clarify my need, lets say that you actually wanted to select the second "B" item, which is "Blauer See Delikatessen". I want to be able to type "Bl" and not have a postback happen after the "B".
In my case, I'm setting EnableAutoFiltering="Client", which will filter the results. So, I want to be able to type a "B", and the result is filtered, BUT no postback happens yet, because I haven't selected anything yet. Then I type"L" (which filters, so "Blauer See Delikatessen", is now the first item - the item that I really want, so I now hit <enter>. This is when I want the autopostback to happen - because only now have I actually selected something. Up until now, I've only been typing.
Thanks,Jim
This issue is driving me absolutely bananas.
I have added all of the properties recommended by Infragistics team members. The problem persists.
Here is my tag:
<ig:WebDropDown ID="wddRouteBookID" runat="server" Width="240px" StyleSetName="Harvest" DropDownContainerHeight="300px" DropDownContainerWidth="400px" EnableAutoFiltering="Client" AutoFilterQueryType="Contains" AutoSelectOnMatch="False" EnableMarkingMatchedText="True" EnableCustomValueSelection="false" EnableCustomValues="false" EnableClosingDropDownOnSelect="false" EnableAutoCompleteFirstMatch="false" KeepFocusOnSelection="false"> <AutoPostBackFlags ValueChanged="Off" SelectionChanged="On" /> <ClientEvents Focus="wddRouteBookID_Focus" /> </ig:WebDropDown>
Hi all,
Try also setting the following properties:
EnableCustomValueSelection="false"
EnableCustomValues="false"
Once you do so the control shouldn't postback anymore. I hope this helps!
I am having this exact issue.. Is there a resolution available yet?
Hi,
I'm having the same problem. Is there any solution to this?
Please, this is very important component and this behavior is also very important.
Some help will be highly appreciated.
Thanks
i hav the same issue. I want to postback only when the correct data is entered or when data is selected from the dropdown. i tried the changes listed in this post. but the issue is not solved. any new solution will be helpful.
Thanks,
Saba,