Validation control class properties and its descriptions

The validation controls are found in the System.Web.UI.WebControls namespace and inherit from the BaseValidator class. This class defines the basic functionality for a validation control. The next table describes its key properties:

 

Namespace: System.Web.UI.WebControls

Assembly: System.Web (in System.Web.dll)

 

Property

Description

Supported in .NET version

ControlToValidate

The property is used to identify the control that this validator will check. Each validator […]

HtmlInputText class properties and its descriptions

The HtmlInputText control allows programmatic access to the HTML <input type= text> and <input type= password> elements on the server. The MaxLength property specifies the maximum number of characters that can be entered in the text box. The Size property allows Web developer to specify the width of the text box and he/she can use the […]

HtmlInputSubmit class properties and its descriptions

The HtmlInputSubmit control allows programmatic access to the HTML <input type=submit> element on the server. The HtmlInputSubmit class is derived from the HtmlInputButton class and is used to create a button control on a Web page that submits a form. The HtmlInputSubmit control is often used with the HtmlInputReset control, which resets form controls to their […]

HtmlInputReset class properties and its descriptions

The HtmlInputReset control allows programmatic access to the HTML <input type=reset> element on the server. The HtmlInputReset class is derived from the HtmlInputButton class and is used to create a button control on a Web page that resets form controls to their initial values. The HtmlInputReset control is often used with the HtmlInputSubmit control, which is […]

HtmlInputRadioButton class properties and its descriptions

The HtmlInputRadioButton control allows programmatic access to the HTML <input type= radio> element on the server. Web developers use the HtmlInputRadioButton control to create a radio button on a Web page. The HtmlInputRadioButton control does not provide built-in functionality to display a caption for the radio button and Web developers have to use literal text in […]

HtmlInputImage class properties and its descriptions

Web developers can use this class to programmatically access the HTML <input type= image> element on the server and to control the action associated with the HtmlInputImage control by providing an event handler for the ServerClick event. The coordinates where the user clicks an HtmlInputImage control can be determined by using the ImageClickEventArgs.X and ImageClickEventArgs.Y properties […]

HtmlInputHidden class properties and its descriptions

The HtmlInputHidden control allows programmatic access to the HTML <input type=hidden> element on the server. Web developers can use this control to embed information that is hidden from the user within a <form> element. This information is sent when the Web page is posted back to the server. The HtmlInputHidden control provides a ServerChange event that […]

HtmlInputFile class properties and its descriptions

Web developers can use this class to programmatically access the HTML <input type= file> element on the server and to use the control to handle uploading binary or text files from a browser client to the server. The HtmlInputFile control is designed to be used only in postback scenarios and not in asynchronous postback scenarios during […]

HtmlInputCheckBox class properties and its descriptions

The HtmlInputCheckBox control allows programmatic access to the HTML <input type= checkbox> element on the server. Web developers use the HtmlInputCheckBox control to allow the end user to select a true or false state. They can specify whether the control is selected, by using the Checked property. The HtmlInputCheckBox control provides a ServerChange event that is […]

HtmlInputButton class properties and its descriptions

The HtmlInputButton control allows programmatic access to the HTML <input type= button>, <input type= submit>, and <input type= reset> elements on the server. An <input type=button> HTML element is a push button with no default behavior when clicked. An <input type=submit> HTML element is a button that submits a form when clicked. An <input type=reset> HTML […]

Recommended ASP.NET Examples