RadzenUpload save to method

I have three fields on the form, two of which need to select a file.
After which I have to form the object:

public class MyData
   public string Name { get; set; }
   public byte[] File1 { get; set; }
   public byte[] File2 { get; set; }

The option with URL is not suitable for me, is there any other way?

The only other way is to use the FileInput - you need to use strings for the file contents property.

1 Like

can an example?, I do not quite understand how to do this