This is a migrated thread and some comments may be shown as answers.

custom object (nested List<>) binding

1 Answer 105 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Dennis
Top achievements
Rank 1
Dennis asked on 18 Aug 2011, 04:59 PM

I'm pretty new to the Telerik controls, I'm looking for the best way to bind the following custom object to a RadGrid:

public class LevenshteinMatch
{
    public string SourceA { get; set; }
    public string SourceB { get; set; }
    public List<LevenshteinScore> editScore { get; set; }
}
public class LevenshteinScore
{
    public string PartA { get; set; }
    public string PartB { get; set; }
    public int Score { get; set; }
}

Thanks.

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 19 Aug 2011, 07:27 AM
Hello Dennis,

Check the following help documentation and demo which explains how to bind custom collections of objects.
Tips When Binding to Custom Collections.
Grid / Various DataSources.

Thanks,
Princy.
Tags
Grid
Asked by
Dennis
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or