New Posts New Posts RSS Feed: Menu Features Base on Page
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Forum LockedMenu Features Base on Page

 Post Reply Post Reply
Author
orcities View Drop Down
Senior Member
Senior Member
Avatar

Joined: 28-Aug-2007
Location: United States
Posts: 454
Post Options Post Options   Quote orcities Quote  Post ReplyReply Direct Link To This Post Topic: Menu Features Base on Page
    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?
Back to Top
Bill Jensen View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 31-Jul-2007
Location: United States
Posts: 229
Post Options Post Options   Quote Bill Jensen Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
orcities View Drop Down
Senior Member
Senior Member
Avatar

Joined: 28-Aug-2007
Location: United States
Posts: 454
Post Options Post Options   Quote orcities Quote  Post ReplyReply Direct Link To This Post Posted: 21-Apr-2008 at 12:50pm
What version of .Net will this be in?
Back to Top
Bill Jensen View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 31-Jul-2007
Location: United States
Posts: 229
Post Options Post Options   Quote Bill Jensen Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down