Important
Some information relates to prerelease product that may be substantially modified before itâs released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A RemoteAttributeBase for controllers which configures Unobtrusive validation to send an Ajax request to the web site. The invoked action should return JSON indicating whether the value is valid.
public ref class RemoteAttribute : System::ComponentModel::DataAnnotations::ValidationAttribute, Microsoft::AspNetCore::Mvc::ModelBinding::Validation::IClientModelValidator
public ref class RemoteAttribute : Microsoft::AspNetCore::Mvc::RemoteAttributeBase
[System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)]
public class RemoteAttribute : System.ComponentModel.DataAnnotations.ValidationAttribute, Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IClientModelValidator
[System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)]
public class RemoteAttribute : Microsoft.AspNetCore.Mvc.RemoteAttributeBase
[<System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)>]
type RemoteAttribute = class
inherit ValidationAttribute
interface IClientModelValidator
[<System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)>]
type RemoteAttribute = class
inherit RemoteAttributeBase
Public Class RemoteAttribute
Inherits ValidationAttribute
Implements IClientModelValidator
Public Class RemoteAttribute
Inherits RemoteAttributeBase
Does no server-side validation of the final form submission.
Constructors Properties AdditionalFieldsGets or sets the comma-separated names of fields the client should include in a validation request.
AdditionalFieldsGets or sets the comma-separated names of fields the client should include in a validation request.
(Inherited from RemoteAttributeBase) HttpMethodGets or sets the HTTP method ("Get"
or "Post"
) client should use when sending a validation request.
Gets or sets the HTTP method ("Get"
or "Post"
) client should use when sending a validation request.
Gets the RouteValueDictionary used when generating the URL where client should send a validation request.
RouteDataGets the RouteValueDictionary used when generating the URL where client should send a validation request.
(Inherited from RemoteAttributeBase) RouteNameGets or sets the route name used when generating the URL where client should send a validation request.
MethodsRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4