Hi,
I am a new Silverlight developer and I am trying something simple such as including
a xamWebOutlookBar in a silverlight control and getting and error The property 'System.Windows.Controls.Panel.Children' is set more than once.
I am using 10.1 version. The xaml given below
Could anyone please help me with what I am missing here?
Thanks
Anand
<UserControl x:Class="Infragistics.Samples.Silverlight.Browser.LOB.Samples.OutlookBar.CreatingXamOutlookBar" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:igOB="clr-namespace:Infragistics.Silverlight.Controls;assembly=Infragistics.Silverlight.XamWebOutlookBar.v10.1"> <Grid> <Grid.ColumnDefinitions> <ColumnDefinition Width="Auto"> </ColumnDefinition> <ColumnDefinition> </ColumnDefinition> </Grid.ColumnDefinitions> <!--#BEGIN SNIPPET#--> <igOB:XamWebOutlookBar Name="xamWebOutlookBar1"> </igOB:XamWebOutlookBar> <!--#END SNIPPET#--> </Grid> </UserControl>
Based on the build number, this is the 2010.1 Volume Release which is built for Silverlight 3 and that's what causing the issue. There are two options:
1. Apply latest Service Release (starting from the first 2010.1 SR, assemblies are build for Silverlight 4)
2. Open Properties -> Build of your Silverlight project and select Silverlight target version to Silverlight4
HTH,
Infragistics Silverlight version 10.1.20101.1005
I am using Silverlight 4
Could you let us know which version of our product are you using (including SR or build number)?
Also, which is the version of the Silverlight of your project?
Regards,