Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 2 of 2

Thread: How to Hide Menu Items?

  1. #1
    sduffy77 is offline Senior Member
    Join Date
    Feb 2010
    Location
    Lancaster, PA
    Posts
    142

    Default How to Hide Menu Items?

    We're limiting visibility of items based on customer level on the front of the site.

    Is there a way to hide a category/distributer/etc if there are no items available to a customer?

  2. #2
    cjbarth is offline Senior Member
    Join Date
    Oct 2008
    Posts
    392

    Default

    In the code behind for the master page you can include code to scan for children on the menu and then trim the menu accordingly.

    Perhaps some of the code examples here will help you:

    http://forums.aspdotnetstorefront.co...31&postcount=4

    Chris
    ML9.3.1.1
    SQL 2012 Express
    VS 2010
    Azure VM