I'm trying to prevent duplicate button clicks...when a user clicks my button now, it takes a few seconds to process. If they click it twice, an error occurs.
How can I do that from the code behind in the click event of the button?
protected void btnAdd_Click(object sender, EventArgs e)
{
//Disable button here
...do other stuff...
}
Go to the complete details ...