All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
<
telerik:RadGrid
ID
=
"RadGrid1"
runat
"server"
OnBatchEditCommand
"RadGrid1_BatchEditCommand"
>
MasterTableView
EditMode
"Batch"
CommandItemDisplay
"Top"
DataKeyNames
"ID"
BatchEditingSettings
OpenEditingEvent
"Click"
/>
protected
void
RadGrid1_BatchEditCommand(
object
sender, GridBatchEditingEventArgs e)
{
foreach
(GridBatchEditingCommand command
in
e.Commands)
if
((command.Type == GridBatchEditingCommandType.Update))
Hashtable newValues = command.NewValues;
Hashtable oldValues = command.OldValues;
string
ID = newValues[
].ToString();
Name = newValues[
"Name"
try
//Code to Update
}
catch
(Exception ex)
// Exception Message