468,774 Members | 2,626 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,774 developers. It's quick & easy.

nested Repeaters with javascript checkboxes

> let say i created nested repeaters in HTML page of a particular Web Form
Parent repeater dubbed
"parentRepeater", child Repeater dubbed "childRepeater" . Withi "parentRepeater" and "childRepeater", defined a checkbox respectively. In Code-Behind, i will dynamicall 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 t above : 2 records) checkboxes wil be checked ... when user uncheck the checkboxes, all it's child checkboxe 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 tha check and uncheck of checkboxes wil handled on client side . How can i achieve ??

Nov 18 '05 #1
0 1143

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Machi | last post: by
reply views Thread by Machi | last post: by
reply views Thread by kettch | last post: by
4 posts views Thread by =?Utf-8?B?SmFtZXMgR2V1cnRz?= | last post: by
2 posts views Thread by Josh | last post: by
PrinsonG
1 post views Thread by PrinsonG | last post: by
1 post views Thread by andrew.douglas11 | last post: by
3 posts views Thread by Leon Mayne | last post: by
reply views Thread by zhoujie | last post: by
2 posts views Thread by Marin | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.