Hi guys i need this url to match the one below.
$.ajax({
url: '<%: Url.Action("UpdateFlags", null, new RouteValueDictionary{{Model.ParentId.ToString(), Model.Page }})%>',
data: results,
success: function (data) {
alert(data.success);
},
error: function () {
alert("error");
}
});
with this
<% using (Ajax.BeginForm("UpdateFlags", null,
new RouteValueDictionary(new { Model.ParentId, Model.Page }),
new AjaxOptions() { UpdateTargetId = "testflag123"},
new Dictionary<string, object> { { "data-ajax-mode", "CALLBACK" }, { "data-ajax-update-callback", "updateUploader" }, { "id", "testflag123" } }))
{%>
↧
i need the urls to match pleae
↧