simple asp.net webforms ul li menu with selected class
<p>I have a simple unordered list with links in it.</p>

<pre><code>&lt;body&gt;
    &lt;div id="topMenu"&gt;
        &lt;ul&gt;
            &lt;li&gt;&lt;a class="selected" href="../Default.aspx"&gt;Start&lt;/a&gt;&lt;/li&gt;
            &lt;li&gt;&lt;a href="../Category/ShowAll.aspx"&gt;Categories&lt;/a&gt;&lt;/li&gt;
            &lt;li&gt;&lt;a href="../Elements/ShowAll.aspx"&gt;Elements&lt;/a&gt;&lt;/li&gt;
            &lt;li&gt;&lt;a href="../Articles/ShowAll.aspx"&gt;Articles&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/div&gt;
    &lt;asp:ContentPlaceHolder ID="MainContentPlaceholder" runat="server"&gt;
    &lt;/asp:ContentPlaceHolder&gt;
&lt;/body&gt;
</code></pre>

<p>I want to change the class of the link i click to the "selected" class, which is the easiest way to do this. I thought about making it into linkbuttons and saving the info in the session, but that seems overkill, there has to be an easier approach?</p>
