
CompareValidator | 741
MobileControls
Namespace
This is the Title of the Book, eMatter Edition
Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.
MobileControl(System.Web.UI.IAttributeAccessor)
➝ TextControl ➝ Command(System.
Web.UI.IPostBackEventHandler, System.Web.UI.IPostBackDataHandler)
Returned By
System.Web.UI.MobileControls.Adapters.HtmlCommandAdapter.Control, System.Web.UI.
MobileControls.Adapters.WmlCommandAdapter.Control
CommandFormat
System.Web.UI.MobileControls (system.web.mobile.dll)
serializable
enum
You can set the Command.Format property to a value from this enumeration, to indicate
whether the command should be rendered as a hyperlink (Link) or button (Button).
Hierarchy
System.Object ➝ System.ValueType ➝ System.Enum(System.IComparable, System.IFor-
mattable, System.IConvertible)
➝ CommandFormat
Returned By
Command.Format
Passed To
Command.Format
CompareValidator
System.Web.UI.MobileControls (system.web.mobile.dll)
.NET 1.1, disposable
class
This CompareValidator compares the input control (ControlToValidate) to a specified value
(ValueToCompare) or a value in another control (ControlToCompare). Both values will be
converted to the data type specified by Type before they are compared. Note that if you
set both ValueToCompare and ControlToCompare, the latter will take precedence.
The Operator property specifies the expression that must be met in order for validation
to succeed. ...