Disable it by setting its Enabled property to false
%26lt;asp:CheckBox id="chkMyCheckBox" runat="server" Enabled="false" Text="You cannot check Me!" %26gt;%26lt;/asp:CheckBox%26gt;
You might also want to do that programatically
chkMyCheckBox.Enabled = false;
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment