Hi Samuele,
We looked into the issue. The root of the the problem is a CallbackPanel does NOT postbacks the files for you. It posts back all other form data but not the file. File is a very special input element and it's much more complicated to AJAX-enable it (We have a totally separate control that does just that).
If you are fine with full page reload with file submit (You can still use CallbackPanel for other partial page update, for example, displaying the file input element) You can use the following workaround:
1. Make sure you have
enctype="multipart/form-data" on your form element;
2. Avoid letting the DataGrid to submit the change. You can use a regular HTML element to submit the change, for example, a TemplateColumn like this:
Code: HTML/ASPX
<asp:TemplateColumn>
<ItemTemplate>
<input type="submit" value="Submit" />
</ItemTemplate>
</asp:TemplateColumn>
This should give you the file. However this does not give you the item index like a regular DataGrid event does. So you will need to have some mechanism to "remember" the last edited item index.
Thanks