Unplanned
Last Updated: 30 Mar 2016 13:38 by ADMIN
ADMIN
Dimitar
Created on: 27 Feb 2015 15:46
Category: TreeView
Type: Bug Report
0
FIX. RadTreeView - the control cannot be properly bound to a class that inherits collection.
To reproduce:
Bind the tree to the following structure:
public class DeskSites
{
    public string DeskSiteName { get; set; }

    public Channels channels { get; set; }
}

public class Channels : List<Channel>
{
    
}

public class Channel
{
    public string ChannelName { get; set; }

    public FileSets fileSets { get; set; }
}

public class FileSets : List<FileSet>
{
   
}

public class FileSet
{
    public string FileSetName { get; set; }
}
Workaround:
Use the the generic class instead of the inherited one:
public class DeskSites
{
    public string DeskSiteName { get; set; }

    public List<Channel> channels { get; set; }
}

0 comments