i am trying to build a timer in my asp.net website.
so, when you click on a button, lets say hes id = "Button1." it will make the button disable(with enable = false command) and after few\4secconds it will enable=true again.
i have tired to look around how to to so, but all guilds online are very old.. and nothing is realyl helpfull.
This is the full code name(just for the exple):
protected void Button1_Click(object sender, EventArgs e)
{
}
Thanks alot! please help me :).
Have a look at the following answer it should be what you are after:
Disable an asp.net dynamic button click event during postback and enable it afterwards