Solved

Modal Window in MVC 4

Posted on 2013-06-20
2
1,126 Views
Last Modified: 2013-08-22
Hi,

I have a view in MVC 4.
In that view there is a link that contains the ID of an article.
The requirement is that when user clicks on the Article ID, a new modal window should pop up and that window should contain the Article Text, Article Description and The Posted date.
How would we do it using MVC 4 razor in C#.
The data to be shown on the modal window should be in proper HTML format.

Thanks
0
Comment
Question by:Aspnet_9
2 Comments
 
LVL 23

Accepted Solution

by:
Roopesh Reddy earned 250 total points
ID: 39267441
0
 
LVL 11

Assisted Solution

by:Mihai Stancescu
Mihai Stancescu earned 250 total points
ID: 39270375
Hi,

You can also use bootstrap modal to display a partial view dialogs if jQuery UI Dialog doesn't fit your needs:

Partial view with bootstrap modal dialog


Regards,
Mishu
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now