Skip to content
Loading
  
  •                     class="col-3">  
  •                         class="form-control" style="font-size:12px;">@Html.DisplayFor(modelItem => item1.HazPMClass)  
  •                       
  •                     class="col-3">  
  •                         class="form-control" style="font-size:12px;">@Html.DisplayFor(modelItem => item1.HazPMDetails)  
  •                       
  •                   
  •             }  
  •           
  •     }  
  •   
    but is not giving then results expected. If I use !=null it shows the div content (labels) even when model has no data; if I use ==null it does not show anything even if the model has data
     
    HazIds is an IList model containing int and strings