I have a webdropdown that has the selected value of < ALL Agents >. After postback the value is converted to %3C%20ALL%20Agents%20%3E. This issue cropped up after upgrading from 14.2 to 15.1. Any help is appreciated.
Thank you,
All my WebDropDown are outside of grids : only inside a WebGroupBox. I was able to determine a valid "Replace All" option and updated 397 dropdowns ... yeah a dropdown buffet! The application is now working as expected. I still might wait for my 2015 license to be purchased and skip the SR, but at least I have an option to deploy it now. A bit of a pain, but a feasible workaround for my application.
This workaround is not working for WebDropDowns in WebDatagrid template columns! Please fix ist asap in V14.2
So the last 2 SRs introduced a bug in WebDropDown...no comment.
Sure I can work around that...update ~70 ASPX files to set a current value attribute on >200 WebDropDowns.
I'll get right on that one...or wait until my company finally acquires the 2015 licenses and leapfrog the buggy SRs!
Hello,
Thank you for noticing this!
It is indeed introduced in the latest 2590 SR. After further investigating the issue, it could be reproduced only when having an empty WebDropDown on the page and it is more like an edge case. As a workaround I could suggest you to make sure having a set value at all times if applicable. It could contain empty string as a value. For example:
<ig:WebDropDown ID="WebDropDown2" runat="server" Width="200px" CurrentValue=""></ig:WebDropDown>
After applying 2590, every dropdown in my application now throws an ASP.NET exception during selection changed prior to the postback hitting the server.
Exception information:
Exception type: ArgumentNullException
Exception message: Value cannot be null.
Parameter name: stringToUnescape
at System.Uri.UnescapeDataString(String stringToUnescape)
at Infragistics.Web.UI.ListControls.WebDropDown.LoadControlState(Object savedState)
at System.Web.UI.Control.LoadControlStateInternal(Object savedStateObj)
at System.Web.UI.Page.LoadAllState()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Attached is an sample project showing the issue if more than 1 dropdown is on the page. If only 1 dropdown exists there is no issue.