I using Ajax to load content div element, but I have a problem. When I loaded content to div element Success, then I want back/forward or open link new tab but it load all page.

This is my code: var viewLink = Url.RouteUrl("ExtAppCommon_default", new { controller = "ControllerName", action = "ActionName", condition = "value 1" });

 actionHtml +=
   "<a class='filter-name' id= '" + rootNode[i].GetHashCode() + "' data-original-title=\"Tool tip\" target='_top' data-toggle=\"tooltip\" data-placement=\"top\" " +
   "href=\"" + viewLink +
   "\" data-ajax=\"true\" data-ajax-method=\"GET\" data-ajax-mode=\"replace\" " +
   "data-ajax-update=\"#divDataTable\" >" + rootNode[i].Text + stnumberRef + "</a>";

Please help me. Thanks

Related posts

Recent Viewed