I want to dynamically add links to my pages something like this:
foreach (Node node in this._nodes)
<a target="main" href="MyLink" class="menuclass">node.title</a>
But now i want to add c# events to the click of one of this links the event is the same for all the links, how do i do it?
Thanks in advance.
User LinkButton to make the link look like a Hyperlink but behave like a button.Here is your answer