RemoteAttribute.GetUrl Method
Gets the URL for the remote validation call.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
'Declaration Protected Overridable Function GetUrl ( _ controllerContext As ControllerContext _ ) As String 'Usage Dim controllerContext As ControllerContext Dim returnValue As String returnValue = Me.GetUrl(controllerContext)
Parameters
- controllerContext
- Type: System.Web.Mvc.ControllerContext
The controller context.
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.
Show: