What are ASP.NET Web User Controls?
Web User Controls are re-usable controls that you can create and use across multiple ASPX pages. When you need functionality in a control that is not provided by the built-in ASP.NET Web server controls such as
<asp:TextArea>, you can create your own controls.
User controls are containers into which you can put html markup and/or Web server controls such as
<asp:textbox>. You can then treat the user control as a single unit and define properties and methods for it. These controls are visible to the user and typically are added to a asp web form.
In this post I’ll show you how to create simple user control that has three
<asp:textbox> controls, one
<asp:button> control and one
<asp:Label> control. Also I’ll show you how to write the button_click event handler for this