Author: bladu | Posted on: 1/26/2009 4:38:00 AM | Views : 263



Hi,



I want to disable a combobox an a Datepicker when I am going to click
in a radio button. I am developing and aplication in C# in Visual
Studio 2005 IDE. The aplication is for Pocket Pc´s.



Apparently, the code would be very simple, putting the Enabled property
that have the comboBoxes and datePickers to False, in the radio button
method CheckedChanged, like:




 private void radioButton2_CheckedChanged(object sender, EventArgs e)
{

this.dateTimePicker2.Enabled =false;
this.comboBox4.Enabled = false;

} 
But when I am going to execute the aplication, and I am going to click the radio button it doesn,t disable the items
Go to the complete details ...