ASPxClientUploadControl.SetDialogTriggerID(ids) Method

Sets the ID of a web control or HTML element (or a list of IDs), a click on which invokes file upload dialog.

Declaration

SetDialogTriggerID(ids: string): void

Parameters

Name Type Description
ids string

A string value specifying the ID or a list of IDs separated by the semicolon (;).

Remarks

Use the client SetDialogTriggerID method to specify the web control or HTML element, a click on which invokes file upload dialog. You can also specify a list of control IDs separated by the semicolon (;).


clientUploadControl.SetDialogTriggerID('ASPxImage1;ASPxImage2');

To specify a dialog trigger element on the server side, use the ASPxUploadControl.DialogTriggerID property.

See Also