I'm doing the simplest ajax request possible:
public ActionResult SayHello()
{
return Content("YYAAAY");
}
//////////
<div id="Div1">
<%= Ajax.ActionLink("SAY HELLO", "SayHello", new AjaxOptions { UpdateTargetId = "Div1" })%>
</div>
It works when I start an empty ASP.NET MVC project, but when I use it in my current project, it displays the whole page recursively instead of YYAAAY phrase only.
Where might be the problem?