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

Hierarchial Child Rows not updaing on rebind

1 Answer 80 Views
GridView
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 13 May 2010, 05:09 PM
I have a Silverlight RadGridView with a single  HierarchyChild. I am using DomainDataSource via RIA to populate the GridView. I Add/edit  records for the heiarchial rows from within  a childwindow editform, whcih was launched by clicking one of the hierarchial rows for existing records or from a button for new records,  This information updates the backend data from which is the source of the data for the new records or from a row that i clicked for the child window originally.

Once the child window is closed (the updated information has already been sent and once the submitted changes fires in the childwindow (domaindatasource ),  i close the child window). Next,  I call the load method for the DomainDataSource.In the Loaded event for the GridView's domaindatasource, i then call GridView.Rebind().  
Result:
The rows in the hiearchy records never update. If i click to another page and come back they then update.

Is there another step that i am missing

1 Answer, 1 is accepted

Sort by
0
Veselin Vasilev
Telerik team
answered on 19 May 2010, 10:46 AM
Hello John,

Please find attached a sample project. RadGridView uses DomainDataSource to bind to data. It is a self referenced gridview and once you change something in the child row and the changes are commited - the parent row is updated automatically.

Let me know if you manage to reproduce the problem in my test project.

Sincerely yours,
Veskoni
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
GridView
Asked by
John
Top achievements
Rank 1
Answers by
Veselin Vasilev
Telerik team
Share this question
or