Click here to Skip to main content
15,892,927 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi sir i have taken two radio buttons and one panel,if click first radio button panel should be display..

In the page load i have written panel1. visible =false; and in the radio button checked i have written panel.visible=true...

but if checked the radio button panel is not displaying..
Posted
Comments
Sandeep Mewara 9-Jul-12 9:36am    
it would be good if you share the related code snippet. Use Improve Question button and update your question with it.

Where are you toggling the visibility of the panel? On the client or on the server?

If you're using a server-side handler see if checking a radio button is actually posting back the page.

Check the value of the AutoPostBack property of the radio buttons - the default is false, set it to true to post back the page when toggling the radio button.

It would be best if you post some clarification to your post and some code samples. Use the "Improve question" link for that.
 
Share this answer
 
What Lyuben Martin said is correct and also check if you have the Radio button wired properly to the correct event in your code.if not it never executes and events execute on server to you have ensure that Page posts back to the server.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900