System.Web.UI.WebControls.BaseCompareValidator: Method Members

The methods of System.Web.UI.WebControls.BaseCompareValidator are listed below. For a list of all members, see the BaseCompareValidator Members list.

See Also: Inherited members from System.Web.UI.WebControls.BaseValidator

Public Methods

static
CanConvert(string, ValidationDataType) : bool

Determines whether the specified string can be converted to the specified data type. This version of the overloaded method tests currency, double, and date values using the format used by the current culture.

static
CanConvert(string, ValidationDataType, bool) : bool

Determines whether the specified string can be converted to the specified data type. This version of the overloaded method allows you to specify whether values are tested using a culture-neutral format.

Protected Methods

override
AddAttributesToRender(System.Web.UI.HtmlTextWriter)

Adds the HTML attributes and styles that need to be rendered for the control to the specified System.Web.UI.HtmlTextWriter object.

static
Compare(string, string, ValidationCompareOperator, ValidationDataType) : bool

Compares two strings using the specified operator and data type. This version of the overloaded method compares currency, double, and date values using the format used by the current culture.

static
Compare(string, bool, string, bool, ValidationCompareOperator, ValidationDataType) : bool

Compares two strings using the specified operator and validation data type. This version of the overload allows you to specify whether values are compared using a culture-neutral format.

static
Convert(string, ValidationDataType, out object) : bool
Documentation for this section has not yet been entered.
static
Convert(string, ValidationDataType, bool, out object) : bool
Documentation for this section has not yet been entered.
override
DetermineRenderUplevel() : bool

Determines whether the validation control can be rendered for a newer ("uplevel") browser.

static
GetDateElementOrder() : string

Determines the order in which the month, day, and year appear in a date value for the current culture.

static
GetFullYear(int) : int

Generates the four-digit year representation of the specified two-digit year.