Hi,
I am using UltraWebGrid control ver 9.1.20091.1015, I bind this control with datatable which contains two column 1)Select 2)DatabaseList, Select column is Chekbox type.
I used UltraWebGrid_UpdateCell() event to get the checked\Un-checked value. When I click on the check box of grid whole page is refreshed. I do not want this.Can we need to use Ajax so that when user click on check box complete page should not be refreshed?
But I don'nt know how to use Ajax with UltraWebGrid, Please give some sample code or tutorial so that i can use Ajax with UltraWebGrid and can able to solve this issue.
Thanks
Hi Sarita,
Sorry to reply you late and thanks for the help.
I use UpdateCellBatch event and it solve my problem but i am lerning Ajax and I want to implement it in my project.
When you handle the UpdateCell() event on the server, whenever a cell changes it's going to result in a postback and this is refreshing the whole page. If you want to capture the changes at one time it would be better to handle the UpdateCellBatch event instead of UpdateCell. This way when a postback occurs, say with a button click, you can save the changes to the database and can refresh the Grid.
The AJAX technology can be used in this scenario. To use the build-in AJAX, the Browser property of the grid needs to be set to "XML" and also the DisplayLayout.LoadOnDemand to "XML". The UpdateCellBatch cannot be used if you are using AJAX. To learn more about the concept of AJAX, please visit the following link:
http://devcenter.infragistics.com/Support/KnowledgeBaseArticle.aspx?ArticleID=7198
To learn how to use the AJAX functionality in the WebGrid, please visit the following link:
http://help.infragistics.com/Help/NetAdvantage/ASPNET/2009.1/CLR3.5/html/WebGrid_AJAX_Functionality.html
Hope this helps.