Posted on: 9/26/2013 10:53:09 PM | Views : 251

I created a checkbox dynamically.   I have a Panel1 that is also dynamcially created.
On check I want to add a client side javascript function so on check  Panel1 shows up. If it is unchecked then Panel1 hides.

 CheckBox dynCheckBox = new CheckBox();
 Panel  panel1= new Panel();
I have a inline css style
<style type="text/css">             .hidePopup {     visibility:hidden;     display:none } .showPopUp{    visibility: visible;    display:block; }         </style>

Go to the complete details ...