title: asp.net changing Master Page section css from Content page
body: <p>I have the following code in my master page:</p>
  
  <pre><code>&lt;div id="body" runat="server"&gt;
          &lt;asp:ContentPlaceHolder runat="server" ID="FeaturedContent" /&gt;
          &lt;section runat="server" id="sectionMainContent" class="content-wrapper main-content clear-fix"&gt;
              &lt;asp:ContentPlaceHolder runat="server" ID="MainContent" /&gt;
          &lt;/section&gt;
      &lt;/div&gt;
  </code></pre>
  
  <p>For one specific content page I would like to change the class value of the <code>&lt;section&gt;</code> above to something like <code>class="content-wrapper-full-width main-content clear-fix"</code></p>
  
  <p>How can I access the <code>&lt;section&gt;</code>'s attributes from codebehind of the content page and modify its value?</p>