You can pass the data to the controller by using the Begin event of the UploadBox control. In the Begin event, pass the data in the script section.
You have to render the UploadBox control in the View page as shown in the following code example.
In the Begin event, pass the data in the script section as follows.
After passing the data in the Begin event, pass the value as string in the controller page and return the data as shown in the following code example. Then, set the string value as the ID of the UploadBox continued by _data. For example, UploadDefault_data. Here, the ID of the UploadBox is UploadDefault.
Note: Here, the UploadDefault_data is returned to the View page in order to display the additional data in the View page.
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|