ASP.NET Reference

HtmlAnchor class properties and its descriptions

The HtmlAnchor control allows programmatic access to the HTML <a> element on the server. There are two possible ways to use the class:

–          for navigation: using the HRef property to define the location of the page to link to –          for postback events: using the ServerClick event to programmatically handle the user’s clicking a link

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

Learn more

Panel class properties and its descriptions

The Panel control works as container for other controls and it is useful when Web developer wants to generate controls programmatically, hide/show a group of controls, or localize a group of controls. The Panel control provides several properties that allow you to customize the behavior and display of its contents.

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

Property

Description

Supported in .NET version

AccessKey

This …

Learn more

Style class properties and its descriptions

The Style class encapsulates the properties that control the appearance of a Web server control and can be applied to multiple Web server controls to provide a common appearance. Web developer can determine the background color and font color of a control by setting the BackColor and ForeColor properties, respectively. On controls that can display a border, Web …

Learn more

View class properties and its descriptions

The View control acts as a container for a group of controls and must always be contained within a MultiView control. Only one View control at a time can be defined as the active view, by the ActiveViewIndex property, within the Views collection of a MultiView control. The active view control and its child controls are visible on …

Learn more

BulletedList class properties and its descriptions

Web developers use the BulletedList control to create a list of items that are formatted with bullets.  The list of items which appears in the control is built from individual ListItem object for each entry placed between the opening and closing tags of the BulletedList control. Web developer can determine how list items are displayed in a BulletedList …

Learn more

Xml class properties and its descriptions

The Xml control is used to display the contents of an XML document without formatting or using XSL Transformations, by setting one of three properties. Web developer can display You a System.Xml.XmlDocument, an XML string, or an XML file by setting the appropriate property:

–          Document – Sets the XML document using a System.Xml.XmlDocument object. –          DocumentContent – Sets …

Learn more

MultiView class properties and its descriptions

The MultiView control works as a container for a group of View controls. Web developer can use it to define a group of View controls, where each View control contains child controls. Web application can then render a specific View control to the client based on criteria such as user identity, user preferences, and information passed in a …

Learn more

HiddenField class properties and its descriptions

Web developers can use the HiddenField control to store a value that needs to be persisted across posts to the server. It is rendered as an <input type= “hidden”/> element. Normally the state of a Web Forms page is maintained by view state, session state, and cookies. If these methods are disabled or are not available, Web developers …

Learn more

PlaceHolder class properties and its descriptions

The PlaceHolder control is used as a container to store server controls that are dynamically added to the Web page. The PlaceHolder control does not produce any visible output and is used only as a container for other controls on the Web page. Web developers can use the Control.Controls collection to add, insert, or remove a control in …

Learn more

TreeView class properties and its descriptions

Web developers use the TreeView control to display hierarchical data, in a tree structure, such as a table of contents or file directory. The TreeView control can be used inside an UpdatePanel only when EnableClientScript is set to true. By using UpdatePanel controls selected regions of a Web page can be updated instead of the whole page with …

Learn more