This is a migrated thread and some comments may be shown as answers.

Load files from database to AsyncUpload control ?

1 Answer 135 Views
AsyncUpload
This is a migrated thread and some comments may be shown as answers.
Madhu Palakurthi
Top achievements
Rank 1
Madhu Palakurthi asked on 11 Mar 2013, 04:43 AM
Hi,

I have a AsyncUpload control to upload files in to DB.

<asp:PlaceHolder ID="GeneratedDocs" runat="server" EnableViewState="true" />
                                   <telerik:RadAsyncUpload ID="RadAsyncUpload1" runat="server" Font-Bold="true" Font-Size="11px" MultipleFileSelection="Automatic"
                                       InputSize="42" MaxFileSize="2524288" OnClientValidationFailed="validationFailed"
                                       OnFileUploaded="RadAsyncUpload1_FileUploaded" TargetFolder="~\Attachments" TemporaryFileExpiration="50"
                                       TemporaryFolder="~\Attachments">
                                   </telerik:RadAsyncUpload>

DB table Data :




the content is storing in the DB like as above.

How can I load this files in to AsyncUpload control once I open a page to edit ?

please help me on this..

Thanks in advance...

1 Answer, 1 is accepted

Sort by
0
Hristo Valyavicharski
Telerik team
answered on 12 Mar 2013, 03:40 PM
Hi Narsa,

Unfortunately, the desired functionality could not be achieved due to security reasons. However you could display uploaded files in RadGrid, Repeater or RadFileExplorer. There is a similar online demo showing how to use RadFileExplorer.

Regards,
Hristo Valyavicharski
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
AsyncUpload
Asked by
Madhu Palakurthi
Top achievements
Rank 1
Answers by
Hristo Valyavicharski
Telerik team
Share this question
or