I have a check box in my page as follows:
<asp:CheckBox ID="chkPayerCB"
runat="server"
Text="Payer Core Banking details"
TextAlign="Right"/>
I need to disable it on Page Load event of the page. I wrote the following code in code behind:
chkPayerCB.Enabled = false;
Though the check box is disabled but it still gets checked for a moment on clicking at it and then gets unchecked. Though it solves my purpose but I do not want it to be checked at any cost.
I am using VS 2008 Professional Edition (v 9.0.2). Please can anybody guide me on this.
Aucun commentaire:
Enregistrer un commentaire