I've been given a task involving a list of links:
<ul>
<li><a href="#">Aktuel</a></li>
<li><a href="#">Business</a></li>
<li><a href="#">Common</a></li>
<li><a href="#">Extras</a></li>
</ul>
My job is to add a CSS class to one of the links programmatically using C# in the codebehind. The desired outcome should look like this:
....
<li><a href="#" class="active">Business</a></li>
....
Can anyone advise me on which lifecycle event I should use and how to accomplish this?
Please note that I am not allowed to make any changes to the HTML design.
Thank you in advance.