asp.net

HtmlForm class properties and its descriptions

The HtmlForm control allows programmatic access to the HTML <form> element on the server. The control is a container for server controls on a Web Forms page and all server controls that post back to the server must be placed between its opening and closing tags. Web developer can control the behavior of the HtmlForm control by setting …

Learn more

HtmlButton class properties and its descriptions

The HtmlButton control allows programmatic access to the HTML <button> element on the server. To perform a set of custom instructions when the HtmlButton control is clicked, Web developer has to provide a custom event handler for the ServerClick event. The HtmlButton control renders ECMAScript to the client browser which must have ECMAScript enabled for this control to …

Learn more

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

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