-
January 14th, 2010, 04:49 AM
#1
Setting Enabled property in the code
I have a radiobutton, that when clicked is supposed to enable and disable some controls. But apparently it doesn't work...
Code:
private void RbUseSafID_CheckedChanged(object sender, System.EventArgs e)
{
TbPassword.Enabled=true;
TbUserID.Enabled=true;
TbWinUserID.Enabled=false;
}
Above is my code. The Tbxxx are textboxes.
When the event fires, absolutely NO change is made to the text boxes. Any bright ideas?
thanks in advance
-
January 14th, 2010, 06:16 AM
#2
Re: Setting Enabled property in the code
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|