RemoteAttribute Class
Provides an attribute that uses the jQuery validation plug-in remote validator.
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
System.Attribute
System.ComponentModel.DataAnnotations.ValidationAttribute
System.Web.Mvc.RemoteAttribute
| Name | Description | |
|---|---|---|
![]() | RemoteAttribute() | Initializes a new instance of the RemoteAttribute class. |
![]() | RemoteAttribute(String) | Initializes a new instance of the RemoteAttribute class using the specified route name. |
![]() | RemoteAttribute(String, String) | Initializes a new instance of the RemoteAttribute class using the specified action-method name and controller name. |
![]() | RemoteAttribute(String, String, AreaReference) | Initializes a new instance of the RemoteAttribute class. |
![]() | RemoteAttribute(String, String, String) | Initializes a new instance of the RemoteAttribute class using the specified action-method name, controller name, and area name. |
| Name | Description | |
|---|---|---|
![]() | AdditionalFields | Gets or sets the additional fields that are required for validation. |
![]() | ErrorMessage | (Inherited from ValidationAttribute.) |
![]() | ErrorMessageResourceName | (Inherited from ValidationAttribute.) |
![]() | ErrorMessageResourceType | (Inherited from ValidationAttribute.) |
![]() | ErrorMessageString | (Inherited from ValidationAttribute.) |
![]() | HttpMethod | Gets or sets the HTTP method used for remote validation. |
![]() | RequiresValidationContext | (Inherited from ValidationAttribute.) |
![]() | RouteData | Gets the route data dictionary. |
![]() | RouteName | Gets or sets the route name. |
![]() | Routes | Gets the route collection from the route table. |
![]() | TypeId | (Inherited from Attribute.) |
| Name | Description | |
|---|---|---|
![]() ![]() | _Attribute.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr) | (Inherited from Attribute.) |
![]() ![]() | _Attribute.GetTypeInfo(UInt32, UInt32, IntPtr) | (Inherited from Attribute.) |
![]() ![]() | _Attribute.GetTypeInfoCount(UInt32) | (Inherited from Attribute.) |
![]() ![]() | _Attribute.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr) | (Inherited from Attribute.) |
This attribute enables a client-side validation call to the server where the actual validation is performed. The client side version of this class is ModelClientValidationRemoteRule.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
.jpeg?cs-save-lang=1&cs-lang=vb)
.jpeg?cs-save-lang=1&cs-lang=vb)
.jpeg?cs-save-lang=1&cs-lang=vb)
.jpeg?cs-save-lang=1&cs-lang=vb)
.jpeg?cs-save-lang=1&cs-lang=vb)
.jpeg?cs-save-lang=1&cs-lang=vb)
.jpeg?cs-save-lang=1&cs-lang=vb)