I am using UltraWebGrid V10.3. On my page, I have 2 AJAX update panels. The first ajax update panel contains 2 asp dropdowns and a search button. The second ajax update panel contains the UltraWebGrid and a message label. There is no overlap between the 2 update panels. I am retrieving data based on values in the dropdown and binding data to the grid in InitializeDataSource. The problem I am having is that the InitializeDataSource is fired even when a partial postback occurs when I select a value in the first drowpdown from the first update panel. Is there a way to not update the grid when the dropdown changes? Per my requirement, the data in the grid should only change when I click on the search button. Hope that makes sense.
Hello Dj,
Did you try to set the UpdateMode to Conditional and to trigger updating of this update panel from the drop down?
Looking forward to hear from you.
Sincerely,
Georgi Sashev
Developer Support Engineer
Infragistics, Inc.
http://ko.infragistics.com/support
Hello Georgi,
Yes. Both UpdatePanels are set to Conditional mode. The ChildrenAsTrigger is set to false in the one with dropdown and set to true in the one with Grid (for paging and sorting). On postback of the dropdown, I am not updating the panel, just updating the second dropdown and refreshing that panel only. The Grid panel is only updated using Update() on postback of the Button which is in the dropdown panel. But for some reason, the grid panel is being updated and grid is refreshed even during postback of the dropdown.
Thanks
-DJ