Hello,
In order to extract the uploaded file contents you can modify the logic as demonstrated below.
C#:
More information about accessing the user changes can be found in this help article.
Regards,
Angel Petrov
Telerik
In order to extract the uploaded file contents you can modify the logic as demonstrated below.
C#:
protected
void
RadGrid1_BatchEditCommand(
object
sender, GridBatchEditingEventArgs e)
{
foreach
(GridBatchEditingCommand command
in
e.Commands)
{
if
((command.Type == GridBatchEditingCommandType.Update))
{
Hashtable newValues = command.NewValues;
if
(newValues !=
null
)
{
byte
[] file = (
byte
[])newValues[
"AttachmentColumn"
];
}
}
}
}
Regards,
Angel Petrov
Telerik
See What's Next in App Development. Register for TelerikNEXT.