I recently wrote an enhancement to an that included creating a new user control. I initially added all of the new features in a new web application, before integrating it into the existing application. The new user control within this new application worked great and had a couple of WebDropDowns and WebDatePickers.
As soon as I moved the new code from the project into my existing application, however, it stopped working. Everything worked as expected except for the infragistics controls. They (the WebDropDown & WebDatePicker) would not persist their values, nor would they fire any (server-side) events. I eventually resorted to using the non-Ajax version of the controls (the WebCombo & WebDateChooser). The non-ajax controls worked great....they persisted their values and event-firing worked just as expected.
My resolution was to use the non-Ajax controls, however, I would like to know if anyone else has experienced this problem or knows how to resolve it. The code was exactly the same in both projects and the only difference was that the existing application was a website while the project one was a web application. I was using version 9.2.20092.2025 and had the same problem with .2183.
Hello Shyam,
For databinding using the WebDropDown can be found here: http://help.infragistics.com/NetAdvantage/ASPNET/2011.2/CLR4.0/?page=WebDropDown_Binding_to_Data.html. This would work when setting the DataSource or DataSourceID properties.
For an efficient response at this point you can submit a support request here: http://es.infragistics.com/support/submitrequest.aspx. Also it would be helpful to provide any attached files as a zip to understand more about the current issue in particular.
Let me know if you have any questions with this matter. Thank you.
Hi
I am facing the same issue issue on any event or on post back selected value in drop down is not visible it's state is lost binded data is not displayed.
For this I also set EnableViewState="true"
My dropdown is looks like as
<ig:WebDropDown ID="ddlEstimate" runat="server" Width="95%" DropDownAnimationType="EaseInOut" DropDownContainerWidth="500px" DropDownContainerMaxHeight="140px" EnableAutoCompleteFirstMatch="false" DisplayMode="DropDown" EnableAnimations="false" EnableClosingDropDownOnSelect="true" AutoFilterQueryType="Contains" AutoSelectOnMatch="False" EnableAutoFiltering="Client" EnableTheming="true" EnableClosingDropDownOnBlur="true" EnableCustomValueSelection="False" EnableCustomValues="false" TextField="Description" ValueField="Id" ToolTip="Select Estimate" OnSelectionChanged="ddlEstimate_SelectionChanged" EnableViewState="true"> <AutoPostBackFlags SelectionChanged="On" ValueChanged="off" /> <ClientEvents SelectionChanging="selectionchanging" /> <AjaxIndicator ImageUrl="../../images/indicator_bar.gif" Text="loading" /> <HeaderTemplate> <table cellspacing="0" cellpadding="0" border="0" style="width: 100%; height: 18px; font-size: 11pt; font-weight: bold; background-color: #acacac; color: #002a60; table-layout: fixed;"> <tr> <td style="width: 80px;" align="center"> Estimate # </td> <td style="width: 110px;" align="center"> Estimate </td> <td style="width: 60px;" align="center"> Size </td> <td style="width: 60px;" align="center"> Unit </td> <td style="width: 100px;"> Customer </td> </tr> </table> </HeaderTemplate> <ItemTemplate> <table style="width: 100%; table-layout: fixed; font-weight: normal;" cellspacing="2" cellpadding="2"> <tr> <td style="width: 80px; border-bottom: solid 1px #E8E8E8; border-right: solid 1px #E8E8E8;"> <%# DataBinder.Eval(Container.DataItem, "RecordNumber")%> </td> <td style="width: 110px; border-bottom: solid 1px #E8E8E8; border-right: solid 1px #E8E8E8;"> <%# DataBinder.Eval(Container.DataItem, "Description")%> </td> <td style="width: 60px; border-bottom: solid 1px #E8E8E8; border-right: solid 1px #E8E8E8;"> <%# DataBinder.Eval(Container.DataItem, "Size")%> </td> <td style="width: 60px; border-bottom: solid 1px #E8E8E8; border-right: solid 1px #E8E8E8;"> <%# DataBinder.Eval(Container.DataItem, "Unit")%> </td> <td style="width: 100px; padding-left: 10px; border-bottom: solid 1px #E8E8E8;"> <%# DataBinder.Eval(Container.DataItem, "Customer")%> </td> </tr> </table> </ItemTemplate> </ig:WebDropDown>
Finally, after much frustration, I manage to implement a workaround for this problem.
It appears that WebDatePicker doesn't propagate correctly the value and doesn't trigger the event when the postback is made with a UltraWebToolbar or even a LinkButton.
My solution was to substitute the UltraWebToolbar with a HTML <button> with runat=server.
After this change , the WebDatePicker.Value is correct and the ValueChanged is triggered.
I have also the same problem with Infragistics4.Web.v11.1, Version=11.1.20111.1006.
I'm trying to migrate the controls from old ones (WebDateChooser, etc) to the new ones in order to upgrade to version v11.2.This is a showstopper, and we might move to other controls if we don't solve this problem.
With WebDatePicker with OnValueChanged event subscribed, I can see the postback and sending the correct fields:__EVENTTARGET=_ctl0_DialogPlaceHolder_ContactPropertiesCtrl_PersonalGeneralPanel_templateItem_BirthDateChooser
__EVENTARGUMENT=ValueChanged
_ctl0_DialogPlaceHolder_ContactPropertiesCtrl_PersonalGeneralPanel_templateItem_BirthDateChooser_clientState=|0|012011-11-15-0-0-0-0||But debugging the request, the WebDatePicker.Value is null, and the ValueChanged isn't triggered...
I'm having the same problem with 10.3. Was this issue resolved?