PDA

View Full Version : [CLOSED] The disabled text field looks very light in IE.



arjunrvasisht
Dec 22, 2014, 9:08 AM
The disabled text field looks very light in IE. I did over ride the class increasing the opacity and the font color. It worked in firefox but has no effect in IE. http://forums.ext.net/attachment.php?attachmentid=17581&stc=1

Daniil
Dec 22, 2014, 2:00 PM
Hi @arjunrvasisht,

I can suggest this solution.

Example

<%@ Page Language="C#" %>

<!DOCTYPE html>

<html>
<head runat="server">
<title>Ext.NET v2 Example</title>

<style>
.x-item-disabled.my-field .x-form-field {
opacity: 0.7;
}
</style>
</head>
<body>
<form runat="server">
<ext:ResourceManager runat="server" />

<ext:TextField runat="server" Text="Some Text" Disabled="true" Cls="my-field" />
</form>
</body>
</html>