I have two checkboxes, what I want to do is, when I check one, the other should be disabled, I always do this in C# Windows application and it is my first try with ASP.NET is there a way to do that without using combocheckboxes? here is my method which does not work:
protected void checkplan0_CheckedChanged(object sender, EventArgs e)
{
if (checkplan0.Checked == true)
{
checkplan1.Enabled = false;
}
if (checkplan0.Checked == false)
{
checkplan1.Enabled = true;
}
}