Enable or Disable the UploadBox

The Enabled property is Boolean type, which allow us to set the enable or disable the UploadBox. By default value of Enabled property is true.

The following steps explain the configuration of Enabled property in UploadBox.

In the VIEW page, add below code to configure the UploadBox element.

  • cshtml
  • <ej-upload-box id="UploadDefault" save-url="//mvc.syncfusion.com/Services/FileUpload/UploadBox/saveFiles" remove-url="//mvc.syncfusion.com/Services/FileUpload/UploadBox/removeFiles" enabled="false"></ej-upload-box>

    The following screenshot displays the output.