Enable or Disable the UploadBox

25 Apr 20171 minute to read

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.