This is a migrated thread and some comments may be shown as answers.

problem in refreshing the multiple grids in tabs

2 Answers 142 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Krishna
Top achievements
Rank 1
Krishna asked on 18 Mar 2009, 01:39 AM
Hi
I have 3 tabs and 3 grids in each tab..
in first grid i have a deleted button column where in i delete the rows..
dependidng on the deletion i should refresh other two grids with appropriate data..

since it is using ajax it is not reloading the page.. first page rows are delted perfectly but the other two are not refreshing..
i have code to reload the other tow grids in grid_DeleteCommand event.. and even i am doing the databinding too..
i tried to Rebind() also.. but no use

is there any way i can reload the other two grid without post back.?
or is there anyway that i should reload the page in deletecommand event?

Please help
Thanks
-Krishna

2 Answers, 1 is accepted

Sort by
0
Krishna
Top achievements
Rank 1
answered on 19 Mar 2009, 01:25 AM
can any one help?
0
Sebastian
Telerik team
answered on 20 Mar 2009, 04:50 PM
Hello Krishna,

Basically, to refresh all grid instances, you merely need to locate them in the relevant page views and invoke their Rebind() method. This will ensure that if their data source has been updated, the controls will reflect the changes made in their source.

Additionally, you can use the example from the KB article linked below as basis for your custom implementation:

http://www.telerik.com/support/kb/aspnet-ajax/tabstrip/placing-radgrid-instances-in-radmultipage-page-views.aspx

Best regards,
Sebastian
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
Tags
Grid
Asked by
Krishna
Top achievements
Rank 1
Answers by
Krishna
Top achievements
Rank 1
Sebastian
Telerik team
Share this question
or