CheckBox Control in Visual studio asp.net 2005 C# -


may please me on this: developed web application has checkboxes , want show controls when user tick box , hide them when user untick box. managed showing part when user tick box, i'm failing hide them when user untick box.

here showing part of code:

 protected void chkboxmentor_checkedchanged(object sender, eventargs e)     {         lblmentorname.visible = true;         txtmentorname.visible = true;         lblmentorstuff.visible = true;         txtmentorstaffno.visible = true;         lblmentordate.visible = true;         btnshowcal.visible = true;     } 

please me hiding part.

any please!!! highly appreciated

you need set visible property checkbox's checked property.


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -