从服务器端代码隐藏进行数据绑定时,内联插入和编辑 radgrid
在我的应用程序中,我正在创建一个新网格,其中我试图为 radgrid 实现内联插入和编辑,其中数据是从后面的服务器端代码绑定的,我试图采用下一篇文章中实现的逻辑 http://demos.telerik.com/aspnet-ajax /grid/examples/dataediting/alleditablecolumns/defaultcs.aspx 我面临的问题是在这篇文章中,它显示了来自客户端的数据,请我获取任何其他文章或示例工作项目,其中正在实现 radgrid 的内联插入和编辑。
谢谢, 马赫什
In my application i am creating a new grid where i am trying to implement inline inserting and editing for radgrid where data is being binded from serverside code behind , I am trying to adopt the logic implemented in the following article
http://demos.telerik.com/aspnet-ajax/grid/examples/dataediting/alleditablecolumns/defaultcs.aspx
The problem i am facing is in this article its shown for data being from clientside ,please can i get any other article or sample working project where inline inline inserting and editing for radgrid is being implemented.
Thanks,
Mahesh
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您发送的演示链接确实显示了带有内联编辑的服务器端自动 CRUD 操作,而不是客户端。如果查看 DefaultCS.aspx.cs 视图,您会发现所有 CRUD 操作都在代码隐藏中订阅。
也许您正在寻找手动方法,而不是上面采用的自动方法。 这个演示非常完美地展示了功能,尽管它没有显示内联编辑表单。要显示它很容易,因为您只需将 EditMode 属性设置为 InPlace 即可。
The demo link that you sent along does show the server-side automatic CRUD operations with inline editing, not client-side. If you look on the DefaultCS.aspx.cs view you see that all of the CRUD operations are being subscribed to in the code-behind.
Perhaps you are looking for the manual approach as opposed to the automatic approach taken above. This demo shows off the functionality pretty perfectly, although it doesn't show the in-line edit form. To display this is easy, as all you have to do is set the EditMode property to InPlace.