Hello,
I'm using a hierarchical radgrid control which has three levels (a master and two detail tables). Each row has a template column that contains a checkbox. What I want to do is to check all checkboxes in the hierarchy when checkbox in the inner row is checked, and I would like to achieve this in client code.
The only thing I've been able to get is catching the click event on the checkbox and finding the row where the checkbos control is:
function CkeckBox_Click(e) {
if (e.target) {
gridRow = e.target.parentNode.parentNode;
}
else {
gridRow = e.srcElement.parentNode.parentNode;
}
Could you please help me?
Thanks in advance.