Hello,
I'm having a issue getting 'AG_E_UNKNOWN_ERROR' after upgrading the Telerik libs from Q3.1103 to Q3.1314. I've tried repeated attempts at debugging but am unable to get any clearer a message than the following:
System.Windows.Markup.XamlParseException occurred
Message="AG_E_UNKNOWN_ERROR [Line: 37 Position: 30]"
LineNumber=37
LinePosition=30
StackTrace:
at System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)
at Foo.Controls.ThemeSelector.InitializeComponent()
at Foo.Controls.ThemeSelector..ctor()
InnerException:
This is the XAML it's trying to parse:
<UserControl
x:Class="Foo.Controls.ThemeSelector"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:telerik="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Input"
Margin="3,0,3,0">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="Auto" />
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<TextBlock Grid.Column="0" Text="Theme" VerticalAlignment="Center" />
<telerik:RadComboBox Grid.Column="1" x:Name="comboThemes" VerticalAlignment="Center" SelectionChanged="ComboThemes_SelectionChanged"
Margin="3,0,0,0">
<telerik:RadComboBox.ItemTemplate>
<DataTemplate>
<TextBlock Text="{Binding Name}">
<ToolTipService.ToolTip>
<ToolTip BorderThickness="1" BorderBrush="DarkGray">
<ToolTip.Effect>
<DropShadowEffect BlurRadius="20" ShadowDepth="5" />
</ToolTip.Effect>
<Image Source="{Binding Thumbnail}" />
</ToolTip>
</ToolTipService.ToolTip>
</TextBlock>
</DataTemplate>
</telerik:RadComboBox.ItemTemplate>
</telerik:RadComboBox>
<TextBlock x:Name="labelColorScheme" Grid.Column="2" Text="Color Scheme" VerticalAlignment="Center" Margin="3,0,0,0" Visibility="Collapsed" />
<telerik:RadComboBox Grid.Column="3" x:Name="comboColorSchemes" VerticalAlignment="Center" SelectionChanged="ComboThemes_SelectionChanged"
Margin="3,0,0,0" Visibility="Collapsed">
<telerik:RadComboBox.ItemTemplate>
<DataTemplate>
<TextBlock Text="{Binding Name}">
<ToolTipService.ToolTip>
<ToolTip BorderThickness="1" BorderBrush="DarkGray">
<ToolTip.Effect>
<DropShadowEffect BlurRadius="20" ShadowDepth="5" />
</ToolTip.Effect>
<Image Source="{Binding Thumbnail}" />
</ToolTip>
</ToolTipService.ToolTip>
</TextBlock>
</DataTemplate>
</telerik:RadComboBox.ItemTemplate>
</telerik:RadComboBox>
</Grid>
</UserControl>
The position where the parse exception says it is coming from is right after closing of the first telerik:RadComboBox element.
Any help you can provide would be appreciated,