While in Batch Edit mode and using a hierarchy table I am getting an error in the BatchEditCommand event.
foreach (GridBatchEditingCommand command in e.Commands)
Hashtable newValues = command.NewValues;
Hashtable oldValues = command.OldValues;
string newFirstName = newValues["FirstName"].ToString();
In the foreach method there is an error thrown saying that a column with the unique name "System" cannot be found.
The SaveAllHiearchyLevels attribute is set to true. When I set the SaveAllHiearchyLevels attribute to false I do not get the error, but the e.commands = 0;
Note: The Grid is also being created from code behind and added to the page in the Init page event.