In your View try like this
<img src= "https://stackoverflow.com/questions/15986980/@Url.Content(Model.ImagePath)" alt="Image" />
More Related Contents:
- Html.DropdownListFor selected value not being set
- How do I specify different Layouts in the ASP.NET MVC 3 razor ViewStart file?
- How to use jquery or ajax to update razor partial view in c#/asp.net for a MVC project
- Adding another “Pet” to a Model Form
- ASP.NET MVC 3 – Partial vs Display Template vs Editor Template
- Writing/outputting HTML strings unescaped
- In MVC3 Razor, how do I get the html of a rendered view inside an action?
- How to render a Section in a Partial View in MVC3?
- Why is Model Binding not working in my POST action method?
- Razor-based view doesn’t see referenced assemblies
- ASP.NET MVC load Razor view from database
- HTML.ActionLink vs Url.Action in ASP.NET Razor
- where is the best place to save images from users upload
- How can I pass parameters to a partial view in mvc 4
- Differences between Html.TextboxFor and Html.EditorFor in MVC and Razor
- Razor View Engine : An expression tree may not contain a dynamic operation
- MVC ViewBag Best Practice [closed]
- Html.Textbox VS Html.TextboxFor
- error with decimal in mvc3 – the value is not valid for field
- How to link HTML5 form action to Controller ActionResult method in ASP.NET MVC 4
- Set disable attribute based on a condition for Html.TextBoxFor
- MVC Razor view Intellisense broken in VS 2013/2015/2017
- Razor: @Html.Partial() vs @RenderPage()
- How to compile cshtml before runtime
- Convert Byte Array to image and display in Razor View
- How to create a function in a cshtml template?
- how to add script src inside a View when using Layout
- VS2013 does not compile ASP.NET MVC5 views
- Razor Nested WebGrid
- Html.Raw() in ASP.NET MVC Razor view