RadUploadDropPanel

RadUploadDropPanel is a content control that works with RadUpload and allows you to drop files into it. The dropped files are prepared for upload in the assosiated RadUpload component. The drop panel doesn't have a specific default layout which means that you can define its look and feel.

The drop panel have the following properties:

  • RadUpload: A property of type RadUpload that gets or sets a value indicating the assosisated RadUpload control.
  • Suspend: A property of type bool that gets or sets a value that indicates whether the drop action is allowed.

Example 1: Defining RadUploadDropPanel

<Grid> 
    <Grid.ColumnDefinitions> 
        <ColumnDefinition/> 
        <ColumnDefinition/> 
    </Grid.ColumnDefinitions>    
    <telerik:RadUploadDropPanel RadUpload="{Binding ElementName=uploader}" Width="200" Height="150"> 
        <Border Background="Bisque"> 
            <TextBlock Text="Drop files here"  
                       HorizontalAlignment="Center"  
                       VerticalAlignment="Center"/> 
        </Border> 
    </telerik:RadUploadDropPanel> 
    <telerik:RadUpload x:Name="upload" Grid.Column="1"/> 
</Grid> 

Figure 1: RadUploadDropPanel example

Silverlight RadUpload RadUploadDropPanel example

See Also

In this article