开发者

custom edit template telerik mvc grid

开发者 https://www.devze.com 2023-03-07 01:17 出处:网络
I use telerik mvc grid and pop up edit template. But I\'ve no idea when I want to custom my edit template. telerik bind all field on my model to it\'s edit template automatically.

I use telerik mvc grid and pop up edit template. But I've no idea when I want to custom my edit template. telerik bind all field on my model to it's edit template automatically.

so, how can I change the edit template, such as it's layout, or I want to chang开发者_运维技巧e textbox to dropdownlist ?


You need to create an editor template for your model. Brad Wilson has explained this nicely in a blog post (which is part of a series). There is also a code library project which shows a working implementation of a custom popup editor form.

0

精彩评论

暂无评论...
验证码 换一张
取 消