asp.net - Telerik kendo grid and template for ForeignKey column -
i have grid
@(html.kendo().grid<models.worker>() .name("grid") .columns(columns => { //columns.bound(p => p.usercard); columns.foreignkey(p => p.secid, (list<usercard>)viewdata["cards"], "id", "code").editortemplatename("gridforeignkey"); columns.bound(p => p.firstname); columns.bound(p => p.lastname); columns.bound(p => p.secondname); columns.bound(p => p.phone); columns.bound(p => p.email); columns.command(command => { command.edit(); command.destroy(); }).width(220); }) .toolbar(toolbar => toolbar.create()) .editable(editable => editable.mode(grideditmode.popup) .displaydeleteconfirmation(true) .window(window=> window.width(470)) )
grid show forigncolumn excelent when try edit row in window column secid show textblock not combobox. editortemplatename("gridforeignkey") template placed in view/shared/editortemplate/ , didn't change it. start create web apps , use telerik controls asp.net please me understand wrong.
Comments
Post a Comment