Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

RemoteAttribute.GetUrl Method (ControllerContext)

 

Gets the URL for the remote validation call.

Namespace:   System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

No code example is currently available or this language may not be supported.

Parameters

controllerContext
Type: System.Web.Mvc.ControllerContext

The controller context.

Return Value

Type: System.String

The URL for the remote validation call.

The URL is created by using the action, controller, and route name specified in the RemoteAttribute constructor. Any additional fields specified are appended to the URL as part of the query string.

Return to top
Show:
© 2015 Microsoft