Site Feedback Thread

3 posts

Load Module ondemand

Back to Forum: Site Feedback
  • User profile image
    Gautham​Shetty86

     Hello,

               I have gone through the video you have mentioned.

               Although many doubt regarding EventAggregator, UnityContainer, RegionManager where solved. But I am failed to get a Answer Regarding:

            In my project I have  to Navigate as if   "Shell"    conatin two region ToolBar +( (Common Module(LoginViews))--------> Module A or Module B or Module C)

     

            Here "Common Module" Can be Considered as "login module". After login the user will choose the application namely "Module A" or "Module B" or  "Module c".     Each module as number of  "sub-Module" say "View"s Expect  for "login Module" .Please help with an Idea.

     

           my  shell .Xaml code:

    <UserControl x:Class="Forte.UI.Shell.Page"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
        xmlns:Controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls" 
        xmlns:Regions="clr-namespace:Microsoft.Practices.Composite.Presentation.Regions;assembly=Microsoft.Practices.Composite.Presentation.Silverlight" 
        xmlns:controls="clr-namespace:Blacklight.Silverlight.Controls;assembly=Blacklight.Silverlight.Controls">
        <Grid x:Name="LayoutRoot" HorizontalAlignment="Center" ShowGridLines="False">
            <Grid.RowDefinitions>
                <RowDefinition Height="Auto"/>
            </Grid.RowDefinitions>
           <ItemsControl x:Name="MainToolbarRegion" 
                         Regions:RegionManager.RegionName="MainToolbarRegion"/> --------------->This region contains "Menu"  it will not change    

            <Grid Margin="5,135,5,0" HorizontalAlignment="Center" VerticalAlignment="Center">      
                <controls:ClippingBorder x:Name="MainRegion"              ---------->This region load all module's view at present
                                         HorizontalAlignment="Center"  
                                         BorderThickness="0" CornerRadius="10" ClipContent="True" 
                                         Visibility="Visible"/>                  
            </Grid>
        </Grid>
    </UserControl>

     

  • User profile image
    joechung

    Try posting this on the MSDN forums. This forum is for feedback for the Channel 9 site.

  • User profile image
    Gautham​Shetty86

    joechung said:

    Try posting this on the MSDN forums. This forum is for feedback for the Channel 9 site.

    Do you mean www.silverlight.net forms?

                                    If so I already posted  this query

Comments closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums, or Contact Us and let us know.