I have a WebRibbon control for a menu. I have a TabControl on the page that holds all content. As you click on a menu I create a TabItem, add a frame to the tab item, navigate to a specific xaml page in that frame and then add the frame to the tab item. It works fine for the first page. The content of the xaml page displays correctly in the frame. A problem arise as soon as I navigate to a second and third page. All the frames on all the tab items navigate to the last selected menu items corresponding xaml content.
frame1.JournalOwnership = JournalOwnership.OwnsJournal;
This solved my problem...
Related
I have a treepanel and a content area to the right, where tab panels display.
When a tree node is clicked, I show a tab panel in content area to the right, where each tab displays different info about the tab topic.
Let's say I click a tree node, then on the second tab for its tab panel in the content area to the right.
Then I click a different tree node. That newly clicked nodes tab panel now displays in the content area to the right.
What event can I listen to in order to know when the previous node's tab panel is no longer visible? Hide does not work. Deactivate does not work. Wondering how I can detect this.
At least in my case, it looks like destroy event does the trick.
I have a Sencha touch 2 application that uses a navigation view and has a list of items. When someone clicks on an item and I dynamically change title of the navigation bar to be the item the person clicked on and also add 3 buttons to the navigation bar. However when the user clicks on an item and the screen is re-sized to be small the title is not formatted correctly.
Is there an event that happens after a panel is rendered so I can call refreshTitlePosition()?
There is an event called resize for every container in sencha...
Hope it helps...
I have a window which contains a Frame which references a 'home' page that has buttons on it. When a button is clicked I want another page to show depending on which button was pressed. I attempted to use
NavigationService.Navigate('mynextpage.xaml')
and that works however, I want to use a customized navigation panel. I call
this.ShowsNavigationUI = false;
on my 'home' page but the bar still shows. Is there a way to accomplish what I am trying to do?
My page with the frame is a window so I do not know how to disable the Navigation bar there where I guess it is coming from.
Further testing shows that the ShowsNavigationUI property is false yet the nav bar shows itself in the parent window once there is a second page to go to (showing the 'home' page in the history.
TIA
if i understand you correctly you want to hide the navigation chrome of a Frame, to do so set
<Frame Name="hostFrame" NavigationUIVisibility="Hidden"/>
So I have two tab items within a tab. I am data binding on both. If when i click the second tab item the memory goes through the roof. Looks like it is lazy loading or something. So if i don't click it memory stays still, but soon as i click the second tab item it appears to start data binding.
Thanks for the help anybody!
The WPF TabControl unloads the tabs that are not currently visible and reloads them when you switch to them. So changing from Tab1 to Tab2 is unloading Tab1 and loading Tab2 (This can be verified with a Loaded event on an item in the tabs).
Are you doing anything memory-intensive within your tabs or within the Loaded events of any tabcontrols?
Is there anyway I can have one mainpage, with tabs, which load child pages in the content area, but also have within the child page another navigation menu which loads siblings into the same content area it itself is in?
This is just a nested navigation frame situation really.
Do not create a second navigation frame. Simply set the datacontext of the hyperlink button on the nested page to the page where your navigation frame is, that way it can be targeted.