Hello All

I dynamically create a Form, which adds a couple of elements.
two of those elements are RadioButtons (Not part of a RadioButtonList,
but connected by GroupName)
Under each of these RadioButtons I have a Panel with additional
Information that only concern the user if they select the appropriate
value.
Now I started to experiment with CollapsiblePanelExtenders, to hide or
show the appropriate info Panel.
My question now concerns the controlling of those two additional
information panels with the radio buttons.
After loading the Page, the first RadioButton is selected and the
first info panel is shown.
When clicking the second Radiobutton, the first info panel should hide
and the second should show up.
I know that I can change the visibility property of the
collapsiblepanelextender with:
   cpe1.Collapsed = true;
   cpe1.ClientState = "true";
and
   cpe1.Collapsed = false;
   cpe1.ClientState = "false";
Unfortunately I have no idea where I should put this code, I don't
know which handler is triggered when I change the RadioButton without
AutoPostBack.

Hope anybody can help me.

Thanks in advance
Carlo

Reply via email to