I have a WebDropDown where i have enabled Paging and server side filtering if the records are more than 2000. In this case, when i copy paste a value to filter, it always comes up with the first value in the first page. I need to press space or type any character to make the filter work and bring up my match.
Please see code from my page where we make it a serverside filter or clientside filter based on condition on runtime.
If dtTable.Rows.Count > 2000 Then xdd.EnablePaging = True xdd.EnableAutoFiltering = Infragistics.Web.UI.ListControls.AutoFiltering.Server xdd.PagerSettings.PagerMode = Infragistics.Web.UI.ListControls.PagerMode.NextPreviousFirstLast xdd.PageSize = 2000 xdd.ClientEvents.Blur = ""Else xdd.EnablePaging = False xdd.EnableAutoFiltering = Infragistics.Web.UI.ListControls.AutoFiltering.Client xdd.ClientEvents.Blur = "WebDropDown_Blur" End If
Appreciate your early help with this issue.
Thank you for contacting the Infragistics support!
Can you please share me a sample that demonstrates your scenario or at least provide me the whole code that initializes the WebDropDown control as I think you use some additional settings for your usecase. Is that correct? A sample will be of great help in order to investigate this issue further.
Thank you in advance!
Best regards,Alexander MarinovInfragistics
As requested attaching herewith a sample project which demonstrates the issue.
1. Run the application
2. Copy paste "bob" in the webdropdown, instead of fetching "Uncle Bob's Organic Dried Pears", it fetches Chai which is wrong.
3. Figured out that the issue is caused because i am setting xddlCSelections.SelectedItemIndex = 0, but without this line, my application breaks in many places.
Waiting for your support in this regard.
Note: Was not able to attach file, so i removed "Infragistics45.Web.v16.1.dll" from ExternalReferences/Infragistics folder. Please add it and test the solution.
Thanks & Regards
Thank you for the provided sample!
I believe I was able to reproduce your issue in a simplified example. I need some time to investigate this behavior further and I will update you as soon as possible!
Thank you once more,Alexander
After an investigation on my part, I have asked our engineering staff to examine this further. To ensure that it will receive attention, I have logged this behavior in our internal tracking system as development issue 253683.
The next step will be for a developer to review the investigation and confirm my findings, and offer a fix or other resolution. I will leave this case open and update you with any new information after the review.
Please let me know if you need more information.
Thanks for your help Alex and Boris.
Once the issue is resolved, could you also update this post, so that I will come to know.