Jun 23, 2014, 10:24 AM
[CLOSED] Change IndicatorIconCls dynamically not works
Hi,
See my example, I need to change the indicator icon class dynamically, but I don't succeed.
Please help me
Thank you
See my example, I need to change the indicator icon class dynamically, but I don't succeed.
Please help me
Thank you
<%@ Page Language="C#" %>
<%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
<!DOCTYPE html>
<script runat="server">
protected void Page_Load(object sender, EventArgs e)
{
txtF.IndicatorIconCls = "iconHelpRed";
}
</script>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<style>
.iconHelpRed {
background-image: url(../Images/help-red.png);
}
</style>
</head>
<body>
<form id="form1" runat="server">
<ext:ResourceManager runat="server" />
<ext:TextField id="txtF" runat="server" Width="300" IndicatorIcon="BulletRed" />
</form>
</body>
</html>
Last edited by Daniil; Jun 24, 2014 at 7:45 AM.
Reason: [CLOSED]