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 Replies
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
cya lpkPosted Jan 28, 2019, 2:26 AM
cya lpkPosted Jan 27, 2019, 4:25 AM
Salman BegPosted Jan 27, 2019, 3:26 AM