ASP.NET Trying to add css class to tr in codebehind
<p>So i have the following method</p>

<pre><code>protected void isDirector_CheckedChanged(object sender, EventArgs e)
{
    HtmlTableRow row = (HtmlTableRow)e.Item.FindControl("today");
</code></pre>

<p>But getting error </p>

<p>CS0117: 'System.EventArgs' does not contain a definition for 'Item'</p>

<p>EDIT : </p>

<pre><code>&lt;asp:UpdatePanel ID="UpdatePanel2" 
                        runat="server" 
                        UpdateMode="Conditional"&gt;
                        &lt;ContentTemplate&gt;
            &lt;asp:RadioButtonList ID="isDirector" RepeatDirection="Horizontal" runat="server" AutoPostBack="True" OnSelectedIndexChanged="isDirector_CheckedChanged"&gt;
                &lt;asp:ListItem Text="Yes" Value="True" selected&gt;&lt;/asp:ListItem&gt;
                &lt;asp:ListItem Text="No" Value="False"&gt;&lt;/asp:ListItem&gt;
            &lt;/asp:RadioButtonList&gt;
            &lt;/ContentTemplate&gt;
                        &lt;/asp:UpdatePanel&gt;
 &lt;asp:UpdatePanel
&lt;ContentTemplate&gt;

    &lt;tr runat="server" id="test"&gt;
        &lt;td&gt;Director First Name:&lt;/td&gt;
        &lt;td&gt;&lt;asp:TextBox ID="DirectorfirstNametxt" runat="server" MaxLength="100" CssClass="input"&gt;&lt;/asp:TextBox&gt;
        &lt;asp:RequiredFieldValidator ID="RequiredFieldValidator5" Display="None" runat="server"
            ErrorMessage="Director First Name is required." ControlToValidate="DirectorfirstNametxt"&gt;&lt;/asp:RequiredFieldValidator&gt;
              &lt;/td&gt;
        &lt;/tr&gt;

&lt;/ContentTemplate&gt;
&lt;Triggers&gt;
    &lt;asp:AsyncPostBackTrigger ControlID="isDirector" EventName="SelectedIndexChanged" /&gt;
&lt;/Triggers&gt;
</code></pre>

<p></p>

<p>I am trying to change the CSS CLASS of TR ID = "test" </p>
