So, I have a button that is currently disabled, and in IE it came out in gray, but in Firefox, Chrome and Safari it is disabled, but still looks active.
Button Code
<tr valign="middle"> <td colspan="2" style="width: 100%"> <asp:Button ID="DownloadButton" runat="server" Text="Download" Width="85px" CssClass="ESTableHeaderL" OnClick="DownloadButton_Click" /> </td> </tr>
And my code is for
protected void DownloadButton_Click(object sender, EventArgs e) { if (ddBusinessMonth.Items.Count == 0) { DownloadButton.Enabled = false; ShowClientMessageBox("No Data found for downloading"); } .... }
Is there anything I can do to make it look the same as in IE?
thanks
TheLifeOfSteve
source share