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

Upload control won't show up.

3 Answers 78 Views
Upload
This is a migrated thread and some comments may be shown as answers.
Victor
Top achievements
Rank 1
Victor asked on 09 Oct 2008, 03:50 AM
HELP!

I created a test application, and pasted in the file upload control exactly as in the online demo.  Everything compiles and runs but page comes out blank.  Does the latest build work at all?  What am I doing wrong?  All the other controls I used show up fine.
Thanks,
VJ

 

 

 

<

 

UserControl xmlns:my="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Input" x:Class="UploadTest1.Page"

 

 

 

 

 

xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"

 

 

xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"

 

 

Width="400" Height="300">

 

 

 

 

 

 

<Grid x:Name="LayoutRoot" Background="White">

 

 

 

 

 

 

<my:RadUpload

 

 

 

 

 

Filter="Image Files (*.gif;*.jpg;*.jpeg;*.png)|*.gif;*.jpg;*.jpeg;*.png|Text Files (*.txt)|*.txt|All Files(*.*)|*.*"

 

 

 

 

 

FilterIndex="0" IsAutomaticUpload="false" OverwriteExistingFiles="True"

 

 

 

 

 

UploadServiceUrl="asdf"

 

 

 

 

 

TargetFolder="asdf"

 

 

HorizontalAlignment="Left"

 

 

 

 

 

VerticalAlignment="Top"/>

 

 

 

 

 

 

 

</Grid>

 

</

 

UserControl>

 

 

 

 

 

 

3 Answers, 1 is accepted

Sort by
0
Valentin.Stoychev
Telerik team
answered on 09 Oct 2008, 06:55 AM
Hello Victor,

I'm attaching a working project for your reference. Please make sure you are using the latest RC0 plugin from microsoft:

http://go.microsoft.com/fwlink/?linkid=129011



Greetings,
Valentin.Stoychev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Victor
Top achievements
Rank 1
answered on 10 Oct 2008, 01:59 AM
Thanks,
That seemed to work, don't know what was wrong.  I'll try to integrate it into my app.  Is there any way/plans to use wcf to send over the file data?  This would be much cleaner than using post.
Thanks,
VJ
0
Valentin.Stoychev
Telerik team
answered on 10 Oct 2008, 08:03 AM
Hi Victor,

We don't have plans to support WCF service right now.

Isn't the use of ASP.NET handler on the server simpler than having a WCF? What benefits you see if we make WCF integration?

Best wishes,
Valentin.Stoychev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Upload
Asked by
Victor
Top achievements
Rank 1
Answers by
Valentin.Stoychev
Telerik team
Victor
Top achievements
Rank 1
Share this question
or