I have a button like this
<asp:Button ID="btncnclbkng" CssClass="divskyblue" runat="server" Text="CANCEL BOOKING" Enabled="false" Width="410px"  OnClientClick="return checkrecord();"/>
And javascript as below
function checkrecord() 
    {
        if (confirm("Are You Sure")) {
            return true
        }
        else
            return false;
    }
If i remove Enabled="false" from button then it asks confirmation but i adding and removing eneble-disable property  of button in javascript after making enable then its not working
.Please suggest me how to onclient click property to asp.net button in javascript
 
     
    