When creating an OutlookBarGroup and when you add a new button to the content of this control. The button does not bind the command property until you click another OutlookBarGroup. When it first loads the buttons show but the Command Property is null. Why is this?
<UserControl xmlns:ig="http://schemas.infragistics.com/xaml" x:Class="OASIS.MainPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" d:DesignHeight="462" d:DesignWidth="734" Name="MainPage"> <Grid x:Name="LayoutRoot" Background="White"> <Grid.RowDefinitions> <RowDefinition Height="Auto"/> <RowDefinition Height="Auto"/> <RowDefinition /> </Grid.RowDefinitions> <Grid.ColumnDefinitions> <ColumnDefinition Width="Auto" /> <ColumnDefinition /> </Grid.ColumnDefinitions> <Grid Grid.Row="0" Grid.ColumnSpan="2" Height="50" Background="{StaticResource Brush03}"> <Grid.RowDefinitions> <RowDefinition Height="Auto"/> <RowDefinition Height="Auto"/> </Grid.RowDefinitions> <Grid.ColumnDefinitions> <ColumnDefinition Width="Auto"/> <ColumnDefinition /> </Grid.ColumnDefinitions> <Image Grid.Column="0" Margin="2,2,2,2"/> <TextBlock Grid.Row="0" Grid.ColumnSpan="2" FontStyle="Italic" FontSize="24" Foreground="White" FontFamily="Georgia" Text="OASIS" HorizontalAlignment="Center" Margin="2,2,2,2"/> <TextBlock Grid.Row="1" Grid.ColumnSpan="2" FontStyle="Italic" FontSize="12" Foreground="White" FontFamily="Georgia" Text="Order and Services Integrated System" HorizontalAlignment="Center" Margin="2,2,2,2"/> </Grid> <ig:XamOutlookBar Grid.Row="1" Grid.RowSpan="2" Grid.Column="0" > <ig:OutlookBarGroup Header="OASIS Operations"> <StackPanel Orientation="Vertical"> <Button Command="{Binding FormBrowserCommand}"> <StackPanel Orientation="Horizontal"> <Image Source="/OASIS;component/Asset/Images/StackOfFinancialPapers16.png" Margin="2,2,2,2"/> <TextBlock Text="Form Browser" Style="{StaticResource ButtonTextStyle}"/> </StackPanel> </Button> <Button Command="{Binding ReportsCommand}"> <StackPanel Orientation="Horizontal"> <Image Source="/OASIS;component/Asset/Images/ReportWithChart16.png" Margin="2,2,2,2"/> <TextBlock Text="Reports" Style="{StaticResource ButtonTextStyle}"/> </StackPanel> </Button> <Button> <StackPanel Orientation="Horizontal"> <Image Source="/OASIS;component/Asset/Images/Receipt16.png" Margin="2,2,2,2"/> <TextBlock Text="Enquiries" Style="{StaticResource ButtonTextStyle}"/> </StackPanel> </Button> <Button> <StackPanel Orientation="Horizontal"> <Image Source="/OASIS;component/Asset/Images/User16.png" Margin="2,2,2,2"/> <TextBlock Text="My Settings" Style="{StaticResource ButtonTextStyle}"/> </StackPanel> </Button> <Button> <StackPanel Orientation="Horizontal"> <Image Source="/OASIS;component/Asset/Images/MessageBalloon16.png" Margin="2,2,2,2"/> <TextBlock Text="Links" Style="{StaticResource ButtonTextStyle}"/> </StackPanel> </Button> </StackPanel> <ig:OutlookBarGroup.LargeIconTemplate> <DataTemplate> <Image Source="/OASIS;component/Asset/Images/User32.png" /> </DataTemplate> </ig:OutlookBarGroup.LargeIconTemplate> </ig:OutlookBarGroup> <ig:OutlookBarGroup Header="Credit Review"> <StackPanel Orientation="Vertical"> <Button> <StackPanel Orientation="Horizontal"> <Image Margin="2,2,2,2" Source="/OASIS;component/Asset/Images/OfficeChair16.png"/> <TextBlock Style="{StaticResource ButtonTextStyle}" Text="WorkBench"/> </StackPanel> </Button> </StackPanel> <ig:OutlookBarGroup.LargeIconTemplate> <DataTemplate> <Image Source="/OASIS;component/Asset/Images/CreditCard32.png" /> </DataTemplate> </ig:OutlookBarGroup.LargeIconTemplate> </ig:OutlookBarGroup> <ig:OutlookBarGroup Header="E Quote"> <StackPanel Orientation="Vertical"> <Button> <StackPanel Orientation="Horizontal"> <Image Margin="2,2,2,2" Source="/OASIS;component/Asset/Images/OfficeChair16.png"/> <TextBlock Style="{StaticResource ButtonTextStyle}" Text="WorkBench"/> </StackPanel> </Button> </StackPanel> <ig:OutlookBarGroup.LargeIconTemplate> <DataTemplate> <Image Source="/OASIS;component/Asset/Images/ReportWithNumbers32.png" /> </DataTemplate> </ig:OutlookBarGroup.LargeIconTemplate> </ig:OutlookBarGroup> <ig:OutlookBarGroup Header="Quick Entry"> <StackPanel Orientation="Vertical"> <Button> <StackPanel Orientation="Horizontal"> <Image Margin="2,2,2,2" Source="/OASIS;component/Asset/Images/OfficeChair16.png"/> <TextBlock Style="{StaticResource ButtonTextStyle}" Text="WorkBench"/> </StackPanel> </Button> </StackPanel> <ig:OutlookBarGroup.LargeIconTemplate> <DataTemplate> <Image Source="/OASIS;component/Asset/Images/SpreadsheetNumbers32.png" /> </DataTemplate> </ig:OutlookBarGroup.LargeIconTemplate> </ig:OutlookBarGroup> </ig:XamOutlookBar> <ig:XamDockManager Content="{Binding DocHost}" Grid.Column="1" Grid.Row="2" Name="mainContentManager"> </ig:XamDockManager> <ig:XamMenu Grid.Column="1" Grid.Row="1" Margin="0,2,0,0"> <ig:XamMenuItem Header="File"> <ig:XamMenuItem Header="Help"> <ig:XamMenuItem.Icon> <Image Source="/OASIS;component/Asset/Images/MessageBalloon16.png" /> </ig:XamMenuItem.Icon> </ig:XamMenuItem> <ig:XamMenuItem Header="Log Out"> <ig:XamMenuItem.Icon> <Image Source="/OASIS;component/Asset/Images/User16.png" /> </ig:XamMenuItem.Icon> </ig:XamMenuItem> <ig:XamMenuItem.Icon> <Image Source="/OASIS;component/Asset/Images/Cabinet16.png" /> </ig:XamMenuItem.Icon> </ig:XamMenuItem> </ig:XamMenu> </Grid> </UserControl>
Hello,
We have shipped out a new service release where your issue is resolved. I'd be glad to find out if you had tested it out and if it had met your requirements.
You can download the Service Releases by logging to our web site and going to Account \Keys & Downloads.
As I said in my previous post, I asked our developers to investigate this further for you, so they will say if this is related to our control or Silverlight. Also for the moment the only workaround seems to be the one you described.
ok so you are saying that this is a bug. The only workaround is the load the outlookbar minimized..
I have logged this with development under ID: 130735 and I have also created a support ticket on your behalf: CAS-108338-C1W3Q4 and have linked the development issue to it, so that you can get automatically updated, when a Service Release containing the fix is available for download. You can get the new version from our website’s “My IG”, “My Keys & Downloads” tags: https://es.infragistics.com/Membership/Default.aspx?panel=Downloads#Downloads
You can also monitor the support ticket’s progress through the “My Support Activity” tag: https://es.infragistics.com/Membership/MySupport.aspx