Persist uploaded files
RadAsyncUpload provides the PostbackTriggers property,
which can be used to persist the information about the successfully uploaded files after a postback. Using that property,
the information about the successfully uploaded files will be persisted after every postback until
an exact control triggers a postback. When a postback is triggered from a control, which ID is specified in the
PostbackTriggers property, all the information for the uploaded files will become available on the server-side,
and the RadAsyncUpload control will stop persisting the uploaded files' information.
On
Server-side you can set
PostbackTriggers:
- E.g. RadAsyncUpload1.PostbackTriggers = new string[] { "RadButton1", "RadButton2", "RadButton3" }.
Also it can be set from the mark up:
-
E.g. PostbackTriggers="RadButton1,RadButton2,RadButton3"
Click on the Select button in order to show the file dialog and select an image file for upload. Once the file is uploaded the combo boxes below will be enabled. After a country is choosen a postback occurs and the submit button will be enabled too.