Hi. First time here. Radzen looks very promising.I'm researching if Radzen is worthwhile to replace an old Telerik-based CMS and so far it's going well, except for an issue I bumped into today:
I implemented a RadzenUpload. Now, I want to set a limiting file size of e.g. 2MB for a PNG image. Telerik had a nice MaxFileSize parameter for that in their upload component and would throw an error for larger files. I was hoping for something similar, but no.
So, I decided to be creative: I assumed the Change event is called right after a file is selected and prior to the actual start of uploading the file to the server. I therefore thought i could get the (single) file via the UploadChangeEventArgs and then just use args.Files.First().Size to validate its size and if that was invalid, stop the upload process by just invoking the reffed _upload.Error.InvokeAsync();. However, the Change event is NEVER invoked when i pick a file? That must be a bug?