【发布时间】:2011-05-12 09:23:02
【问题描述】:
我正在使用 MasterTableEditForm 在 RadGrid 中插入行。在编辑表单中,我有一个带有 commandname = "PerformInsert" 属性的按钮,用于插入新行。
在 C# 中,我将 InsertCommand 事件用于我的自定义插入逻辑。 在此之后,我的 MasterTableEditForm 正在关闭,但是每次刷新页面时, InsertCommand 都会再次使用 commandname = "PerformInsert" 属性进行处理,并且重复插入操作。
那么我该怎么做才能避免多次 InsertCommand 处理?
谢谢!
【问题讨论】:
标签: c# telerik telerik-grid