In a MVC application inside a layout page i have two partial view . One is for details(
if i remove login page partial from the layout then details partial page will display.
for login
Like below i call script also
var TeamDetailPostBackURL = '/Home/Details';
$(function () {
$(".Detail").click(function () {
debugger;
var $buttonClicked = $(this);
var id = $buttonClicked.attr('data-id');
var options = { "backdrop": "static", keyboard: true };
$.ajax({
>var TeamDetailPostBackURL = '/Home/Login';
$(function () {
$(".Detail").click(function () {
debugger;
var $buttonClicked = $(this);
var id = $buttonClicked.attr('data-id');
var options = { "backdrop": "static", keyboard: true };
$.ajax({
>3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Salman BegRank #284 · 8.8K reputationPosted Jan 26, 2019, 10:26 PM EST
cya lpk17 reputationPosted Jan 26, 2019, 11:25 PM EST
cya lpk17 reputationPosted Jan 27, 2019, 9:26 PM EST