Hi,
please see below code , when clickon this link why it replaces entire page ratherthan target id "idDev".
I tried latest script also, but still same issue.It replace entire page with layout page content also.
can anybody suggests.
@{
ViewBag.Title = "TestAjax";
Layout = "~/Views/Shared/_Layout.cshtml";
}
TestAjax
@Ajax.ActionLink("Click Ajax", "TestAjaxLink", new AjaxOptions {
UpdateTargetId = "idDev",
InsertionMode = InsertionMode.Replace
})
@ViewBag.TitleName
please see below screen shot also.
Thanks in advance.
Regards
Hemraj
Manas MohapatraPosted Jun 6, 2017, 1:20 AM
3. Return data partial view result not view result.
Hemraj RavPosted Jun 6, 2017, 2:41 AM
Hemraj RavPosted Jun 6, 2017, 2:24 AM
Manas MohapatraPosted Jun 6, 2017, 2:19 AM
Hemraj RavPosted Jun 6, 2017, 1:57 AM