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

Button Upload does not appear

1 Answer 43 Views
Upload
This is a migrated thread and some comments may be shown as answers.
Helly
Top achievements
Rank 1
Helly asked on 18 Jan 2012, 11:14 AM
I have used RadUpload like this (see code below) with Q2, but with Q3 it does not work. I can Browse files as i like, but button Upload never appears. If I change IsAutomaticUpload to true, it works fine, but I need manual uploading.
Please, help me to solve this problem - it's very urgent. I don't want to go back to Q2 only because of this control, but it's functionality is very important in my project.

 

 

 

<telerik:RadUpload HorizontalAlignment="Left" Width="700" Grid.Row="2" Grid.Column="0"

 

 

 

x:Name="RadUpload1"

 

 

 

Filter="All Files(*.*)|*.*"

 

 

 

FilterIndex="0" MaxFileCount="15"

 

 

 

IsAutomaticUpload="false"

 

 

 

OverwriteExistingFiles="True"

 

 

 

IsAppendFilesEnabled="True"

 

 

 

FileUploaded="RadUpload1_FileUploaded"

 

 

 

FileUploadFailed="RadUpload1_FileUploadFailed"

 

 

 

FileUploadStarting="RadUpload1_FileUploadStarting"

 

 

 

MaxFileSize="15000000" MaxUploadSize="15000000" />

 

1 Answer, 1 is accepted

Sort by
0
Petar Mladenov
Telerik team
answered on 23 Jan 2012, 09:08 AM
Hi Helly,

 This is very strange issue for us and we haven't received similar reported. However, I used you code but I had to add the UploadedServiceUrl and TargetFolder in order to get it work;

<telerik:RadUpload x:Name="RadUpload1"
                         Grid.Row="2"
                         Grid.Column="0"
                         Width="700"
                         HorizontalAlignment="Left"
                         FileUploaded="RadUpload1_FileUploaded"
                         FileUploadFailed="RadUpload1_FileUploadFailed"
                         FileUploadStarting="RadUpload1_FileUploadStarting"
                         Filter="All Files(*.*)|*.*"
                         FilterIndex="0"
                         IsAppendFilesEnabled="True"
                         IsAutomaticUpload="false"
                         MaxFileCount="15"
                         MaxFileSize="15000000"
                         MaxUploadSize="15000000"
                         OverwriteExistingFiles="True"
                         UploadServiceUrl="/CustomUploadHandler.ashx"
                         TargetFolder="UploadedFiles"/>

I am successfully uploading files with this configuration and Q3 2011 version of RadControls. Please check out my test project and let me know if I have missed something.

Kind regards,
Petar Mladenov
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
Upload
Asked by
Helly
Top achievements
Rank 1
Answers by
Petar Mladenov
Telerik team
Share this question
or