Note that there are some explanatory texts on larger screens.

plurals
  1. POAjax.ActionLink confirm message is being displayed twice
    primarykey
    data
    text
    <p>i have the following ajax.actionlink</p> <pre><code> @Ajax.ActionLink("Delete", "Delete", "order", new { id = order.OrderID }, new AjaxOptions { Confirm = "are you sure to perform the deletion.", HttpMethod = "Post", UpdateTargetId = order.OrderID.ToString(), LoadingElementId = "Progress" }) </code></pre> <p>but when i click on the delete link; the confirm message "Confirm = "are you sure to perform the deletion."" will be displayed twice one before calling the action method and one after. so what might be the problem? currently i am using the following scripts inside the view</p> <pre><code>&lt;script src="@Url.Content("~/Scripts/jquery-ui-1.8.14.js") type="text/javascript"&gt;&lt;/script&gt; &lt;script src="@Url.Content("~/Scripts/jquery-ui-1.8.14.min.js") type="text/javascript"&gt;&lt;/script&gt; &lt;script src="@Url.Content("~/Scripts/jQuery.tmpl.js") type="text/javascript"&gt;&lt;/script&gt; &lt;script src="@Url.Content("~/Scripts/jquery.unobtrusive-ajax.js") type="text/javascript"&gt;&lt;/script&gt; &lt;script src="@Url.Content("~/Scripts/jquery.unobtrusive-ajax.min.js") type="text/javascript"&gt;&lt;/script&gt; &lt;script src="@Url.Content("~/Scripts/jquery.validate-vsdoc.js") type="text/javascript"&gt;&lt;/script&gt; &lt;script src="@Url.Content("~/Scripts/jquery.validate.js") type="text/javascript"&gt;&lt;/script&gt; &lt;script src="@Url.Content("~/Scripts/jquery.validate.min.js") type="text/javascript"&gt;&lt;/script&gt; &lt;script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js") type="text/javascript"&gt;&lt;/script&gt; &lt;script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.js") type="text/javascript"&gt;&lt;/script&gt; &lt;script src="@Url.Content("~/Scripts/jquery-1.6.2.min.js")" type="text/javascript"&gt;&lt;/script&gt; &lt;script src="@Url.Content("~/Scripts/jquery.unobtrusive-ajax.min.js")" type="text/javascript"&gt;&lt;/script&gt; &lt;script src="@Url.Content("~/Scripts/jQuery.tmpl.min.js") type="text/javascript"&gt;&lt;/script&gt; &lt;script src="@Url.Content("~/Scripts/jquery-1.6.2-vsdoc.js")" type="text/javascript"&gt;&lt;/script&gt; &lt;script src="@Url.Content("~/Scripts/jquery-1.6.2.js") type="text/javascript"&gt;&lt;/script&gt; </code></pre> <p><strong>Edited:-</strong> i remove all the duplicated scripts and i ended up with only these scripts but the problem still there:- i ended up with only these scripts ,, but the problem still there </p> <pre><code>&lt;script src="@Url.Content("~/Scripts/jquery-1.6.2.min.js")" type="text/javascript"&gt;&lt;/script&gt; &lt;script src="@Url.Content("~/Scripts/jquery-ui-1.8.14.min.js")" type="text/javascript"&gt;&lt;/script&gt; &lt;script src="@Url.Content("~/Scripts/jquery.unobtrusive-ajax.min.js")" type="text/javascript"&gt;&lt;/script&gt; &lt;script src="@Url.Content("~/Scripts/jquery.validate-vsdoc.js")" type="text/javascript"&gt;&lt;/script&gt; &lt;script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"&gt;&lt;/script&gt; &lt;script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"&gt;&lt;/script&gt; &lt;script src="@Url.Content("~/Scripts/jQuery.tmpl.min.js")" type="text/javascript"&gt;&lt;/script&gt; </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.
 

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