update child grid from parent

2 posts, 0 answers
  1. ali
    ali avatar
    1 posts
    Member since:
    Jul 2016

    Posted 22 Jul 2016 Link to this post

    hi all

    I want to check checkbox column in parent row and update column in  rows in  child grid

    example:when check hasbeakfast column is true then child rows in breakfast column to 1

    please Attention  image attachment 

  2. Konstantin Dikov
    Konstantin Dikov avatar
    2115 posts

    Posted 26 Jul 2016 Link to this post


    You could handle the OnBatchEditCellValueChanged event of the parent grid and when a value from the checkbox column is changed, get reference to the child grid and change the values with the "changeCellValue(cell, value)" method of the Batch editing manager:
    <telerik:RadGrid runat="server" ID="RadGrid1">
            <ClientEvents OnBatchEditCellValueChanged="batchEditValueChanged" />

    And here is a link to the client-side API article:
    Hope this helps.

    Konstantin Dikov
    Telerik by Progress
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Back to Top