I'm using the RadzenUpload component to upload only image files. But I want the restriction that the uploaded file should not be more than 1 MB. I want to integrate this CompareValidator component, which can compare 1MB of size with the uploaded file size.
Any thoughts on how to implement this functionality?