title: How to get sublayout parameters of a parent item or any other Items in Sitecore
body: <p>I have done some research but did not end up finding a possible solution. 
  Here are the topics that I was able to find:</p>
  
  <ul>
  <li><a href="https://stackoverflow.com/questions/5949214/sitecore-how-to-use-sublayout-parameters-from-codebehind">Sitecore: How to use sublayout parameters from codebehind?</a></li>
  <li><a href="https://markstiles.net/Blog/2011/04/27/sitecore-sublayout-parameters-and-datasources.aspx" rel="nofollow noreferrer">https://markstiles.net/Blog/2011/04/27/sitecore-sublayout-parameters-and-datasources.aspx</a></li>
  </ul>
  
  <p>All are suggesting that this... </p>
  
  <pre class="lang-cs prettyprint-override"><code>var sublayout = ((Sublayout)this.Parent);
  NameValueCollection nvc = Sitecore.Web.WebUtil.ParseUrlParameters(sublayout.Parameters);
  </code></pre>
  
  <p>...is correct but I want more than this, because this method can only give me the current context sub layout, i.e the current page in Sitecore that I was in. I want code that can retrieve the sub layout parameters of a specific item. For example, if I am getting an Item (a page) using a Path, how then can I get its sub layout parameters? </p>
  
  <p>PS: I am using Sitecore 7.0</p>