title: How to post model with kendo window refresh?
body: <p>How to pass model with Kendo Window refresh option ?</p>
  
  <p>I am using below code for that in my partial view:-</p>
  
  <pre><code>var proWindow = $("#productWindow").data("kendoWindow");
     proWindow.refresh({            
         url: "../../Product/UpdateProduct",
         type: "POST",
         contentType:"application/json",
         data: { prodModel: $("form").serialize()
     });
  </code></pre>
  
  <p>And below is the code for Controller:-</p>
  
  <pre><code>[HttpPost]
  public ActionResult UpdateProduct(ProductMaintViewModel prodModel)
  {
  
  }
  </code></pre>
  
  <blockquote>
    <blockquote>
      <p>But i am getting null on my model parameter in controller.</p>
    </blockquote>
  </blockquote>
  
  <p>Can any one have any idea about that,means how we can post the whole model with kendo window refresh data option in jquery/javascript ?</p>
  
  <p>FYI, i am working on ASP.NET MVC 4 application.</p>
  
  <p>Below is my ProductMaintViewModel class :-</p>
  
  <pre><code>public class ProductMaintViewModel
  {
      [HiddenInput(DisplayValue = false)]
      public int ProductID { get; set; }
      public int? CustomerId { get; set; }
      public int? InsuranceId { get; set; }
  
      [Required]
      [StringLength(50)]
      [Remote("CheckProductName", "Product", ErrorMessage = "Product Name already exists.")]
      [Display(Name = "Name")]
      public string Name { get; set; }
  
      [StringLength(100)]
      [Display(Name = "Description")]
      public string Description { get; set; }
  
      public bool IsDraft { get; set; }
  
      [Required]
      [Display(Name = "Product Type")]
      public int? SelectedProductTypeID { get; set; }
      public IEnumerable&lt;SelectListItem&gt; ProductTypes { get; set; }
  
      public bool IsDeleted { get; set; }
  
      [Display(Name = "Customer Type")]
      public int? SelectedCustomerSubTypeId { get; set; }
      public IEnumerable&lt;SelectListItem&gt; CustomerSubTypes { get; set; }      
  
      public IEnumerable&lt;SelectListItem&gt; AvailableLabor { get; set; } 
  
  
  }
  </code></pre>