title: Finding Div present inside the data list on runtime
body: <p>I need to find the div which belongs my current clicked Link button from the code behind file in c#. Then i need to apply the class for that div. So far i tried to access by html table cell. But i cant able to access my div. So please any valuable suggestion to find the div?</p>
  
  <pre><code>&lt;asp:DataList ID="DataList1" runat="server" OnItemCommand="DataList1_ItemCommand" style="width:100%"&gt;
                          &lt;ItemTemplate&gt;
                              &lt;div runat="server" id="DivContent" style="padding-top: 25px; height: 65px;"  align="center"
                                  onmouseover="this.className='MsgClick'" onmouseout="this.className=''" &gt;
                                  &lt;asp:LinkButton ID="LinkButton2" runat="server" Text='&lt;%# Eval("UserName") %&gt;' CommandName="show"
                                      class="InnerMenuFont"&gt;&lt;/asp:LinkButton&gt;
                                  &lt;asp:Label ID="Label1" runat="server" Text='&lt;%# Eval("AdminId") %&gt;' Visible="False"&gt;&lt;/asp:Label&gt;
                                  &lt;br /&gt;
                              &lt;/div&gt;
                              &lt;hr style="width: 80%" /&gt; 
  
                          &lt;/ItemTemplate&gt;
                      &lt;/asp:DataList&gt;
  </code></pre>
  
  <p>In the above code i need to access the current div in the id "DivContent"</p>
  
  <pre><code>.MsgClick
          {
              background-image: url('Images/AdminHighlight.png');
              background-repeat: no-repeat;
              vertical-align: top;
              margin-right: -38px;
              padding-right: 30px;
          }
  </code></pre>
  
  <p>above code is my class file.</p>