Hello Debashis,
In the AddData.aspx page, execute your code to update db and call client method 'CloseAndRebind' (which calls another function written in parent page).
C#:
Client code in AddData.aspx:
Now in the parent page invoke an
ajxRequest() to rebind the grid, which will avoid unnecessary page refresh.
Client Code:
In the code behind, in write code for rebinding the grid:
Also set the
AjaxManager Settings accordingly, in parent page:
I hope referring the demo on
Window Editing
will be helpful in achieving this (the code is adopted from the demo itself) :)
-Shinu.