-
Sam
18
posts
Member since:
Aug 2015
Posted 29 Mar 2017
Link to this post
I have an MVC KendoGrid with a custom popup editor that contains 3 select lists using razor DropDownListFor html helpers. I am using the optionLabel parameter on the helper to show "-- Select One --" empty option when creating a new record, but it is not being selected for 2 selects that have integer values. The other select that has a string type for value in the model is showing the "-- Select One --" corrrectly. Is there something I can do to have it selected in all 3 dropdown lists for new records?
-
-
Sam
18
posts
Member since:
Aug 2015
Posted 30 Mar 2017
Link to this post
Also, when I take the form outside of the grid custom editor template and put it in a view of its own and supply the same model, the dropdown lists behave as expected selecting the 0 index for all 3 dropdown lists
-
-
-