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

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -