title: Submit same Partial View called multiple times data to controller?
body: <p>I have added a button in my view. When this button is clicked partial view is added. In my form I can add as much partial view as I can. When Submitting this form data I am unable to send all the partial view data to controller. 
  I have made a different model having all the attributes and I have made a list of that model to my main model. Can anyone please give me some trick so that I can send all the partial view content to my controller?</p>
  
  <p>In My View</p>
  
  <pre><code>&lt;div id="CSQGroup"&gt;   
  &lt;/div&gt;
  &lt;div&gt;
    &lt;input type="button" value="Add Field" id="addField" onclick="addFieldss()" /&gt;
  &lt;/div&gt;
  
  function addFieldss()
  {    
    $.ajax({
      url: '@Url.Content("~/AdminProduct/GetColorSizeQty")',
      type: 'GET',
      success:function(result) {
        var newDiv = $(document.createElement("div")).attr("id", 'CSQ' + myCounter);  
        newDiv.html(result);
        newDiv.appendTo("#CSQGroup");
        myCounter++;
      },
      error: function(result) {
        alert("Failure");
      }
    });
  }
  </code></pre>
  
  <p>In My controller</p>
  
  <pre><code>public ActionResult GetColorSizeQty()
  {
    var data = new AdminProductDetailModel();
    data.colorList = commonCore.getallTypeofList("color");
    data.sizeList = commonCore.getallTypeofList("size");
    return PartialView(data);
  }
  
  [HttpPost]
  public ActionResult AddDetail(AdminProductDetailModel model)
  {
    ....
  }
  </code></pre>
  
  <p>In my Partial View</p>
  
  <pre><code>@model IKLE.Model.ProductModel.AdminProductDetailModel
  &lt;div class="editor-field"&gt;
    @Html.LabelFor(model =&gt; model.fkConfigChoiceCategorySizeId)
    @Html.DropDownListFor(model =&gt; model.fkConfigChoiceCategorySizeId, Model.sizeList, "--Select Size--")
    @Html.ValidationMessageFor(model =&gt; model.fkConfigChoiceCategorySizeId)
  &lt;/div&gt;
  &lt;div class="editor-field"&gt;
    @Html.LabelFor(model =&gt; model.fkConfigChoiceCategoryColorId)
    @Html.DropDownListFor(model =&gt; model.fkConfigChoiceCategoryColorId, Model.colorList, "--Select Color--")
    @Html.ValidationMessageFor(model =&gt; model.fkConfigChoiceCategoryColorId)
  &lt;/div&gt;   
  &lt;div class="editor-field"&gt;
    @Html.LabelFor(model =&gt; model.productTotalQuantity)
    @Html.TextBoxFor(model =&gt; model.productTotalQuantity)
    @Html.ValidationMessageFor(model =&gt; model.productTotalQuantity)
  &lt;/div&gt;
  </code></pre>