title: How to load content to contentplaceholder dynamically in asp.net?
body: <p>I have a master page with one contentplaceholder and  the rest of the master page is filled with user control file to define header, navigation etc. I have a side navigation that implements treeview. The treenode is populated with data from database. I want to use the contentplaceholder to show content from different <code>.aspx</code> page according to the treenode clicked.</p>
  
  <p>This is a part of master page:</p>
  
  <pre><code>&lt;div&gt;
    &lt;div&gt;
     &lt;uc5:lcont ID="lcont1" runat="server"/&gt;
    &lt;/div&gt;
    &lt;div&gt;
      &lt;asp:ContentPlaceHolder ID="ccont" runat="server"&gt;      
      &lt;/asp:ContentPlaceHolder&gt;
    &lt;/div&gt;
  
    &lt;div&gt;
       &lt;uc7:rcont ID="rcont1" runat="server" /&gt;
    &lt;/div&gt;
  </code></pre>
  
  <p> </p>
  
  <p>As you can see the the contentplaceholder is centrally located between two divs. Let me show you the snapshot of it.</p>
  
  <p><img src="https://i.stack.imgur.com/lfLkD.png" alt="enter image description here"></p>
  
  <p>I want to load content from different <code>.aspx</code> page to the contentplaceholder denoted by the yellow area. The content needs to be according to the treenode clicked on the right of it.
  <br></p>
  
  <p><strong><em>What I need is to replace the content inside the contentplace holder by another content within the same page without reloading the whole page.</em></strong></p>