I have been working with MVC 3 and the [Remote(action,controller)] seems to work perfect, trying to do the same in MVC 4 results in a never called function.
A quick google or stackoverflow search will give you lots of the same fails in MVC4.
What I did was:
Model:
[Remote("CheckIt", "Default1", ErrorMessage = "It happens")]
public virtual string City { get; set; }
In Default1 Controller:
public JsonResult CheckIt(string city)
{
return Json(false, JsonRequestBehavior.AllowGet);
}
Thanks in Advance