What is Server Controls?
In ASP.Net there 2 types of Controls available. One is
Client Control and another one is Server side controls. Client Controls are
basic HTML controls like button, text boxes, check box etc. which can be easily
constructed by HTML elements.
In other hand, server side controls are created
by Microsoft as part of ASP.Net, which provide a rich set of functionalities
such as event handling, rich set of properties which can be easily programmed in
server side.
In other words Server side controls are just web controls
used in ASP.Net pages. Actually Microsoft wants to reduce the development time
because of this sort of controls. Without the Server controls it’s hard to
found any ASP.Net pages.
Most of the ASP.Net developers using the following server
controls:
1. Button
2. TextBox
3. DropdownList
4. Datagrid
5. Label
6. RadioButton
7. Checkbox
8. RadioButtonList
9. CheckboxList
10. Linkbutton
ASP.Net Server controls actually starts with the prefix “asp”. Each Controls must have the below mandatory properties. They are:
ID - Denotes the unique ID, to access it.
runat - Denotes this control run in server side. The value must be "server".
ID - Denotes the unique ID, to access it.
runat - Denotes this control run in server side. The value must be "server".
Happy Programming!!!
0 comments :