For a SelectionChanged event in a hierarchical RadGridView, how do I test to determine which template had a row selection change?
2 Answers, 1 is accepted
0
Nadya | Tech Support Engineer
Telerik team
answered on 04 Jan 2021, 02:46 PM
Hello, James,
In order to know whether the SelectionChanged event is triggered by the master template or by a child template, you can check whether the Parent property of the corresponding GridViewTemplate is null. This will ensure that the row is from the master template. Please refer to the following code snippet:
I hope this helps. Let me know if you have other questions.
Regards,
Nadya
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.