Solved

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

Posted on 2013-06-11
3
590 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Server Error 11 47
Turn on intranet settings 1 39
C#.NET and microsoft certification. 3 34
Variable Event ? 3 23
More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

920 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now