Solved

Modal Window in MVC 4

Posted on 2013-06-20
2
1,142 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

830 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