RangeValidator.MaximumValue Property
Assembly: System.Web.Mobile (in system.web.mobile.dll)
[BindableAttribute(true)] public: property String^ MaximumValue { String^ get (); void set (String^ value); }
/** @property */ public String get_MaximumValue () /** @property */ public void set_MaximumValue (String value)
public function get MaximumValue () : String public function set MaximumValue (value : String)
Not applicable.
Property Value
The maximum value of the range to validate against.The following code example demonstrates how to use the MinimumValue property to validate a numerical value entered into a TextBox control.
Note: |
|---|
| The following code sample uses the single-file code model and may not work correctly if copied directly into a code-behind file. This code sample must be copied into an empty text file that has an .aspx extension. For more information, see ASP.NET Web Page Code Model. |
Security Note: |
|---|
| This example has a text box that accepts user input, which is a potential security threat. By default, ASP.NET Web pages validate that user input does not include script or HTML elements. For more information, see Script Exploits Overview (Visual Studio). |
Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.
Note: