Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
170
Updating Parent Grid after adding or editing item on the Child Grid
posted

Dear Support,

    I have two grid parent and child . I want to update the total field of the parent grid when I'm adding or changing value in the child grid items this senario work fine if I set the EnableAjax to false of the child grid but when I enable it the total field is not updating. 

     Can you suggets me what is the best approach to solve this.

 

Note: the parent grid is inside the updatepanel and the trigger is property is assing to child grid and the EventName is RowUpdating and RowAdding

 

 

 

Thanks in advance

 

  

 

 

 

 

 

 

 

  • 49378
    posted

    Hello Peter,

    Thank you for posting in the community !

    In this scenario, the child row island being updated is treated as a separate grid with distinct AJAX functionality, therefore updating the parent (root) grid is not possible. I would suggest disabling the grid's AJAX functionality and allowing the updates to be handled through the wrapping UpdatePanel to maintain asynchronous updating.

    Please do not hesitate to contact me with any updates or questions.