Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
145
Refresh page after RowUpdating
posted

Hello,

I got a problem that my grid not refresh data after firing OnRowUpdating event.

I need to refresh some other cells (says, total sales) on the grid after I update a cell/a row on the same grid.

I got to set EnableAjax=false inorder to get a post back to server when OnRowUpdating fired on server, after update the dataset, I need to recalculate the whole dataset based on the new values updated, then rebind dataset to the grid (setting datasource property to a table and call DataBind())

But after the page reloaded, I got the same value on "total sales" cell as the previous screen, though the new values that I entered into other cells still there.

What I was missing there?

Parents Reply Children