Click here to Skip to main content
15,666,926 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have Document list with view link button

id="view" role="link" data-toggle="modal" data-target="#myModal">View

modal is

and the partial view looks like

@model MVC5Application.Models.Property

<img src=@ViewBag.Document alt=""/>

after click on link it has to display respective image which has the document id(which i have clicked) it in the folder of uploads in my application.

i am new to mvc can any one help me for the same.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900