Solved

Modal Window in MVC 4

Posted on 2013-06-20
2
1,157 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

739 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