I have an UltraWebGrid, SQLDataSource and a Save button inside a WebAsyncRefreshPanel. My Save button does this "Me.UltraWegBrid.DataBind()" because my grid wasn't resorting the data when I would update or add new records...and this seemed to fix that problem. Now I noticed that when I update a cell and then press the Save button, the grid refreshes but does not actually display the updated data. I know it updated the data though...because I looked in the SQL table. If I press the Save button again, it will then display the updated data. However, if I update the data and then click on another row and then press the Save button, it seems to work fine displaying the updated data right away once the grid refreshed.
Any suggestions?
Thanks for your help in advance!
Hi,
You need to handle the UpdateRow, UpdateRowBatch or UpdateCell events. We have samples that demonstrates attaching the UltraWebGrid to an SQLDataSource at samples.infragistics.com.
Magued