update child grid from parent

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

    Posted 22 Jul 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
    Admin
    Konstantin Dikov avatar
    1803 posts

    Posted 26 Jul Link to this post

    Hello,

    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">
        <ClientSettings>
            <ClientEvents OnBatchEditCellValueChanged="batchEditValueChanged" />
        </ClientSettings>
    </telerik:RadGrid>

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


    Regards,
    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top