If none of the existing ASP.NET server controls meet your requirements, then you can create a custom control by deriving from one of the base control classes. This Web Forms ASP.NET tutorial will show you how to achieve this.
Adding Custom Control to the Toolbox
1. Create a test Web Forms page. (WebForm1)
2. Using Tools menu, click Add/Remove Toolbox Items.
This is a very common scenario when you would like to disable button after click, so the user could not click it again if you need some time to do some task which takes longer time to be executed.
Disable a button after click in ASP.NET before the PostBack
If you would like to disable button to do some task, …
A cookie, also known as an HTTP cookie, web cookie, or browser cookie, is used for an origin website to send state information to a user’s browser and for the browser to return the state information to the origin site. The state information can be used for authentication, identification of a user session, user’s preferences, shopping cart contents, …