I have a link button in my grid view and it will be disabled when it meets certain condition. My question is, when the button is disabled, the color of the button will change to gray and i dun wan it to be gray, perhaps black. I have tried using the following code the change gray color to others but it's not working, You guys have any idea to do do this?
Have tried on:
LinkButton.ForeColor = Drawing.Color.Black
or
LinkButton.CssClass = "BlackLnkBtn"
or
LinkBUtton.Attributes("class") = "BlackLnkBtn"