Jan 17, 2014, 12:51 AM
Trigger button can be click when add DisabledClass to Combo
Hi all,
Could you please advice how to refine css code for disable trigger button on combo?
Thank you
Could you please advice how to refine css code for disable trigger button on combo?
Thank you
<%@ Page Language="C#" %>
<%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Ext.NET Example</title>
<style type="text/css">
.my-disabled-combo input {
font-size: 15px;
color: black;
}
</style>
</head>
<body style="margin-top:20px; margin-left:20px;">
<form runat="server">
<ext:ResourceManager runat="server" />
<ext:ComboBox runat="server" Disabled="true" DisabledClass="my-disabled-combo" SelectedIndex="0">
<Items>
<ext:ListItem Text="Item 1" />
<ext:ListItem Text="Item 2" />
<ext:ListItem Text="Item 3" />
</Items>
</ext:ComboBox>
</form>
</body>
</html>