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
Hello Jim,
Let me know if you need further assistance.
It still doesn't work correctly. Here's my code: <form id="form1" runat="server"> <div> <asp:ScriptManager ID="ScriptManager1" runat="server"> </asp:ScriptManager> <ig:WebDropDown ID="WebDropDown1" runat="server" Width="200px" TextField="Prod_Code" ValueField="Prod_ID" AutoSelectOnMatch="false" EnableAutoFiltering="Client" OnSelectionChanged="WebDropDown1_SelectionChanged" DataSourceID="SqlDataSource1"> <AutoPostBackFlags SelectionChanged="On" ValueChanged="Off" /> </ig:WebDropDown> <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:TravelerMakerGUIConnectionStringXXXX %>" SelectCommand="SELECT [Prod_Code], [Prod_ID] FROM [ProductCodes]"> </asp:SqlDataSource> </div> </form>The desired behavior is: A postback should only happen when:1) an item is selected with the mouse (this works)2) Only when the <enter> key is hit (not working) - postpacks also happen at other times.If the list is a bunch of part numbers like:abc-123abc-124abc-125def-123def-124Now, using my code and part numbers from above, select abc-124 with the mouse. a postback happens - this is correct.Now, pretend that you made a mistake, and you really wanted one of the def-123 parts. So, rather than use the mouse, you highlight the abc-123 item, and start typing 'D'..... A postback happens. I did not select a full partnumber, I just typed a 'D', and a postback happened. This postback should not happen, I did not select a part number. A postback should only happen if an item is selected with the mouse, or if I hit the <enter> key. 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>
Went back and re-read every post in this thread in detail to make sure I wasn't missing something. Can't find what I am doing wrong.
I am using 10.3. I have a current subscription... just haven't upgraded to 11.1 yet.
Same problem in v11.1...
I also asked this today on the forum http://news.infragistics.com/forums/p/58226/296400.aspx
still nobody with a solution?? Infragistics?? looks me like a real bug...
Hello All,
Thank you for your valuable input on this matter. I would like to share with you that I’m able to reproduce this behavior and it doesn’t seem to be correct. I am bringing it up to our UX and Development teams for further investigation.
I will keep you informed.
Thank you very much! Think we might see a solution in the next SR?
We've been using 11.1 which has this issue. I waited until Mid-November for ver 11.2. Downloaded the trial and setup a quick test site. Exact same problem still exists. My client was going to renew their subscription if it was fixed and get 11.2. Now they aren't going to.What a disappointment.
Unless a team member can tell me otherwise. Maybe there's a new property in 11.2 that I need to set to suppress the postbacks on every typed key?
Hey Guys,
The next SR is scheduled around the middle of September :
http://es.infragistics.com/support/service-releases.aspx#ServiceReleases
Hello, I'm Using Infragistics Latest Version, I have the same issue With Web DropDown on Value Changed with IE 8 ,
Kindly Let me what is Causing the issue
Perhaps you can release a HotFix before the next Service-Release is released...
Thank you very much Konstantin! Sitting on pins and needles waiting for the next SR. Is there an ETA?