Upload control won't show up.

4 posts, 0 answers
  1. Victor
    Victor avatar
    5 posts
    Member since:
    Oct 2008

    Posted 08 Oct 2008 Link to this post

    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>

     

     

     

     

     

     

  2. Valentin.Stoychev
    Admin
    Valentin.Stoychev avatar
    2198 posts

    Posted 09 Oct 2008 Link to this post

    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.
  3. DevCraft banner
  4. Victor
    Victor avatar
    5 posts
    Member since:
    Oct 2008

    Posted 09 Oct 2008 Link to this post

    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
  5. Valentin.Stoychev
    Admin
    Valentin.Stoychev avatar
    2198 posts

    Posted 10 Oct 2008 Link to this post

    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.
Back to Top