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

Beginner's questions about RadAsyncUpload

1 Answer 47 Views
AsyncUpload
This is a migrated thread and some comments may be shown as answers.
Boris
Top achievements
Rank 1
Boris asked on 29 Oct 2012, 07:31 PM
I'm still trying to wrap my head around this concept. 

For starters I have a RadGrid populated through the NeedDataSource.  I have it set up to edit individual records through a FormTemplate.  So far so good.  I can insert and update records.

What I need is to is add an attachment to each record in a varbinary(MAX) field.  The RadAsyncUpload control has to be within the FormTemplate.

Do I understand the process correctly? 

The RadAsyncUpload control will upload the object (most likely a doc) to a temp folder on the web application's server.  The OnFileUploaded event will then allow me to convert the file to a binary array which can be accessed from the RadGrid1_InsertCommand and added to the inserted record there?

1 Answer, 1 is accepted

Sort by
0
Plamen
Telerik team
answered on 01 Nov 2012, 11:13 AM
Hello Boris,

 
Yes, you can use the scenario from this on-line demo where similar behavior is implemented.

All the best,
Plamen
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
Boris
Top achievements
Rank 1
Answers by
Plamen
Telerik team
Share this question
or