API Questions on Kentico API.
Version 6.x > API > Using DirectFileUploader directly View modes: 
User avatar
Member
Member
caspian_softdev-yahoo - 2/3/2014 4:33:09 AM
   
Using DirectFileUploader directly
HI

i want to know is it possible to use DirectFileUploader control to upload files directly?
(for example placing it inside our user control)

i can not find any documentaion about DirectFileUploader.

User avatar
Member
Member
kentico_davidb2 - 2/3/2014 5:09:44 AM
   
RE:Using DirectFileUploader directly
Probably the best example is the Form control that uses DirectUploader, please have a look in the
\CMSFormControls\Basic\DirectUploadControl.ascx
and also the code-behind to see the usage.

Dave

User avatar
Member
Member
caspian_softdev-yahoo - 2/5/2014 2:55:02 AM
   
RE:Using DirectFileUploader directly
Hi
Thanks for your reply. in my case i don't have form control.
say we want to have checkout process step that allow customer to upload an attachment to order.

we need separate table to keep this order attachment.(note this table is independent from cms tables and we only use it to keep order ID and attachment GUID).
we need to obtain uploaded attachment GUID.

benyamin

User avatar
Member
Member
kentico_davidb2 - 2/27/2014 1:32:50 AM
   
RE:Using DirectFileUploader directly
I believe that in this case, the standard ASP.NET upload controls will be suitable, as you basically require a very specific functionality. Attachments are by default only available for Documents and also the Upload Control is used within various forms.