title: Submit Partial View Data with main form in asp.net MVC
body: <p>How Do I submit Data in Partial View on submit on Main View.the partial view doesn't have a separate submit button</p>
  
  <p>I'm trying to Add Multiple Products to in a single Order.Each Product is Partial View.
  User can add multiple Products on click of "plus sign". I want all Products to submitted when I submit the Order.
  My Place Order View is </p>
  
  <pre><code>@model MyApp.Models.Order_Detail
         @section scriptsection {
          &lt;script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"&gt;&lt;/script&gt;
          &lt;script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"&gt;&lt;/script&gt;
          &lt;script src="../../Scripts/jquery-1.4.4.min.js" type="text/javascript"&gt;&lt;/script&gt;
          &lt;script type="text/javascript"&gt;
              $(document).ready(function () {
                  $(".addProduct").live("click", function () {
                      $.get("AddProduct",
                      function (data) {
                          $("#Products").append(data);
                          HideshowMinusButton();
                      });
                  });
          &lt;/script&gt;
      }
      @using (Html.BeginForm()) {
          @Html.ValidationSummary(true)
          &lt;fieldset&gt;
              &lt;legend&gt;Order&lt;/legend&gt;
  
              &lt;div class="editor-label"&gt;
                  Customer
              &lt;/div&gt;
              &lt;div class="editor-field"&gt;
                  @Html.DropDownListFor(c=&gt;c.Order.CustomerID,(List&lt;SelectListItem&gt;)ViewBag.Customers)
              &lt;/div&gt;
              &lt;div&gt;
                  &lt;fieldset id="Products"&gt;
                      &lt;legend&gt;Products&lt;/legend&gt;
                      @Html.Partial("AddProduct")
                  &lt;/fieldset&gt;
              &lt;/div&gt;
              &lt;div class="editor-label"&gt;
                  @Html.LabelFor(model =&gt; model.Order.OrderDate)
              &lt;/div&gt;
              &lt;p&gt;
                 &lt;input type="submit" value="Create" /&gt;
              &lt;/p&gt;
          &lt;/fieldset&gt;
  </code></pre>
  
  <p>On Submit Button Click How Do I get  all Products in my Order?</p>
  
  <pre><code>[HttpPost]
  public ActionResult PlaceOrder(Order_detail Ord) //Ord Doesn't Contain Products ??
  {
  //Add Order to Db
  return View("Success");
  </code></pre>
  
  <p>}</p>