Grouping is working fine but not displaying the content

2 posts, 0 answers
  1. Subhendu
    Subhendu avatar
    10 posts
    Member since:
    Mar 2013

    Posted 17 May 2013 Link to this post

    I have the following XAML :
    <telerik:GroupDescriptor Member="{Binding DataContext.VMData.GroupingData,RelativeSource={RelativeSource  AncestorType={x:Type UserControl}}}"    SortDirection="Ascending" />

    As far as grouping is concerned this is working fine but the problem is the group descriptor isn't showing any text. Image attached.

    VMData is composite type  as below:
        public class CompositeType
        string groupingData;
            public string GroupingData
                get { return groupingData}
                set { groupingData= value; }

    In View model :

             private CompositeType _vMData= new CompositeType ();
           public CompositeType VMData
                   return _vMData;
                   _vMData= = value;
  2. Pavel Pavlov
    Pavel Pavlov avatar
    2039 posts

    Posted 23 May 2013 Link to this post


    Have you tried using the DisplayContent property of the GroupDescriptor ?

    Pavel Pavlov

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top