You can change the source of image by using the complete event of UploadBox control.
Initially, you can render the image tag with the source of image as illustrated in the following code example.
Declare the complete event in UploadBox control as illustrated in the following code example.
The complete event triggers when the file upload progress is completed. To change the img tag src by a selected image from the UploadBox, use the complete event in the script section as illustrated in the following code example.
The parameters passed in the argument of complete event is illustrated in the following API reference UG link.
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|