This question is locked. New answers and comments are not allowed.
Hello,
I have an entity with a Type property like this (a foreign key) :
| public sealed partial class Project : Entity |
| { |
| [Display(Name="Type")] |
| public ProjectType Type |
| { |
| get { ... } |
| set { ... } |
| } |
| } |
My ProjectType class has a DisplayColumn attribute :
| [DisplayColumn("Label")] |
| public sealed partial class ProjectType : Entity |
| { |
| ... |
| public string Label |
| { |
| get { ... } |
| set { ... } |
| } |
| ... |
| } |
I want to autogenerate my columns in a RadGridView, but I didn't succeed for the Type property of my Project class. The value into this column is "ProjectType : PrimaryKey value", not my label.
Is there another way to display a foreign key column or must I forget to autogenerate columns ?
Cordially,
Stephane.
Cordially,
Stephane.