15
I have a validation controller within the route of my project that I'm trying to use from within an area using the following attribute on the model's property...
[Remote("IsValidUserName", "Validation", "", ErrorMessage = "Invalid username")]
But when this is rendered, the validation is against the "IsValidUserName" action of controller "Validation" within the same area as the page, and not within the root area...
data-val-remote-url="/Members/Validation/IsValidUserName"
Any help would be appreciated.
Thanks.