Enable Parent Controls

H

Holysmoke

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
 
R

recoil

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top