Feb 26, 2014 03:50 PM|jgarzadi|LINK
Hi, my problem is that I would like to disable a button after an user clicks on it, but when a add -OnClientClick- it works but then the function of the button to perform a sqlconnection is not performed
Any idea on how to disable the button from codebehind without affecting the sqlconnection ?
Thanks for your responses
<asp:Button ID="ImportButton" runat="server" Text="Submit" OnclientClick="disabled=true"/><br />
Protected Sub ImportButton_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles ImportButton.Click
Dim Conn1 As New SqlConnection
Dim CMD As New SqlCommandetc...