Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Web form and C#
Message
From
05/05/2004 17:35:13
Jim Rieck
Quicken Loans/Rock Financial/Title Sourc
Livonia, Michigan, United States
 
 
To
All
General information
Forum:
ASP.NET
Category:
Web forms
Title:
Web form and C#
Miscellaneous
Thread ID:
00901371
Message ID:
00901371
Views:
72
All,

I have a webform with a checkbox and a panel with some controls in it. I want the checkbox to show or hide the panel based on the value of the checkbox, but my code is not working. The code I have for the checkbox is below, please help.
private void chkFlight_CheckedChanged(object sender, System.EventArgs e) 
  {
    pnFlight.Visible = chkFlight.Checked;
  }
Thanks

Jim
Next
Reply
Map
View

Click here to load this message in the networking platform