all groups > asp.net building controls > march 2005 >
You're in the

asp.net building controls

group:

Enable Parent Controls



Enable Parent Controls Holysmoke
3/21/2005 4:21:05 AM
asp.net building controls: Hi all,

I am using a datalist to generate controls based on the values arrive from DB.

------------------------------------------------------------
checkbox
RadioButtonList/CheckBoxList
------------------------------------------------------------

For each row there is checkbox which again contains group controls
(RadioButtonList/CheckboxList) related with it.

Now I need to control this,

If the user selects (checks) group controls, automatically i want to check
the checkbox. How I can do this in DataList using a JS client script function?

TIA,
Holy

Re: Enable Parent Controls recoil NO[at]SPAM community.nospam
3/21/2005 9:04:10 AM
You wopuld need to do use Page.RegisterClientScriptBlock and generate
dynamic Javascript. Chances are you will also need to get the ClientID
of the checkboxes. Because there is not much information I can only
point you so far.
AddThis Social Bookmark Button