title: How to add "active" css class to linkbutton code behind
body: <p>I have several linkbuttons in my master page. I need to add css class "Active" after I click each linkbutton and postback URLs.</p>
  
  <pre><code>&lt;asp:LinkButton ID="Linkbutton1" runat="server" PostBackUrl="/News.aspx?lang=1"
           Text="News" OnClick="Linkbutton1_Click"&gt;
  &lt;/asp:LinkButton&gt;
  </code></pre>
  
  <p>Linkbutton 1 </p>
  
  <p><strong>Linkbutton 2</strong> - class "active"</p>
  
  <p>Linkbutton 3</p>
  
  <p>I tried to add class using linkbutton onclick event, but after postback css class has been removed.</p>