I have a checkboxlist wich contains a list of services loaded from a database table. Each of these services can only be executed alone or with some other specific services. For example, if I select “Transfer Property” I cannot select “Register” at the same time.
I have a table which contains the relationships between Services and what Services can be selected together with each service (did I explained it right?).
What I need is to Click a service and then Disable/Disallow Checking of all the services that don’t are related to that service, and Re-enable that items when i Uncheck the parent item…
Is there a good way to do this? I mean, is there any way to do this?
First of all, your CheckBoxList will need to have AutoPostBack set to true.
I believe the key to what youre looking for is
or this works too
in context, it could look something like this: