asp.net.ph

Skip Navigation LinksHome > Getting Started > ASP.NET Syntax > ASP.NET Syntax for Web Server Controls

ASP.NET Syntax for Web Server Controls

Getting Started   ASP.NET Syntax


This section covers the syntax used to declaratively set each of the ASP.NET Web server controls on a Web Forms page, and includes information about the properties shared among all Web server controls.

In This Section


Topic Description
AccessDataSource Web Server Control Represents a data source control that works with Microsoft Access databases.
AdRotator Web Server Control Displays an advertisement banner selected randomly from a specified XML source file.
BulletedList Web Server Control Creates a control that generates a list of items in a bulleted format.
Button Web Server Control Creates a push button.
Calendar Web Server Control Displays a one-month calendar that allows the user to select dates and move to the next and previous months.
ChangePassword Web Server Control Creates a user interface that enables users to change their Web site password.
CheckBox Web Server Control Creates a check box that allows the user to switch between a true or false state.
CheckBoxList Web Server Control Creates a multi-selection check box group that can be bound dynamically to a data source.
Content Web Server Control Serves to contain a section of content that is rendered to an associated ContentPlaceHolder control in a master page.
ContentPlaceHolder Web Server Control Creates a region for content in an ASP.NET master page.
CreateUserWizard Web Server Control Provides a user interface for creating new Web site user accounts.
DataGrid Web Server Control Displays the items from a data source in a table.
DataList Web Server Control Displays the items from a data source using user-defined templates.
DetailsView Web Server Control Displays the values of a single record from a data source in a table, where each data row represents a field of the record.
DropDownList Web Server Control Displays a drop-down list that allows the user to select a single item from the list.
FileUpload Web Server Control Creates a control that enables users to select a file to upload to the server.
FormView Web Server Control Displays the values of a single record from a data source using user-defined templates.
GridView Web Server Control Displays the values of a data source in a table where each column represents a field and each row represents a record.
HiddenField Web Server Control Creates a hidden field that is used to store a non-displayed value.
HyperLink Web Server Control Displays a link that directs users to another Web page.
Image Web Server Control Displays a Web-compatible image.
ImageButton Web Server Control Displays an image that can respond to mouse click events.
ImageMap Web Server Control Creates an image that contains defined hot spot regions.
Label Web Server Control Displays static text on the page that can be manipulated programmatically.
LinkButton Web Server Control Creates hyperlink-style buttons.
ListBox Web Server Control Displays a single- or multi-selection list box.
Literal Web Server Control Displays static content on the page that can be manipulated programmatically.
Localize Web Server Control Creates a location on a Web page to display localized, static text.
Login Web Server Control Provides user interface elements to log on to a Web site.
LoginName Web Server Control Displays the authenticated user’s name on a Web page.
LoginStatus Web Server Control Detects the user’s authentication state and toggles the state of a link to display whether the users can log on to or log off from a Web site.
LoginView Web Server Control Uses templates to display varying content for a given user, based on the user’s authentication status and role membership.
Menu Web Server Control Displays a menu on a Web Forms page.
MultiView Web Server Control Creates a control that acts as a container for a group of View controls.
ObjectDataSource Web Server Control Enables declarative data-binding to data exposed by a custom business object for use in multi-tier Web application architectures.
Panel Web Server Control Provides a container for other controls.
PasswordRecovery Web Server Control Provides user interface elements that enable a user to recover or reset a lost password and receive it via e-mail.
PlaceHolder Web Server Control Reserves a location in the page control hierarchy for controls that are added programmatically.
RadioButton Web Server Control Creates a single radio button.
RadioButtonList Web Server Control Displays a radio button group that can be bound dynamically to a data source.
Repeater Web Server Control Displays the items from a data source in a custom layout by repeating a specified template for each item in the list.
SiteMapDataSource Web Server Control Provides a data source control that Web server controls and other controls can use to bind to hierarchical site map data.
SiteMapPath Web Server Control Displays a set of text or image hyperlinks that enable users to easily navigate a Web site, while taking a minimal amount of page space.
SqlDataSource Web Server Control Enables declarative data-binding to objects from a SQL Server™ database.
Substitution Web Server Control Specifies a section on an output-cached Web page that is exempt from caching.
Table Web Server Control Displays a table that can be manipulated programmatically.
TableCell Web Server Control Defines a cell for the Table control that can be manipulated programmatically.
TableRow Web Server Control Defines a row for the Table control that can be manipulated programmatically.
TextBox Web Server Control Displays a single- or multi-line text box.
TreeView Web Server Control Displays hierarchical data, such as a table of contents, in a tree structure.
View Web Server Control Represents a control that acts as a container for a group of controls within a MultiView control.
Wizard Web Server Control Provides navigation and a user interface ( UI ) to collect related data across multiple steps.
Xml Web Server Control Displays an XML document or the results of an XSL Transform.
XmlDataSource Web Server Control Represents an XML data source to data-bound controls.
Base Web Server Control Properties Describes the properties shared by Web server controls.
Style Properties Describes the style properties available to a subset of Web server controls.

See Also

System.Web.UI.WebControls Namespace



© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note