Solved

ASP.Net MVC 4 C# -- DHTML Menu, with security ?

Posted on 2013-06-11
3
611 Views
Last Modified: 2013-07-17
What DHTML menu builder do you recommend so
I don't have to manually create DHTML for my
Visual Studio 2012 \Views\Shared\_Layout.cshtml ?
  ** http://css3menu.com
  ** http://pupunzi.open-lab.com/mb-jquery-components/mb-_menu
  ** http://woork.blogspot.com/2008/01/digg-like-navigation-bar-using-css.html
  ** http://woork.blogspot.com/2008/01/flickr-like-horizontal-menu.html
  ** etc

I used http://www.xfx.net/utilities/dmbuilder 
about 10 years ago and want something more
integrated with MVC4 if possible.

I need some way to limit MENU buttons based on security like the below links talk about
  ** http://techbrij.com/role-based-menu-asp-net-mvc talks about.
  ** http://stackoverflow.com/questions/8411224/asp-net-mvc-hide-show-menu-items-based-on-security
  ** http://stackoverflow.com/questions/12257232/role-based-authentication-in-the-new-mvc-4-internet-template-using-simplemembers
0
Comment
Question by:finance_teacher
  • 2
3 Comments
 
LVL 11

Expert Comment

by:lenordiste
ID: 39286837
i would look at existing frameworks such as bootstrap or foundation:
http://twitter.github.io/bootstrap/
http://foundation.zurb.com/

they integrate very well into ASP.NET MVC since it's only javascript and css. They both have enterprise quality html controls (page layouts, buttons, menus for instance), so no need to reinvent the wheel. For the security part, the second example you gave is all you need.
0
 

Author Comment

by:finance_teacher
ID: 39292862
I looked at http://foundation.zurb.com's DROPDOWN.

Do you have any good examples using security ?
0
 
LVL 11

Accepted Solution

by:
lenordiste earned 500 total points
ID: 39294465
not at hand but the second link you provided is all you need to implement security:
http://stackoverflow.com/questions/8411224/asp-net-mvc-hide-show-menu-items-based-on-security

just replace the html syntax with the one from foundation or bootstrap.
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Can't disable touch pad on Windows 10 computer 16 45
MailAddress in vb 4 29
VS 2017 18 37
How can I do Unit Testing with Session ? 1 10
Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question