Click here to Skip to main content
15,906,285 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:

I am working on a Single page application and using Durandal, Knockout and bootstrap.

I have a requirement where i need to show menus on MainPage view model (for which i am using bootstrap buttons, which are within another view model named MenuHeaderVM. I use knockout compose to load this viewmodel within MainPage).

Now !!

On clicking the menu Button i want to load a new view model below the MenHeaderVM (depending on which button has been clicked).

How can i go about doing this ?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900