Quantcast
Channel: Remove Navigation Menu Items using Asp .net C#
Viewing all articles
Browse latest Browse all 5

Re: Remove Navigation Menu Items using Asp .net C#

$
0
0

hi,

lot of ways to solve this one

1) using sitemap file 

         http://highoncoding.com/Articles/165_Creating_Menu_Based_on_Role.aspx

  your are using " <asp:Menuitem>" so you can try above sample , 

  example :  you can create repeated sitemap based on Roles like ( Junior eng ,admin , senior eng..etc)

 Edit ::  using sitemapprovider  for change the sitemap-file based on role below example 

          http://www.c-sharpcorner.com/UploadFile/Bobum/MultipleSitemaps10242007150620PM/MultipleSitemaps.aspx

          from the sample 

         switch(menuSelection)  change like==> switch(loggedusertype)


Viewing all articles
Browse latest Browse all 5

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>