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

Binding hierarchical grid after adding a record in details table

1 Answer 57 Views
Grid
This is a migrated thread and some comments may be shown as answers.
sudheer
Top achievements
Rank 2
sudheer asked on 25 Mar 2009, 11:40 AM

Hi,

I have a hierarchical grid in which once i add a record in details table iam calling needdatasource method. but the detaildatabind event is not getting called. I need this event to get fired after needdatasource is executed. since iam working on "persisting the expansion state of hierarchical grid" which works fin with some dummy rows are getting binded in the details table, this is because the DetailDataBind is not fired. please reply ASAP.

1 Answer, 1 is accepted

Sort by
0
Yavor
Telerik team
answered on 30 Mar 2009, 10:08 AM
Hi sudheer,

Rebinding the master table will only raise the NeedDataSource for parent table. You can either rebind the whole grid, or a specific detail table. The following article contains more information on how to reference a specific table.
I hope this helps.

Sincerely yours,
Yavor
the Telerik team

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