Asp.net enabledproperty set to true but in GUI button is showing as disabled
Hi,In my code I am disabling buttons in page load and enabling them in a function where certain rules are met. I switched on quick watch, the button.enabled property is set to false is page_Load and changing to true wherever I am setting enabled=true; But button is showing disabled on the form. I don't know what to do. Here is the button css class
.Button
{
font-weight: bold;
font-size: 9pt;
color: #003366;
font-family: Verdana, Arial;
background-color: #e5ebf0;
border-style:outset;
cursor:pointer;
cursor:url(/Images/H_POINT.CUR);
}
.Button[disabled]
{
font-weight: bold;
font-size: 9pt;
color: gray;
font-family: Verdana, Arial;
background-color: #e5ebf0;
border-style:outset;
cursor:auto;
}