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

How to delete childgrid upon deleting parent grid.

2 Answers 75 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Ravi
Top achievements
Rank 1
Ravi asked on 14 Apr 2011, 01:13 PM
Hi,

I have implemented a hierachical grid, I do have a delete button on each row of parent grid and each row of child grid. now when the user clicks on the delete button of parent how do i delete the child grid ?

Thanks,
Shiras

2 Answers, 1 is accepted

Sort by
0
Pavel Pavlov
Telerik team
answered on 14 Apr 2011, 01:22 PM
Hi David,

I am a bit confused. Can you explain in details what exactly needs to be deleted?

Actually if you remove the parent row, the child grid will not show up in the UI anymore. Isn't deleting the parent row enough ?

All the best,
Pavel Pavlov
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
0
Ravi
Top achievements
Rank 1
answered on 14 Apr 2011, 02:08 PM
Yes, that was exactly i was asking.

If i remove the parent row, the child grid will also get deleted automatically.

Thanks,
Shiras
Tags
GridView
Asked by
Ravi
Top achievements
Rank 1
Answers by
Pavel Pavlov
Telerik team
Ravi
Top achievements
Rank 1
Share this question
or