Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>You have incorrectly referenced your <code>jquery.unobtrusive-ajax.js</code> script. There is no <code>~</code> in the name. The <code>~</code> is understood and interpreted by server side url helpers. So when including your scripts make sure that you use url helpers:</p> <pre><code>&lt;script src="@Url.Content("~/Scripts/jquery.unobtrusive-ajax.js")" type="text/javascript"&gt;&lt;/script&gt; </code></pre> <p>instead of:</p> <pre><code>&lt;script type="text/javascript" src="~/scripts/jquery.unobtrusive-ajax.js"&gt;&lt;/script&gt; </code></pre> <p>You should remove the 2 <code>MicrosoftAjax*</code> scripts:</p> <pre><code>&lt;script type="text/javascript" src="~/scripts/MicrosoftAjax.js"&gt;&lt;/script&gt; &lt;script type="text/javascript" src="~/scripts/MicrosoftMvcAjax.js"&gt;&lt;/script&gt; </code></pre> <p>They are obsolete and might conflict with jQuery's unobtrusive system in ASP.NET MVC 3.</p> <p>When you use jquery unobtrusive ajax scripts in ASP.NET MVC 3 ensure that <code>UnobtrusiveJavaScriptEnabled</code> is enabled in your web.config:</p> <pre><code>&lt;appSettings&gt; &lt;add key="webpages:Version" value="1.0.0.0"/&gt; &lt;add key="ClientValidationEnabled" value="true"/&gt; &lt;add key="UnobtrusiveJavaScriptEnabled" value="true"/&gt; &lt;/appSettings&gt; </code></pre> <p>Also normally controller actions in ASP.NET MVC return ActionResults, not strings. So:</p> <pre><code>public ActionResult DoStuff(Guid productId) { return Content("After Ajax"); } </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload