asp.net

Literal class properties and its descriptions

Web developers can the Literal control to reserve a location on the Web page to display text. The Literal control is similar to the Label control, except the Literal control does not allow them to apply a style to the displayed text. They programmatically control the text displayed in the control by setting the Text property.

Namespace: System.Web.UI.WebControls Assembly: …

Learn more

LinkButton class properties and its descriptions

Web developers use the LinkButton control to create a hyperlink-style button on the Web page if the project needs this kind of functionality. The control appears as a HyperLink control, but it works as Button control. Web developers should use HyperLink control if they want to link the current Web page to another when the control is clicked.  …

Learn more

ImageButton class properties and its descriptions

Web developers can use the ImageButton control to display an image that responds to mouse clicks.  When the ImageButton is clicked two events are raised – Click and Command. By using the OnClick event handler, Web developers can programmatically determine the coordinates where the image is clicked and after they can code a response, based on the values …

Learn more

ListItem class properties and its descriptions

A ListItem control is an individual data item within a data-bound list control, such as a ListBox or DropDownList control.

Namespace: System.Web.UI.WebControls Assembly: System.Web (in System.Web.dll)

Property

Description

Supported in .NET version

Attributes

Returns a collection of attribute name and value pairs for the ListItem that are not directly supported by the class.  Web developers can use the Attributes …

Learn more

CheckBoxList class properties and its descriptions

The CheckBoxList control provides a multi selection check box group that can be dynamically generated with convenient data binding capabilities. However, individual CheckBox controls provide greater control over layout. The control contains an Items collection with members corresponding to individual items in the list. Web developers can find which items are checked by iterating through the collection and …

Learn more

ListBox class properties and its descriptions

Web developers can use the ListBox control to create a list control that allows single or multiple item selection. They can determine the height of the control by using the Rows and they can enable multiple item selection by setting the SelectionMode property to ListSelectionMode.Multiple. The ListItem objects contained in the ListBox control can be examined by using …

Learn more

DropDownList class properties and its descriptions

Web developers can use the DropDownList control to create a single-selection drop-down list control. They can control its appearance by setting BorderColor, BorderStyle, and BorderWidth properties. Items that Web developers want to appear in the control can be determined by placing a ListItem object for each entry between the opening and closing tags of the DropDownList control.

The control …

Learn more

CalendarDay class properties and its descriptions

A CalendarDay object represents a date in the Calendar control. Web developers can use this class in the DayRender event handler to programmatically access the properties of a date as it is rendered on the Calendar control. This allows them to specify the properties of the day (such as whether the date is selectable, selected, today’s date, or …

Learn more

Calendar class properties and its descriptions

The Calendar control provides functionality to display a single month of a calendar on a Web page. The control allows end users to select dates and move to the next or previous month. This control supports all the System.Globalization.Calendar types in System.Globalization namespace. For example Web developers can include in their applications Gregorian calendar or calendars that use …

Learn more

CheckBox class properties and its descriptions

Web developers use the CheckBox control to allow the end users to select a true or false state. If web application developed needs multiple CheckBox controls, the developer has to use CheckBoxList as alternative control which provides data binding capabilities.

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)

Property
Description
Supported in .NET version

AccessKey
This property returns or sets the access key that allows …

Learn more