M
Machi
let say i created nested repeaters in HTML page of a particular Web Form. Parent repeater dubbed :
"parentRepeater", child Repeater dubbed "childRepeater" . Within "parentRepeater" and "childRepeater", i
defined a checkbox respectively. In Code-Behind, i will dynamically generate parent-child records, as such ..
[parentRepeater1
[childRepeater1-1
[childRepeater1-2
[parentRepeater2
[childRepeater2-1
[parentRepeater3
[childRepeater3-1
[childRepeater3-2
[childRepeater3-3
When user clicks on the [parentRepeater1], all its child records (refer to above : 2 records) checkboxes will
be checked ... when user uncheck the checkboxes, all it's child checkboxes will be uncheck .. When user check
[childRepeater1-1] and [childRepeater1-2], its parent ([parentRepeater1]) will be checked too. What i want is,
output the javascript for toggling from code-behind to html page, so that check and uncheck of checkboxes will
handled on client side . How can i achieve
"parentRepeater", child Repeater dubbed "childRepeater" . Within "parentRepeater" and "childRepeater", i
defined a checkbox respectively. In Code-Behind, i will dynamically generate parent-child records, as such ..
[parentRepeater1
[childRepeater1-1
[childRepeater1-2
[parentRepeater2
[childRepeater2-1
[parentRepeater3
[childRepeater3-1
[childRepeater3-2
[childRepeater3-3
When user clicks on the [parentRepeater1], all its child records (refer to above : 2 records) checkboxes will
be checked ... when user uncheck the checkboxes, all it's child checkboxes will be uncheck .. When user check
[childRepeater1-1] and [childRepeater1-2], its parent ([parentRepeater1]) will be checked too. What i want is,
output the javascript for toggling from code-behind to html page, so that check and uncheck of checkboxes will
handled on client side . How can i achieve