我目前正在使用<a>
标签来单击和导航,如下面的代码中所述。我想根据选定的 id 在 page_prerender 事件中的 c# 标签中导航下面的代码。有人可以帮忙吗?
<li><a href="#" rel="cat1">Category 1</a></li>
<li><a href="#" rel="cat2">Category 2</a></li>
<div id="cat1">
Content goes here
</div>
<div id="cat2">
Content goes here
</div>