自定义 RadGrid EditItemTemplate Telerik
我创建了一个 RadGrid 并添加了默认编辑内容,以便我可以编辑表中的数据。但是,没有对生成的控件进行验证,并且用户界面不太友好。我想向控件添加一些验证,并使用 css 对其进行样式设置。
这样做的最佳方法是什么?是否可以向自动生成的用于编辑列的控件添加验证和样式?或者我应该创建一个自定义模板来执行此操作吗?
我只是想指出正确的方向,所以请留下任何反馈或见解!
I created a RadGrid and added in the default edit stuff so that I can edit the data in my table. However, there is no validation for the controls that were generated and it is not very user friendly. I want to add some validation to the controls and also style them with css.
What would be the best way to go about doing this? Is it possible to add validation and styling to the controls that are automatically generated for editing columns? OR Should I create a custom template to do this?
I am just trying to get pointed in the right direction so please leave ANY feedback or insight into this!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您想要的是创建一个编辑表单模板。
http://www.telerik.com/help/aspnet-ajax /grid-edit-forms.html
What you want is to create an Edit Form Template.
http://www.telerik.com/help/aspnet-ajax/grid-edit-forms.html