Introduction of ASP.NET Server Control Basics:

Introduction of ASP.NET Server Control Basics:

In asp.net server controls helps to make your own application. you can use  These controls and make web or windows application. The .net platform provides much different-different type of controls to you. And Much Asp controls also for the development .As like -


Textbox,combobox,dropdownlist,Lable,Button,Calender,checkbox,fileupload,hiddenfield,Image,Image button,Literal,Radiobutton,table,Listview,GridView,Repater  etc.
But some time user wants to create something different. He wants to more or other type of controls, or he want to combine more the one controls together. And Make some extra work. For solving of these Question .net provide to facility to user that he create over own controls. 
The controls or component or provide help to making the application to user. Controls have some properties and methods or events. The properties refer to the look and feel And event refer to the working of this control.
For clear understanding we take one control and explain it .for this we get “BUTTON controls”

Property of Button control:

Accesskey,TabIndex,BackColor,BorderColor,BorderStyle,BorderWidth,ToolTip,Visible,Height,Width,Text etc.


Events of Button control:

Click, command, DataBinding, Disposed, Init, Load, PreRender, Unload.

Code of button in asp.net :

<asp:Button ID="Button1" runat="server" Text="Button" />

Code of click event of button:

protected void Button1_Click(object sender, EventArgs e)
    {


    }

Reference :