RadPaneGroup ItemTemplateSelector not working

2 posts, 0 answers
  1. Greg Horvath
    Greg Horvath avatar
    9 posts
    Member since:
    Aug 2009

    Posted 10 Feb 2015 Link to this post

    I am attempting to use an ItemTemplateSelectorselector with the RadPaneGroup control.

       <telerik:RadPaneGroup x:Name="RadPaneGroupMain" ItemsSource="{Binding OpenDocuments}" ItemTemplateSelector="        {StaticResource OpenDocumentTemplateSelector}">

    The ItemTemplateSelector is defined as a static resource on the window. It is getting instantiated (tested via breakpoint in constructor) but the DataTemplateSelector.SelectTemplate method is never called. Code for the DataTemplateSelector is below.

    internal class ModuleNodeEntityDataTemplateSelector : DataTemplateSelector
        public const string NoModuleEntityEditorTemplateKey = "NoModuleEntityEditorTemplate";
        public override DataTemplate SelectTemplate(object item, DependencyObject container)
            var containerTyped = (RadPaneGroup)container;
            return (DataTemplate) containerTyped.Resources[NoModuleEntityEditorTemplateKey];

  2. Kalin
    Kalin avatar
    1190 posts

    Posted 13 Feb 2015 Link to this post

    Hi Greg,

    I'm afraid that the ItemTemplateSelector property is not supported from RadPaneGroup. You can check the following article for the full list of the not supported properties from RadDocking:

    Hope this helps.


    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

  3. DevCraft R3 2016 release webinar banner
Back to Top