thanks for that example. I have declared in web.config maximal file size:
Then I couldn't use OnClientValidationFailed
client side method from your example, but instead of it I need to use OnClientFileUploadFailed
event. But in this method, It seems that index is undefined there.
var index = $(args.get_row()).index();
Please help me to solve my issue, how to remove last uploaded file which has bigger size than it's defined in web.config.