XamlParseException was thrown

4 posts, 0 answers
  1. Xaria D
    Xaria D avatar
    68 posts
    Member since:
    May 2010

    Posted 13 Oct 2010 Link to this post

    Type reference cannot find type named '{clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls}TransparentTheme'.
       at MS.Internal.Xaml.Context.ObjectWriterContext.ServiceProvider_Resolve(String qName)
       at MS.Internal.Xaml.ServiceProviderContext.System.Windows.Markup.IXamlTypeResolver.Resolve(String qName)
       at System.Windows.Markup.TypeTypeConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value)
       at System.Windows.Baml2006.TypeConverterMarkupExtension.ProvideValue(IServiceProvider serviceProvider)
       at MS.Internal.Xaml.Runtime.ClrObjectRuntime.CallProvideValue(MarkupExtension me, IServiceProvider serviceProvider)
  2. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 15 Oct 2010 Link to this post

    Hi Xaria,

    Thank you for contacting us.

    Could you please give us some more details about how you are receiving this exception - which version of the controls you are using, which controls you are using, and everything you think is essential. Meanwhile, if you could reproduce this exception in a sample project and send it to us, it will be very helpful for us to investigate the cause of the problem.

    Looking forward to your reply.

    Regards,
    Konstantina
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. UI for WPF is Visual Studio 2017 Ready
  4. Anderson
    Anderson avatar
    16 posts
    Member since:
    Feb 2008

    Posted 20 Oct 2010 Link to this post

    I'm getting this exact issue as well.  It only occurs in WPF when I have an object that I have DataTemplated with a template that includes the Telerik ComboBox.

    Here's a stack trace.
    System.Windows.Markup.XamlParseException: Set property 'System.Windows.ResourceDictionary.DeferrableContent' threw an exception. ---> System.Xaml.XamlObjectWriterException: Provide value on 'System.Windows.Baml2006.TypeConverterMarkupExtension' threw an exception. ---> System.Xaml.XamlParseException: Type reference cannot find type named '{clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls}TransparentTheme'.
       at MS.Internal.Xaml.Context.ObjectWriterContext.ServiceProvider_Resolve(String qName)
       at MS.Internal.Xaml.ServiceProviderContext.System.Windows.Markup.IXamlTypeResolver.Resolve(String qName)
       at System.Windows.Markup.TypeTypeConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value)
       at System.Windows.Baml2006.TypeConverterMarkupExtension.ProvideValue(IServiceProvider serviceProvider)
       at MS.Internal.Xaml.Runtime.ClrObjectRuntime.CallProvideValue(MarkupExtension me, IServiceProvider serviceProvider)
       --- End of inner exception stack trace ---
       at MS.Internal.Xaml.Runtime.ClrObjectRuntime.CallProvideValue(MarkupExtension me, IServiceProvider serviceProvider)
       at System.Xaml.XamlObjectWriter.Logic_ProvideValue(ObjectWriterContext ctx)
       at System.Xaml.XamlObjectWriter.Logic_AssignProvidedValue(ObjectWriterContext ctx)
       at System.Xaml.XamlObjectWriter.WriteEndMember()
       at System.Xaml.XamlWriter.WriteNode(XamlReader reader)
       at System.Xaml.XamlServices.Transform(XamlReader xamlReader, XamlWriter xamlWriter, Boolean closeWriter)
       at System.Windows.ResourceDictionary.EvaluateMarkupExtensionNodeList(XamlReader reader, IServiceProvider serviceProvider)
       at System.Windows.ResourceDictionary.GetKeyValue(KeyRecord key, IServiceProvider serviceProvider)
       at System.Windows.ResourceDictionary.SetKeys(IList`1 keyCollection, IServiceProvider serviceProvider)
       at System.Windows.ResourceDictionary.SetDeferrableContent(DeferrableContent deferrableContent)
       at System.Windows.Baml2006.WpfSharedBamlSchemaContext.<Create_BamlProperty_ResourceDictionary_DeferrableContent>b__168(Object target, Object value)
       at System.Windows.Baml2006.WpfKnownMemberInvoker.SetValue(Object instance, Object value)
       at MS.Internal.Xaml.Runtime.ClrObjectRuntime.SetValue(XamlMember member, Object obj, Object value)
       at MS.Internal.Xaml.Runtime.ClrObjectRuntime.SetValue(Object inst, XamlMember property, Object value)
       --- End of inner exception stack trace ---
       at System.Windows.Markup.XamlReader.RewrapException(Exception e, IXamlLineInfo lineInfo, Uri baseUri)
  5. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 26 Oct 2010 Link to this post

    Hi Anderson,

    Could you please prepare a sample project in which this issue can be observed. I tried to reproduce it, but to no avail. Please give us some more details about the object which is DataTemplated. If you could send us your project so that we can run here locally and debug it, we will be able to provide you with a solution in a timely manner.

    Looking forward to your reply.

    All the best,
    Konstantina
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top