Asp.net programming we consider all important topic for knowledge about controls,web Services, JSON, Ajax, database, and interview related Question. In this Asp.net and sql server tutorial blog we give many examples of jquery as like How Play YouTube Video in Your Asp.net Website by URL, How to Play YouTube Videos in Asp.net by using Jquery , Jquery Change div background on mouseover in asp.net , JQuery UI Datepicker (Calendar) etc.

Sunday, July 6, 2014

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 :