ComponentOne ToolBar for ASP.NET AJAX: Adding and Uploading Files > Uploading Trigger Options

Uploading Trigger Options

C1Upload provides flexible trigger options that allow you to control on which action to submit the files to the server.

Use the UploadTrigger property to define the trigger behavior for uploading files. The default value for this property is UploadTrigger.OnUploadClick. You can choose from one of three trigger options as described in the following table.

 

Trigger Option

Description

OnUploadClick

Start uploading when clicking the [Upload] button.

OnFileSelect

Start uploading when selecting a file.

Never

Only upload by calling the client-side Upload() method.


Send comments about this topic to ComponentOne.
Copyright © 1987-2010 ComponentOne LLC. All rights reserved.