I need to start a when a button is clicked on my form
in a windows application i'd use timer.start()

but i dont seem to have this option with my webform

any idea how i can have the timer idle on page load and start it on button click?


Depends on what you wish to do...

You will probably need to use client side javascript as you can not force a browser to reload/refresh from server side...

Unless you are doing something like counting between responses...


I managed to get waht i wanted to do by using...

Response.AddHeader("REFRESH", "2;URL=home.aspx")

when a user changes their password it displays a success message, waits 2 seconds then redirects the user to the main page