This is a migrated thread and some comments may be shown as answers.

[Solved] Security Trimming for Menu in Site.Master

0 Answers 40 Views
Menu
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Jigar
Top achievements
Rank 1
Jigar asked on 11 Jan 2011, 03:09 PM
Hi,

I am creating an application using Telerik ASP.Net MVC extensions. On the master page I need a menu which shall be populated from Web.sitemap. I am able to get this done but the security trimming function does not seem to work.Could you please let me know how can i restrict the load of the menu items based on role based permissions. Secondly I also need to implement a generic way to handle all the errors. If you have a small application then would appreciate if you can share it with me. In case of an error message, I intend to do either of 2 things
a. Display a error message box just above the MainContent area of Site.Master with a user friendly message and staying on the same page where the error had occured. Internally i will also log the error 

OR

b. Redirect user to a user-friendly page

Thanks
Jigar
Tags
Menu
Asked by
Jigar
Top achievements
Rank 1
Share this question
or