asp.net mvc - Kendo comboBox editor with nested grid -
asp.net mvc - Kendo comboBox editor with nested grid -
i tried add together combobox editor template in kid kendo grid (nested grid), when open page error returns says "invalid template".
what right way add together combo box editor template in kid grid
here editor template code
@( html.kendo().combobox() .datatextfield("origintext") .datavaluefield("originid") .name("originid") .filter("contains") .datasource(source => { source.read(read => { read.action("origin_combo", "itemorigin"); }) .serverfiltering(true); }))
and part of grid
.name("itemorigin_#=itemsuppliersid#") . . columns.bound(p => p.origin.originnamee") .editortemplatename("origincomboeditor") .includeinmenu(false);
the editortemplate combobox: name("originid") should match grid column's name :"columns.bound(p => p.origin.originnamee")
so. else alter editortemplate name origin.originnamee or setup grid model new name column.
asp.net-mvc combobox kendo-ui kendo-grid
Comments
Post a Comment