title: How to add class in parent li using child link button from code behind in asp.net c#?
body: <p>Here is the html code for the page :</p>
  
  <pre><code>&lt;ul class="list quicker"&gt;
      &lt;li&gt;&lt;asp:LinkButton runat="server" ID="education_news" OnClick="education_news_Click" &gt;Education&lt;/asp:LinkButton&gt;&lt;/li&gt;
      &lt;li&gt;&lt;asp:LinkButton runat="server" ID="immigration_news" OnClick="immigration_news_Click"&gt;Immigration&lt;/asp:LinkButton&gt;&lt;/li&gt;
      &lt;li&gt;&lt;asp:LinkButton runat="server" ID="visa_news" OnClick="visa_news_Click" &gt;Visa&lt;/asp:LinkButton&gt;&lt;/li&gt;
  &lt;/ul&gt;
  </code></pre>
  
  <p>Here is the code behind the page i've used:</p>
  
  <pre><code> protected void education_news_Click(object sender, EventArgs e)
      {
          string edu = education_news.Text;
          using (SqlConnection _con = new SqlConnection(_Data.CS))
          {
              SqlCommand _Cmd = new SqlCommand("select * from tbl_brochures where type=@type", _con);
              _Cmd.Parameters.AddWithValue("@type", edu);
              _con.Open();
              dl_brochures.DataSource = _Cmd.ExecuteReader();
              dl_brochures.DataBind();
  
          }
  
      }
  </code></pre>
  
  <p>I have to do when i click on any link button the parent li of that link button should change or add the class to li(this). I have also query but got no solution. </p>