Additional Fields
RadAsyncUpload provides the client-side event OnClientFileUploaded
which can be used to manipulate the rows, added by selecting a file from the dialog
window. Using this event you can add any HTML element to RadAsyncUpload, including
inputs.
The client-side method of RadAsyncUpload getAdditionalFieldID(name) generates
the ID and the name of the additional input elements. It is important to use it
in OnClientFileUploaded event handler function in order to be able to retrieve input values
from the newly added fields on the server-side.
At Server-side you can obtain the additional fields values using theUploadedFile.GetFieldValue(name)
method. You should use the same value which was passed to the getAdditionalFieldID(name)
method in order to retrieve the input value.
Click on the "Select" button in order to show the file dialog and select file for upload. Once the file is uploaded to the temporary directory an input will appear just below the name of the uploaded file. There you could associate the uploaded file with some information.