display only specific submenu items in asp.net code behind
how to display only specific submenu items of a menu in master page in the another webform using the master page
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Manish Kumar ChoudharyPosted Jan 7, 2015, 11:15 PM
Add dynamic sub menu based on the author role
Go through following links it will help you regarding that
https://www.linkedin.com/pulse/20141117172107-29436167-setting-menu-options-dynamically-based-on-role-in-asp-net-using-linq
http://stackoverflow.com/questions/13596311/how-to-hide-menu-item-based-on-users-authentication
Jitendra KumarPosted Jan 7, 2015, 11:07 PM
fixed menu or dynamic menu on master page??
use this line on page to hide menu on master page.
this.Page.Master.FindControl("Id of control that have runat=server").Visible = false;
See attach file:
Vithal WadjePosted Jan 7, 2015, 10:47 PM
http://www.c-sharpcorner.com/UploadFile/rohatash/creating-dynamic-menu-from-database-sql-server-in-Asp-Net/