Hilighting div tag in Masterpage on redirection to content page
<p>I have a link in Master page within a div tag. I want to highlight the div when I am clicking the link, in order to redirect to some content page. </p>

<p><strong>I have written the following code:</strong></p>

<pre><code>&lt;li&gt;
    &lt;div id="div_test" runat="server"&gt;
        &lt;asp:LinkButton ID="lnk_test_menu" Font-Underline="false" 
            ForeColor="Black" runat="server" Text="Test Link"
            CausesValidation="false" onclick="lnk_test_menu_Click1" &gt;
        &lt;/asp:LinkButton&gt;
    &lt;/div&gt;
&lt;/li&gt;
</code></pre>

<p><strong>Code in the cs page:</strong></p>

<pre><code>   protected void lnk_test_menu_Click1(object sender, EventArgs e)
   {
        div_test.Attributes.Add("class", "testSelected"); 
        Response.Redirect(Test.aspx");           
   }
</code></pre>

<p>The div in the master page is not being selected on redirection. </p>

<p>Could anybody help me on this?</p>
