how can i disable particular <menu item> tag in asp.net menu control, through code at runtime, according to session value??
please reply.
This way
protected void Page_Load(object sender, EventArgs e) { if (Session["Data"].ToString() == "Messages") { topMenu.Items[0].Enabled = false; } }
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.