Hi
Partial View
@using (Html.BeginForm("CreateEdit", "Location", FormMethod.Post))
{
@Html.AntiForgeryToken()
@Html.ValidationSummary(true, "", new { @class = "text-danger" })
}
Js File
$('body').on('click', '[id*=btnAdd]', function () {
$("#hfAU").val("A");
$.get("/Location/CreateEdit?Id=" + Id, function (data) {
$("#divData").html(data);
$("#UpSertModal").modal('show');
});
});
Index file
Thanks
Sachin SinghPosted Jun 20, 2021, 3:56 PM
Ramco RamcoPosted Jun 20, 2021, 3:39 PM
Sachin SinghPosted Jun 20, 2021, 1:55 PM