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

[Solved] How can I use the same Editor Template in 3 columns

1 Answer 64 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Deise
Top achievements
Rank 1
Deise asked on 10 Sep 2012, 01:58 PM
Hi guys;
I'm creating a Grid where I use a DropDownList Editor Template. I need to use this Editor Template in 3 different columns in the same line, but it doesn't work, only the first DropDownList is filled when I select it.
In the Model of the screen I have this:
public String Description { get; set; }
 
[UIHint("DropDownListYesNo")]       
public string DisplayTubo { get; set; }
 
[UIHint("DropDownListYesNo")]
public string GabineteFrontal { get; set; }
 
[UIHint("DropDownListYesNo")]
public string GabineteTraseiro { get; set; }
I need to show the options "Yes, No and Don't apply" in the DropDownList , so I created a Editor Template to repeat in all of the columns that are necessary, but it doesn't work.
Is there another way to do it? Or what is the problem in the way that I'm doing?

1 Answer, 1 is accepted

Sort by
0
Deise
Top achievements
Rank 1
answered on 10 Sep 2012, 03:09 PM
I found the solution here.
Tags
Grid
Asked by
Deise
Top achievements
Rank 1
Answers by
Deise
Top achievements
Rank 1
Share this question
or