Hello,
Hope someone can help me out, i'm struggling with some thing that i want to do.
I have
All i want to do is binding a List<Entry> to a RadGrid and then show the Attributes as a columns. i'm thinking about having the Attributes radgrid inside the Entry radgrid.
Do you think i'm in the right way ? Or should i used Hierarchical Rad Grid or NestedViewTemplate ?
Thanks in advance
Hope someone can help me out, i'm struggling with some thing that i want to do.
I have
public class AttributeValue
{
public string Name {get;set;}
public string Value {get;set;}
}
public class Entry
{
public string EntryName {get;set;}
public List<
AttributeValue
> Attributes {get;set;}
}
All i want to do is binding a List<Entry> to a RadGrid and then show the Attributes as a columns. i'm thinking about having the Attributes radgrid inside the Entry radgrid.
<
telerik:RadGrid
ID
=
"rgEntry"
runat
=
"server"
>
<
MasterTableView
>
<
Columns
>
<
telerik:GridTemplateColumn
>
<
ItemTemplate
>
<
telerik:RadGrid
ShowHeader
=
"false"
ShowFooter
=
"false"
runat
=
"server"
ID
=
"rgAttributes"
>
</
telerik:RadGrid
>
</
ItemTemplate
>
<
HeaderTemplate
>
</
HeaderTemplate
>
</
telerik:GridTemplateColumn
>
</
Columns
>
</
MasterTableView
>
</
telerik:RadGrid
>
Do you think i'm in the right way ? Or should i used Hierarchical Rad Grid or NestedViewTemplate ?
Thanks in advance