TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
cya lpk
NA
17
486
MVC application partial view
Jan 27 2019 1:56 AM
In a MVC application inside a layout page i have two partial view . One is for details(
<a href="javascript:void(0);" class="Detail" data-id="@item.id">
@item.name
</a>
) and another one is for login (
<a href="javascript:void(0);" class="LoginDetail"></a>
). But whenever i click only login page is showing .
if i remove login page partial from the layout then details partial page will display.
for login
Like below i call script also
<script>
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({
>
<script>
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({
>
Reply
Answers (
3
)
How to wpf application deployment with sqlite database ..?
Where can i get good BG images for my web application?