KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Possible Duplicate: Disabling LinkButton doesn't disable the click event in javascript I have a linkbutton in ASP.NET. I have set its property Enabled = false; <asp:LinkButton ID="lnkButton" runat="server" Enabled = "false" OnClientClick="return confirm('Are you sure ?')" > Click Me </asp:LinkButton> Event thought I have set the property Enabled = false the OnClientClick event is still fired. How can I prevent the OnClientClick event from firing?
Tags (comma-separated)
Save Edits
Cancel