This documentation is archived and is not being maintained.
BaseValidator.GetControlValidationValue Method
.NET Framework 1.1
Gets the value associated with the specified input control.
[Visual Basic] Protected Function GetControlValidationValue( _ ByVal name As String _ ) As String [C#] protected string GetControlValidationValue( string name ); [C++] protected: String* GetControlValidationValue( String* name ); [JScript] protected function GetControlValidationValue( name : String ) : String;
Parameters
- name
- The name of the input control to get the value from.
Return Value
The value associated with the specified input control.
Remarks
Use the GetControlValidationValue method to get the value associated with the specified input control, regardless of the control type. For example, you can use this method to get the value in a TextBox control, as well as the value of the selected item from a ListBox control.
Note This method is primarily used by control developers.
Requirements
Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family
See Also
BaseValidator Class | BaseValidator Members | System.Web.UI.WebControls Namespace | TextBox | ListBox
Show: