Navigation from Master page
See original GitHub issueHello,
I have a MenuPage (and MenuPageModel) as Master page. This menu has a list of options with some commands binded.
How can I do for do the navigation (PushAsync) from MenuPageModel? Here is my code.
var menuPage = FreshPageModelResolver.ResolvePageModel<MenuPageModel>();
this.Master = menuPage;
var homePage = FreshPageModelResolver.ResolvePageModel<HomePageModel>();
this.Detail = new FreshNavigationContainer(homePage);
Thanks.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:10 (4 by maintainers)
Top Results From Across the Web
Master Pages and Site Navigation (C#)
Master pages allow for developers to create a site-wide template with designated editable regions. This template can then be applied to ASP.NET ...
Read more >Tutorial 5: Using Master Pages and Site Navigation
The below tutorial demonstrates how to create and use the new ASP.NET Master Pages and Site Navigation features within VS 2005 Web Application...
Read more >Creating Master Page in ASP.NET | Adding Navigation ...
In this 3rd tutorial on dynamic web application development, we will learn how to create a master page in ASP.NET.
Read more >navigation from master to master page in SplitApp
i created a two master pages and two detail pages in splitApp. now irrespective of Detail pages i want to navigate from master...
Read more >Accessing web forms from Masterpage navigation menu
I am creating a web application in Asp.net and c# where I have a master page in which there is a Left Side...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thank you @rid00z for your great work. I use the code you mentioned earlier and it works fine but a problem is master page still showing after clicking on a button that shows another page on detail section. how can i hide master menu?
@fcogutierrez
Here’s what you might be trying to do… basically you can get the HomePageModel instance, and pass it into the MenuPageModel, from that instance you can call CoreMethod.PushPageModel.