Hello,
I'm not looking for an explaination on what AJAX is. I'd like to know under what conditions would I use an Update Panel around Infragistics controls with the infragistics ajax turned off versus not using a update palen and using the Ajax embedded into the Infragistics controls? I appear to be having a disconnect on using the webhierarchicaldatagrid when getting search criteria from other controls on the page.
Thank you...
Hello Shane,
Thank you for posting in our forum.
Generally you should use an IG control’s ajax when you need to update just that particular control due to some operation made on it . For example the WebDataGrid uses the ajax for all CRUD operations, sorting, filtering and other behaviors. The WebDropDown would also use ajax call to the server for example if you have auto filtering on the server.
The upside to using the ajax is that only information relevant to that operation in that control would be send to the server. This would significantly improve performance if for example you have a big amount of data on the page.
You should use an update panel if you need to update an IG control based on changes made to other controls.
Like in the scenario you described it would be best to use an update panel and manually trigger its update through a button.
Another possible solution would be to use the filtering behavior of the grid. You could set a filter rule and apply it. This would cause an ajax request to the server to filter your data based on that filter. Here’s an example from our documentation on how to set the filter on the client side:
http://help.infragistics.com/NetAdvantage/ASPNET/2011.1/CLR4.0/?page=WebDataGrid_Filtering.html
Let me know if you have any further questions.
Best Regards,
Maya Kirova
Developer Support Engineer
Infragistics, Inc.
http://ko.infragistics.com/support
the example URL you have given is not working please check it.
I am using the IG WebDataGrid in a page which is part of master page.
please provide me example like that.
if it will be soon then good for me
Thanks
Pankaj