In my ajax call, I want to return a string value back to the calling page.
Should I use ActionResult or just return a string?
home / developersection / forums / in mvc, how do i return a string result?
In my ajax call, I want to return a string value back to the calling page.
Should I use ActionResult or just return a string?
Allen Scott
02-Jan-2015public ActionResult Temp() {return Content("Hi there!");
}
Anonymous User
02-Jan-2015