﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - WebGrid Enterprise - How to access nested uxFrame ?</title><link>http://www.intersoftsolutions.com/Community/WebGrid/How-to-access-nested-uxFrame-/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>How to access nested uxFrame ?</title><link>http://www.intersoftsolutions.com/Community/WebGrid/How-to-access-nested-uxFrame-/</link><pubDate>Sun, 25 Mar 2012 13:00:28 GMT</pubDate><dc:creator>jimBlake</dc:creator><description>&lt;p&gt;I've finished this scenario by binding a navigateUri property to the viewModel.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Big thanks Yudi..! now I know how to map a uri.&lt;br /&gt;&lt;span style="font-size: 10pt; "&gt;You described me more detail than I expected.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 10pt; "&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 10pt; "&gt;Regards.&lt;br /&gt;Jim&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 10pt; "&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>How to access nested uxFrame ?</title><link>http://www.intersoftsolutions.com/Community/WebGrid/How-to-access-nested-uxFrame-/</link><pubDate>Thu, 22 Mar 2012 00:05:04 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;Let’s say there are three pages: MainPage.xaml; InventoryPage.xaml; and InventoryDetails.xaml. MainPage.xaml has UXFrame named as ContentFrame with following UriMapper configuration.&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;&amp;lt;Intersoft:UXFrame x:Name="ContentFrame" Intersoft:DockPanel.Dock="Top"
                    Intersoft:DockPanel.IsFillElement="True" Margin="0,10,0,0"
                    EnablePageTransition="True" DefaultTransitionEffect="FlipLeft"
                    AutoDetectNavigationDirection="True" NewTransitionEffect="FlipLeft"
                    AllowNestedFrameNavigation="True"&amp;gt;
    &amp;lt;Intersoft:UXFrame.UriMapper&amp;gt;
        &amp;lt;Intersoft:UriMapper&amp;gt;
            &amp;lt;Intersoft:UriMapping Uri="" MappedUri="/Views/Home.xaml"/&amp;gt;
            &amp;lt;Intersoft:UriMapping Uri="/Error" MappedUri="/ErrorPage.xaml"/&amp;gt;
            &amp;lt;Intersoft:UriMapping Uri="/Inventory/{page}"
                                    MappedUri="/Views/InventoryPage.xaml"
                                    IsChildNavigation="True"/&amp;gt;
            &amp;lt;Intersoft:UriMapping Uri="/Intersoft" MappedUri="/Views/IntersoftPage.xaml"/&amp;gt;
            &amp;lt;Intersoft:UriMapping Uri="/{page}" MappedUri="/Views/{page}.xaml"/&amp;gt;
        &amp;lt;/Intersoft:UriMapper&amp;gt;
    &amp;lt;/Intersoft:UXFrame.UriMapper&amp;gt;
&amp;lt;/Intersoft:UXFrame&amp;gt;&lt;/pre&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;Clicking “Inventory” navigation button (in MainPage.xaml) will load InventoryPage.xaml page into ContentFrame UXFrame.&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;InventoryPage.xaml has UXFrame named as uXFrame1 with following UriMapper configuration.&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;&amp;lt;Intersoft:UXFrame Name="uXFrame1" DisplayFragmentInBrowser="True"
                    Intersoft:DockPanel.IsFillElement="True"&amp;gt;
    &amp;lt;Intersoft:UXFrame.UriMapper&amp;gt;
        &amp;lt;Intersoft:UriMapper&amp;gt;
            &amp;lt;Intersoft:UriMapping Uri="" MappedUri="/Views/Detail/Corporate.xaml"/&amp;gt;
            &amp;lt;Intersoft:UriMapping Uri="/Inventory/{page}"
                                    MappedUri="/Views/Detail/{page}.xaml"/&amp;gt;
        &amp;lt;/Intersoft:UriMapper&amp;gt;
    &amp;lt;/Intersoft:UXFrame.UriMapper&amp;gt;
&amp;lt;/Intersoft:UXFrame&amp;gt;&lt;/pre&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;Clicking “Inventory Details” navigation button (in Inventory.xaml) will load InventoryDetails.xaml page into uXFrame1 UXFrame.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;For your scenario, to have a navigation button – in InventoryDetails.xaml page – which allow users to navigate to “Customers” page, there are two options:&lt;/span&gt;&lt;/p&gt;
&lt;ul style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;&lt;li&gt;To display Customers.xaml in uXFrame1&lt;br /&gt;Please specify the TargetName property to uXFrame1. You may need to add the UriMapping in Inventory.xaml&lt;br /&gt;&lt;pre&gt;&amp;lt;Intersoft:UXNavigationButton Content="Customers" NavigateUri="/Customers"
                                Name="uXNavigationButton1" TargetName="uXFrame1"
                                Icon="/ClientUIAdvNavApp1;component/Assets/Images/Home.png"
                                DisplayMode="ContentAndImage" HorizontalContentAlignment="Left"
                                IsDefaultNavigationSource="True"/&amp;gt;&lt;/pre&gt;&lt;/li&gt;&lt;li&gt;To display Customers.xaml in ContentFrame&lt;br /&gt;Please specify the TargetName property to ContentFrame.&lt;br /&gt;&lt;pre&gt;&amp;lt;Intersoft:UXNavigationButton Content="Customers" NavigateUri="/Customers"
                                Name="uXNavigationButton1" TargetName="ContentFrame"
                                Icon="/ClientUIAdvNavApp1;component/Assets/Images/Home.png"
                                DisplayMode="ContentAndImage" HorizontalContentAlignment="Left"
                                IsDefaultNavigationSource="True"/&amp;gt;&lt;/pre&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;In order to give some condition to navigate to the specific page, please try to bind the NavigateUri property to the ViewModel. In ViewModel, you can specify the conditions and determine the returns.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;Hope this helps. Please feel free to let us know if you have another questions.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>How to access nested uxFrame ?</title><link>http://www.intersoftsolutions.com/Community/WebGrid/How-to-access-nested-uxFrame-/</link><pubDate>Tue, 20 Mar 2012 23:24:23 GMT</pubDate><dc:creator>jimBlake</dc:creator><description>&lt;p&gt;OK, based on your sample above; &lt;/p&gt;&lt;p /&gt;&lt;pre&gt;        &amp;lt;Intersoft:UriMapper&amp;gt;
            &amp;lt;Intersoft:UriMapping Uri="" MappedUri="/Views/Detail/ProductDetail.xaml"/&amp;gt;
            &amp;lt;Intersoft:UriMapping Uri="/Inventory/{page}" MappedUri="/Views/Detail/{page}.xaml"/&amp;gt;
        &amp;lt;/Intersoft:UriMapper&amp;gt;
    &amp;lt;/Intersoft:UXFrame.UriMapper&amp;gt;&lt;/pre&gt;
&lt;p&gt; Then I add 1 UriMapping :&lt;/p&gt;
&lt;p /&gt;
&lt;p /&gt;&lt;pre&gt;&amp;lt;Intersoft:UriMapping Uri="/Customers" MappedUri="/Views/Detail/Customer.xaml"/&amp;gt;&lt;/pre&gt;
&lt;p&gt; At the first state, I set (in mainpage.xaml)&lt;/p&gt;
&lt;p /&gt;&lt;pre&gt;&amp;lt;Intersoft:UXStackItem Text="Header Name" FontSize="12"  NavigateUri="/Products"/&amp;gt;&lt;/pre&gt;
&lt;p&gt;In ProductDetail.xaml, i want to have a button which can change NavigateUri above to "&lt;span style="font-size: 10pt; "&gt;/Customers"&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 10pt; "&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Do you have any idea ?&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Jim&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p /&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p /&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>How to access nested uxFrame ?</title><link>http://www.intersoftsolutions.com/Community/WebGrid/How-to-access-nested-uxFrame-/</link><pubDate>Mon, 19 Mar 2012 00:37:26 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt;"&gt;It is suggested to add the conditional navigation in the code behind. However, could you please inform us about the conditional navigation that you would like to achieve?&lt;/span&gt;&lt;/p&gt;</description></item><item><title>How to access nested uxFrame ?</title><link>http://www.intersoftsolutions.com/Community/WebGrid/How-to-access-nested-uxFrame-/</link><pubDate>Fri, 16 Mar 2012 17:55:26 GMT</pubDate><dc:creator>jimBlake</dc:creator><description>&lt;p&gt;&lt;span style="font-size: 10pt; "&gt;Thank you so much for the detail answer Yudi. This is really really helps..&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 10pt; "&gt;Anyway, when I want to give some condition to navigate to the specific page, how do I set the xaml ? Can I achieve this without using code behind ?&lt;/span&gt;&lt;/p&gt;</description></item><item><title>How to access nested uxFrame ?</title><link>http://www.intersoftsolutions.com/Community/WebGrid/How-to-access-nested-uxFrame-/</link><pubDate>Fri, 16 Mar 2012 05:18:47 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui', 'sans-serif'; color: #1f497d; font-size: 9pt"&gt;Thank you for the detail information regarding the navigation topology of your scenario.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui', 'sans-serif'; color: #1f497d; font-size: 9pt"&gt;This kind of topology, as described in your previous message, can be categorized as nested hierarchy topology. This topology allows your application to define another frame inside the page that already hosted in an upper level frame. The nested hierarchical topology is typically used in a more advanced line-of-business applications that comprises of chained modules such as in master-detail scenario.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui', 'sans-serif'; color: #1f497d; font-size: 9pt"&gt;For example, consider an inventory application that shows a list of available products in the left section of the page, and the details of the product in the right section of the page. In this case, the content can be refactored into two pages, one for the listing and another for the details. This design pattern allows for better code reusability, maintainability, and extensibility.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui', 'sans-serif'; color: #1f497d; font-size: 9pt"&gt;The following illustration shows a master-detail scenario in a typical inventory application that use nested hierarchical topology.&lt;/span&gt;&lt;/p&gt;&lt;img alt="Nested Hierarchical Navigation Topology" src="http://www.intersoftpt.com/Community/Attachments/3153/NavigationTopology.png" /&gt; 
&lt;p&gt;&lt;span style="font-family: 'segoe ui', 'sans-serif'; color: #1f497d; font-size: 9pt"&gt;This section shows you how to configure the nested navigation frame to support nested hierarchy topology (based on the above illustration).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui', 'sans-serif'; color: #1f497d; font-size: 9pt"&gt;To create the nested UXFrame page&lt;/span&gt;&lt;/p&gt;
&lt;ol style="font-family: 'segoe ui', 'sans-serif'; color: #1f497d; font-size: 9pt"&gt;&lt;li&gt;Set the UriMapper property in UXFrame (of InventoryPage) as shown in the snippet below:&lt;/li&gt;&lt;/ol&gt;&lt;pre&gt;&amp;lt;Intersoft:UXFrame Name="InventoryDetailsFrame" DisplayFragmentInBrowser="True"
                    Intersoft:DockPanel.IsFillElement="True"&amp;gt;
    &amp;lt;Intersoft:UXFrame.UriMapper&amp;gt;
        &amp;lt;Intersoft:UriMapper&amp;gt;
            &amp;lt;Intersoft:UriMapping Uri="" MappedUri="/Views/Detail/ProductDetail.xaml"/&amp;gt;
            &amp;lt;Intersoft:UriMapping Uri="/Inventory/{page}" MappedUri="/Views/Detail/{page}.xaml"/&amp;gt;
        &amp;lt;/Intersoft:UriMapper&amp;gt;
    &amp;lt;/Intersoft:UXFrame.UriMapper&amp;gt;
&amp;lt;/Intersoft:UXFrame&amp;gt;&lt;/pre&gt;&lt;ol style="font-family: 'segoe ui', 'sans-serif'; color: #1f497d; font-size: 9pt" start="2"&gt;&lt;li&gt;Add a new UXNavigationButton and set the TargetName to InventoryDetails frame as shown in the snippet below:&lt;/li&gt;&lt;/ol&gt;
&lt;pre&gt;&amp;lt;StackPanel Name="stackPanel1" Width="125" Margin="5,0,5,0" Intersoft:DockPanel.Dock="Left"&amp;gt;
    &amp;lt;Intersoft:UXNavigationButton Content="Product Detail" NavigateUri="/Inventory/ProductDetail"
                                  Name="uXNavigationButton1"
                                  TargetName="InventoryDetailsFrame" 
                                  Icon="/ClientUIAdvNavApp1;component/Assets/Images/Home.png"
                                  DisplayMode="ContentAndImage" HorizontalContentAlignment="Left"
                                  IsDefaultNavigationSource="True"/&amp;gt;
    &amp;lt;Intersoft:UXNavigationButton Content="Dairy Products Detail" NavigateUri="/Inventory/Dairy"
                                  Name="uXNavigationButton2"
                                  TargetName="InventoryDetailsFrame"
                                  Icon="/ClientUIAdvNavApp1;component/Assets/Images/Contact.png"
                                  DisplayMode="ContentAndImage" HorizontalContentAlignment="Left"/&amp;gt;
&amp;lt;/StackPanel&amp;gt;&lt;/pre&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui', 'sans-serif'; color: #1f497d; font-size: 9pt"&gt;To add link a link to the nested UXFrame page&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui', 'sans-serif'; color: #1f497d; font-size: 9pt"&gt;In order to allow nested hierarchy topology, you need to set the parent frame’s &lt;strong&gt;AllowNestedFrameNavigation&lt;/strong&gt; property to &lt;strong&gt;True&lt;/strong&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;ol style="font-family: 'segoe ui', 'sans-serif'; color: #1f497d; font-size: 9pt"&gt;&lt;li&gt;Update the parent’s frame element (in the MainPage) UriMapper property for navigation to the InventoryPage and the InventoryDetails page.&lt;/li&gt;&lt;/ol&gt;
&lt;pre&gt;&amp;lt;Intersoft:UXFrame x:Name="MainPageFrame" Intersoft:DockPanel.Dock="Top"
                    Intersoft:DockPanel.IsFillElement="True" Margin="0,10,0,0"
                    EnablePageTransition="True"
                    DefaultTransitionEffect="FlipLeft"
                    AutoDetectNavigationDirection="True"
                    NewTransitionEffect="FlipLeft"
                    AllowNestedFrameNavigation="True"&amp;gt;
    &amp;lt;Intersoft:UXFrame.UriMapper&amp;gt;
        &amp;lt;Intersoft:UriMapper&amp;gt;
            &amp;lt;Intersoft:UriMapping Uri="" MappedUri="/Views/Home.xaml"/&amp;gt;
            &amp;lt;Intersoft:UriMapping Uri="/Error" MappedUri="/ErrorPage.xaml"/&amp;gt;
            &amp;lt;Intersoft:UriMapping Uri="/Inventory/{page}" MappedUri="/Views/InventoryPage.xaml"
                                    IsChildNavigation="True"/&amp;gt;
            &amp;lt;Intersoft:UriMapping Uri="/Inventory" MappedUri="/Views/InventoryPage.xaml"/&amp;gt;
            &amp;lt;Intersoft:UriMapping Uri="/{page}" MappedUri="/Views/{page}.xaml"/&amp;gt;
        &amp;lt;/Intersoft:UriMapper&amp;gt;
    &amp;lt;/Intersoft:UXFrame.UriMapper&amp;gt;
&amp;lt;/Intersoft:UXFrame&amp;gt;&lt;/pre&gt;
&lt;ol style="font-family: 'segoe ui', 'sans-serif'; color: #1f497d; font-size: 9pt" start ="2"&gt;&lt;li&gt;Add a new UXNavigationButton to navigate to InventoryPage.&lt;/li&gt;&lt;/ol&gt;
&lt;pre&gt;&amp;lt;Grid Intersoft:DockPanel.Dock="Bottom"&amp;gt;
    &amp;lt;Intersoft:UXItemsControl x:Name="NavigationItemsContainer"
                              ItemContainerStyle="{StaticResource NavigationButtonStyle}"
                              Orientation="Horizontal"
                              Background="{StaticResource NavigationContainerBackground}"&amp;gt;
        ...
        &amp;lt;Intersoft:UXNavigationButton Content="Inventory" NavigateUri="/Inventory"
                                      Icon="Assets/Images/Inventory.png"/&amp;gt;
    &amp;lt;/Intersoft:UXItemsControl&amp;gt;    
&amp;lt;/Grid&amp;gt;&lt;/pre&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui', 'sans-serif'; color: #1f497d; font-size: 9pt"&gt;Hope this helps.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>How to access nested uxFrame ?</title><link>http://www.intersoftsolutions.com/Community/WebGrid/How-to-access-nested-uxFrame-/</link><pubDate>Thu, 15 Mar 2012 02:43:05 GMT</pubDate><dc:creator>jimBlake</dc:creator><description>&lt;p&gt;Well, here is the simple scenario;&lt;/p&gt;&lt;p&gt;I use 'Intersoft ClientUI MVVM Business Application' template.. there is uxFrame inside mainpage.xaml ..&lt;br /&gt;In customer.xaml, there is uxTreeView and uxFrame.&lt;/p&gt;
&lt;p&gt;And, what  I want to do is when I click an item from uxTreeView, I want to navigate uxFrame inside Customer.xaml to the specific page.&lt;/p&gt;
&lt;p&gt;How can I achieve this goal?&lt;br /&gt;I've tried to navigate uxFrame inside customer.xaml, but the result is uxFrame inside mainpage.xaml that navigated.&lt;/p&gt;
&lt;p&gt;&lt;font style="color: rgb(63, 63, 63); "&gt;&lt;br /&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font style="color: rgb(63, 63, 63); "&gt;Jim.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font style="color: rgb(63, 63, 63); "&gt;&lt;br /&gt;&lt;/font&gt;&lt;/p&gt;</description></item><item><title>How to access nested uxFrame ?</title><link>http://www.intersoftsolutions.com/Community/WebGrid/How-to-access-nested-uxFrame-/</link><pubDate>Wed, 14 Mar 2012 20:51:42 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt;"&gt;Could you please provide me more information regarding the navigation topology of your required scenario? The way you arrange the navigation structure, that is, the correlation between UXFrame and the UXPage that navigates to other pages in the application.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt;"&gt;There are common topologies used in business application such as linear topology, hierarchical topology, and nested hierarchical topology.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt;"&gt;Look forward to hearing back from you.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>How to access nested uxFrame ?</title><link>http://www.intersoftsolutions.com/Community/WebGrid/How-to-access-nested-uxFrame-/</link><pubDate>Tue, 13 Mar 2012 19:33:46 GMT</pubDate><dc:creator>jimBlake</dc:creator><description>&lt;p&gt;Hi Team,&lt;/p&gt;
&lt;p&gt;Could you provide me a simple sample to access nested uxFrame in 'Intersoft ClientUI MVVM Business Application' template.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;thanks &amp; regards.&lt;/p&gt;
&lt;p&gt;Jim&lt;/p&gt;</description></item></channel></rss>