Solved

Modal Window in MVC 4

Posted on 2013-06-20
2
1,112 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
Comment Utility
0
 
LVL 11

Assisted Solution

by:Mihai Stancescu
Mihai Stancescu earned 250 total points
Comment Utility
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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Expando 4 33
Execute Stored Procedure for a set of values 5 23
What .NET website keeps me current? 9 28
ASP.NET reading ATOM 2 22
We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

743 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

17 Experts available now in Live!

Get 1:1 Help Now