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 / how do return string string result in asp.net mvc ?
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?
Anonymous User
07-Oct-2014You can just use the ContentResult to return a plain string.