title: How to update the parent data when partial view data get updated?
body: <p>I am developing and ASP.NET MVC application. </p>
  
  <p>I have the View which have a one partial view.</p>
  
  <p>I do have quotation form and that form contains the Product list.
  I have shown the product list using partial view.</p>
  
  <p>as you can see in the picture, I do have a list of products , user can select product from list and its quantity and price and total will appear on that list itself. </p>
  
  <p>now, my issue is I cant get the updated data in the parent view whenever user changes/adds Products, Quantity and Price. </p>
  
  <p>Like in picture, though I have added many products, Text box in partial view showing correct figure  but  text box on parent view which I want to show the total figure again , showing old values.... </p>
  
  <p>How can I get done this thing ? </p>
  
  <p><img src="https://i.stack.imgur.com/rxtAo.jpg" alt="enter image description here"></p>
  
  <p>I have tried the below code in Jscript tag in View, but not working.... 
  (txtGrandTotal is the textbox name of the partial view)</p>
  
  <pre><code>jQuery('#txtGrandTotal').on('input', function () {
      alert("Changed");
   })
  
  
      $('#txtGrandTotal').change(function () {
          alert("Changed");
      });
  
  
      $('#txtGrandTotal').bind('input', function () {
          alert("Changed");
      });
  </code></pre>