Forums - C# Corner

Forum guidelines


  • 1.6k
  • 168
  • 11.2k

How to display image in model pop up in MVC

Sep 10 2018 10:45 AM
@foreach (var item in Model._DriverReporList)
<a herf="#" @item.Photo class="btn btn-info btn-lg" data-toggle="modal" data-target="#myModal">View Photo
@if (item.IsActive == 1)
<span class="label label-sm label-success">Active </span>
<span class="label label-sm label-danger">InActive</span>
<a>class="fa fa-lg fa-edit"></a>
above is my code i want to know how to display photo in model pop up please help me

Answers (1)