Print Page | Close Window

Menu Features Base on Page

Printed From: IdeaBlade
Category: DevForce
Forum Name: DevForce Classic
Forum Discription: For .NET 2.0
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=762
Printed Date: 28-Mar-2024 at 7:43am


Topic: Menu Features Base on Page
Posted By: orcities
Subject: Menu Features Base on Page
Date Posted: 09-Apr-2008 at 2:29pm
Has anyone done or know how to adjust the menu, add menu items like MDI does, depending on which page you are on?



Replies:
Posted By: Bill Jensen
Date Posted: 18-Apr-2008 at 12:01pm
Help is on the way.
 
The new version of Cabana (coming soon, but no commited date yet!) includes a virtual BeforeShow() method in PageController.  This method is invoked EACH TIME the page is selected from the navigation bar.  In an override of this method in your page controller, you could access the main menu UIExtensionSite in the root WorkItem and adjust the menu contents.
 
Bill J.


Posted By: orcities
Date Posted: 21-Apr-2008 at 12:50pm
What version of .Net will this be in?


Posted By: Bill Jensen
Date Posted: 03-May-2008 at 12:08pm
The new version will require Visual Studio 2008. 
 
I am trying to keep it compatible with version 3.0 of the .NET framework and not require .NET 3.5.
 
B.



Print Page | Close Window