Hierarchial Child Rows not updaing on rebind

2 posts, 0 answers
  1. John
    John avatar
    8 posts
    Member since:
    Apr 2008

    Posted 13 May 2010 Link to this post

    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().  
    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
  2. Veselin Vasilev
    Veselin Vasilev avatar
    2992 posts

    Posted 19 May 2010 Link to this post

    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,
    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.
  3. DevCraft R3 2016 release webinar banner
Back to Top