@using System.Diagnostics @model EnVisage.Models.UserQuickLinkModel @{ ViewBag.Title = Model != null ? "Edit " + Model.Name : "Add QuickLink"; Debug.Assert(Model != null, "Model != null"); }
@using (Ajax.BeginForm("Edit", "UserQuickLink", new AjaxOptions { HttpMethod = "Post", OnBegin = "blockUI", OnSuccess = "onSuccessQuickLinkEdit", OnFailure = "onFailureQuickLinkEdit(xhr)", OnComplete = "unblockUI" }, new { id = "editUserQuickLinkForm" })) { @Html.AntiForgeryToken() @Html.HiddenFor(model => model.Id) @Html.HiddenFor(model => model.UserId) @Html.HiddenFor(model => model.Url) @Html.HiddenFor(model => model.PageState) }