Home | HTML | Asp.Net | HTML Probe | .Net Probe
  Contact Us |Sitemap

Web Server Controls

Skip Navigation LinksHome>Asp Home>Controls

Web Server controls are classes in the .NET Framework that represent visual elements on a web form.

Types of Server Controls are:

  • HTML server controls:- HTML server controls map to specific HTML elements. HTML server controls are classes that contains the standard HTML elements. You can place an HtmlTable server control on your ASP.NET page that works dynamically with a <table> element.

  • Web server controls:- Web server controls map to specific functionality that you want on your ASP.NET pages. These controls has its predefine properties. For Example:- An <asp:Panel> control might use a <table> or an another element altogether .It really depends on the capability of the browser making the request.

  • Rich Controls:- Rich Controls are the controls which have the ability to word with client-side-scripting to create a interface. Controls, such as the Calendar control, AdRotator, that display richer content and capabilities than other controls are Rich Control.

  • Validation controls:- Validation Controls are the control that interact with other form controls to validate the data that they contain.  For Example:- RequiredFieldValidator, RangeValidator etc.

  • Data controls:- Data Controls are the control that are used to store data in database and retrive data from database. These controls are also useful for displaying data on a web page.

  • Navigation controls:- Navigation Controls navigate a visitor to travel from one page to another page.

  • Web parts controls:- These Controls are used to build web portals.

  • ASP.NET AJAX controls:- These controls uses the Ajax technology.

  • Mobile controls:- Controls that are specific for output to devices such as mobile phones, PDAs, and more.

Some common Properties of controls are:

  • AccessKey :- Enables you to assign a character to be associated with the Alt key so that the end user can activate the control using quick-keys on the keyboard. For example, if you set the AccessKey value B of a button control, the user can move the focus to this button control by pressing Alt+B.

  • BackColor:- Sets the background color.

  • BorderColor:-Sets the border color.

  • BorderWidth : Returns or sets the border width.

  • Attributes:- Enables you to define additional attributes for a Web server control that are not defined by a public property.

  • CssClass:- Assigns a custom CSS (Cascading Style Sheet) class to the control.

  • Enabled:- sets the control’s enabled state. If false, the control is usually rendered grayed out and is not usable. By default, the Enabled property is set to True.

  • EnableTheming: Enables you to turn on theming capabilities for the selected server control. The default value is True.

  • BorderStyle: sets the border of control.

  • Style: Enables you to apply CSS styles to the control.

  • TabIndex: Sets the control’s tab position in the ASP.NET page. This property works in conjunction with other controls on the page. This property is supported only in Internet Explorer 4.0 and higher.

  • Tooltip: Displays a text message when the user hovers the mouse above the control. Many older browsers don’t support this property.

  • Width: Sets the width of the control.
DMCA.com Protection Status
Design & Maintain By solvingera group| solvingera.com © 2013-2014 | all right reserved |Privacy Policy | Back to top