K
Keithb
My application has a LinkButton that I am using as a Command button in the
ItemTemplate of a GridView control. Regardless of the value set for the
Enabled property (true or false), The control is always enabled. What could
be preventing this control from being disabled.
The html looks like this:
<asp:LinkButton ID="BusSvcButton"
runat="server"
CausesValidation="false"
CommandName="BusSvc"
CommandArgument='<%# DataBinder.Eval(Container.DataItem,
"SvcID") %>'
Visible='<%# Eval("sampleButtonVisible") %>'
Enabled="false"
Text="BusSvc" />
Thanks,
Keith
ItemTemplate of a GridView control. Regardless of the value set for the
Enabled property (true or false), The control is always enabled. What could
be preventing this control from being disabled.
The html looks like this:
<asp:LinkButton ID="BusSvcButton"
runat="server"
CausesValidation="false"
CommandName="BusSvc"
CommandArgument='<%# DataBinder.Eval(Container.DataItem,
"SvcID") %>'
Visible='<%# Eval("sampleButtonVisible") %>'
Enabled="false"
Text="BusSvc" />
Thanks,
Keith