Hi there
I want to use a NestedViewTemplate in a RadGrid and then selectively display information depending on the status of a specific field.
I am working on a project where I want to display data, but depending on the type of entry (specified in a specific field) I need to show or hide some fields, or preferably templates in different panels.
e.g.
Type: Car
Engine: 2000cc
Color: Metalic Blue
Type: Bicycle
Color: Blue
Type: Motorcycle
Engine: 1000cc
Color: Red
In the second case (Type: Bicycle), the "Engine" field is not applicable, so I want to be able to hide it.
Any suggestions as to how this can be done?
One possibility is to hide the table row, another is to have different panels with a unique template in each and then show or hide the panels depending on the the value in the "Type" field. I would prefer this kind of approach, if possible.
How can this be achieved?
Thanks.
Gerrit
I want to use a NestedViewTemplate in a RadGrid and then selectively display information depending on the status of a specific field.
I am working on a project where I want to display data, but depending on the type of entry (specified in a specific field) I need to show or hide some fields, or preferably templates in different panels.
e.g.
Type: Car
Engine: 2000cc
Color: Metalic Blue
Type: Bicycle
Color: Blue
Type: Motorcycle
Engine: 1000cc
Color: Red
In the second case (Type: Bicycle), the "Engine" field is not applicable, so I want to be able to hide it.
Any suggestions as to how this can be done?
One possibility is to hide the table row, another is to have different panels with a unique template in each and then show or hide the panels depending on the the value in the "Type" field. I would prefer this kind of approach, if possible.
How can this be achieved?
Thanks.
Gerrit