Two File Upload in on page

I want to use two File Upload on one page, but it does not work when I put an ID for the second Uploader other than  "UploadFiles".

When the ID is equal to "UploadFiles", everything works fine

Is it not possible to put two uploader files on one page?


1 Reply

UD UdhayaKumar Duraisamy Syncfusion Team June 27, 2022 06:02 PM UTC

Hi hkourd,


The name / ID attribute must match the name of a parameter in the POST method. The name attribute is automatically generated from the control’s ID property. If the name attribute differs from the ID property, then you can use the htmlAttributes property to set the name attribute directly to the input element. For more information refer here.


Regards,

Udhaya Kumar D


Loader.
Up arrow icon