title: Accessing model data, from MVC3 partial view, in controller without passing it explicitly in the view
body: <p>I have a MVC3 partial view that is called with a model. </p>
  
  <pre><code>@model SomeModel
  </code></pre>
  
  <p>The model have an Id parameter.</p>
  
  <p>In the view I call <code>@Html.Action("SomeMethod", "SomeController")</code></p>
  
  <p>Is there any way to access the Id parameter in the SomeMethod ActionResult without passing it explicitly like this:</p>
  
  <pre><code>@Html.Action("SomeMethod", "SomeController", new {"Id" = Model.Id})
  </code></pre>
  
  <p>The problem is that I can not change the source code of the partial view. And I need the Id value. The Id is not used in the partial view so I can not access it via JavaScript.
  Is the model passed to the HttpContext and is there any way to pass it?</p>
  
  <p><strong>EDIT:</strong> The thing is that I am developing a plugin for <a href="http://nopcommerce.com/" rel="nofollow">nopCommerce</a>, like the ones that are offered by <a href="http://www.nop-templates.com/" rel="nofollow">nop-templates</a>. <a href="http://nopcommerce.com/" rel="nofollow">nopCommerce</a> is an open source software and I can change the code, but the plugin will be shipped separately, so it is not recommended to make changes in <a href="http://nopcommerce.com/" rel="nofollow">nopCommerce</a> views and the view that I am referring to is such.</p>