title: Asp.Net - UserControl - Inherit from MasterPage
body: <p>Is it possible for an user control (ascx) to doing something like herit from a MasterPage ?</p>
  
  <p>My point is, in one of my user control (only use by one kind of MasterPage), I would like to use an <code>&lt;asp:content&gt;</code> tag, but I can't, I can only in the page that use that user control...</p>
  
  <p>So, I have to repeat some code into each of the page that use that user control...</p>
  
  <h2>Update</h2>
  
  <p>For example, each time, I need to add something like that : </p>
  
  <pre><code>&lt;asp:Content ID="cntJavascript" ContentPlaceHolderID="cphJavascript" runat="server"&gt;
      &lt;script type="text/javascript" src="&lt;%= Url.Content("~/Content/js/UcJs.js") %&gt;"&gt;&lt;/script&gt;
  &lt;/asp:Content&gt;
  </code></pre>
  
  <p>That because, I want all my Js files on the same place in my MasterPage and I only want to add Js that is needed</p>