【发布时间】:2015-05-08 06:12:15
【问题描述】:
谁能回答,如何从 radgrid 的详细表中读取值,我可以使用 BatchEditCommand 从主表中读取,但在单击 savechanges 按钮时不能从详细表中读取:
Protected Sub radDataEntry_BatchEditCommand(sender As Object, e As Telerik.Web.UI.GridBatchEditingEventArgs) Handles radDataEntry.BatchEditCommand
Dim newValues As Hashtable
Dim oldValues As Hashtable
For Each command As GridBatchEditingCommand In e.Commands
If (command.Type = GridBatchEditingCommandType.Update) Then
newValues = command.NewValues
oldValues = command.OldValues
Dim ID As String = newValues("ID").ToString()
End If
Next
End Sub
【问题讨论】: