ModernFrame navigation BrowseBack

Sep 18, 2013 at 11:27 PM
Edited Sep 18, 2013 at 11:33 PM
Hello, sorry for bringing this up again :)
I'm gonna start with what I want:
  1. ListView with UserControls, each UserControl(StockItemView) has its own ModernFrame
  2. ListView.ContextMenu has a MenuItem that navigates the ModernFrame to my 1 step wizard
  3. that has a BackButton.
So far I've managed to get the first two points working. However the ModernFrame has no source, so nothing gets pushed to the history stack-> no BackButton :(
Here is what I've done:
 <ListView.ItemTemplate>
          <DataTemplate>
                 <mui:ModernFrame>
                       <Productions:StockItemView DataContext="{Binding }" />
                 </mui:ModernFrame>
            </DataTemplate>
 </ListView.ItemTemplate>
menuRequest_Click: (StockItemView.xaml.cs)
var frame = NavigationHelper.FindFrame(null, this);
// frame.Source==null
NavigationCommands.GoToPage.Execute("/Views/Batches/Requests/RequestWizardView.xaml", frame);
The wizard replaces correctly the the StockItemView, but no back capability.
Neither the StockItemViewModel or RequestWizardViewModel need to know anything about the navigation itself, so I'm ok with doing this using only xaml(NavigationCommands) or code behind.
Please help! :)