I have a masterpage and in a master page I have a menu.
I want when a user clicks on a menu to set id="current" on li html attribute.
I not sending the user to another page because the menu is in the MasterPage.
How can I solve this problem using c# code?
Menu
<!-- header menu-->
<div...
I have to loop a datatable and from the datatable I want to dynamically declare AccordionPane. I tried to do it like this code but it doesn't work. Anyone knows how I declare AccordionPane dynamically.
private void CreateWebMenu()
{
string mainMenu = string.Empty;
int i...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.