@model Pam.Presentation.Models.ViewModel.EditProductViewModel
@{
   ViewBag.Title = "EditProduct";
   Layout = null;
}

<div id="product-tabstrip" class="row">
<ul>
    <li id="productinformation-tab">Product Information</li>
    <li>Product Categories</li>
</ul>
<div id="productinformation">
    @{ Html.Partial("_ProductInformation", model); }
</div>
<div id="productcategories">
    @{ Html.Partial("_ProductCategories", model); }
</div>

this is my partial:

@model Pam.Presentation.Models.ViewModel.EditProductViewModel
<h4>ProductInformation</h4>
<form>
  <div class="form-group">
      <label for=""></label>
  </div>
</form>

Is this not the way to do it? Why can't i add model to my partial?

   @{ Html.Partial("_ProductInformation", model); }

it can't revolve model in the row above. Why not?

Related posts

Recent Viewed