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

Drag Drop does not work on IE9

6 Answers 85 Views
Upload
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Pradeep
Top achievements
Rank 1
Pradeep asked on 29 Jun 2012, 04:07 PM
Hi, want to use the DRAG DROP functionality for my project. I added upload control in my silverlight project. The DRAG DROP works for all other browser but not for IE9. 
Any suggestions on getting this fix

6 Answers, 1 is accepted

Sort by
0
Lancelot
Top achievements
Rank 1
answered on 02 Jul 2012, 04:43 PM
Hi Pradeep,

Is there any other information you can provide? Could you share the code you are using that is giving you the problem?

Thanks,
Lancelot
0
Pradeep
Top achievements
Rank 1
answered on 03 Jul 2012, 03:37 PM
Thanks Lancelot for looking into this issue. I am using the RadUploadDropPanel and will try out the DragDropManager suggested by you. Below is the code

<telerik:RadWindow 
    x:Class="PetroWEB.JVLink.Views.JVLinkUploadView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    d:DesignHeight="600" d:DesignWidth="800"
    Header="Upload Files" 
    ResizeMode="NoResize" 
    WindowStartupLocation="CenterScreen" 
    Style="{StaticResource RadWindowStyle}">
    
    <Grid x:Name="LayoutRoot" Background="White">
        <Grid.RowDefinitions>
            <RowDefinition Height="75" />
            <RowDefinition Height="*" />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
        <telerik:RadUploadDropPanel 
            x:Name="RadUploadDropPanel1" 
            BorderThickness="1" 
            BorderBrush="#FFA7A7A7" 
            Background="White" 
            VerticalAlignment="Stretch" 
            HorizontalAlignment="Stretch" 
            DragEnter="RadUploadDropPanel1_DragEnter"  
            DragLeave="RadUploadDropPanel_DragLeave" 
            RadUpload="{Binding ElementName=RadUpload1}">


            <TextBlock VerticalAlignment="Center" HorizontalAlignment="Center"
                               Text="Drag Items here to Upload." TextWrapping="Wrap" Margin="10" FontWeight="Bold"/>


        </telerik:RadUploadDropPanel>
        <telerik:RadUpload 
            Grid.Row="1" 
x:Name="RadUpload1" 
Filter="Image Files (*.gif;*.jpg;*.jpeg;*.png)|*.gif;*.jpg;*.jpeg;*.png|Text Files (*.txt)|*.txt|All Files(*.*)|*.*"
FilterIndex="3" MaxFileCount="5"    
            AllowDrop="true" 
            HorizontalAlignment="Stretch" VerticalAlignment="Stretch"
IsAutomaticUpload="false"
OverwriteExistingFiles="True"
UploadServiceUrl="../../JVLinkUploadHandler.ashx"
            IsAppendFilesEnabled="True"
FileUploadStarting="RadUpload1_FileUploadStarting"
FileUploaded="RadUpload1_FileUploaded"
            UploadStarted="RadUpload1_UploadStarted"
            UploadCanceled="RadUpload1_UploadCanceled"
            FileUploadFailed="RadUpload1_FileUploadFailed"
            MaxFileSize="3000000" MaxUploadSize="10000000"  />
            <Button Content="Close" Click="Close_Click" Grid.Row="2" HorizontalAlignment="Right" Margin="10" />
    </Grid>
</telerik:RadWindow>



0
Petar Mladenov
Telerik team
answered on 04 Jul 2012, 12:08 PM
Hello Pradeep,

 It's very specific that your code works in every browser different from Internet Explorer. We have previously received such reports from our clients and we have found that the issue occurs when you  run the Visual Studio as an Administrator. Could you please check this out and let us know if this is the reason for your issues ? Thank you in advance.

Regards,
Petar Mladenov
the Telerik team

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

0
Pradeep
Top achievements
Rank 1
answered on 04 Jul 2012, 01:52 PM
Hi Petar, You are correct. I run my Visual studio 2010 as an Administrator.

Is that the reason why DragDrop does not work ? Strange !! 


Thanks
Pradeep
0
Pradeep
Top achievements
Rank 1
answered on 05 Jul 2012, 03:30 PM
Hi Petar, So is there any update for Visual studio 2010 ?
0
Petar Mladenov
Telerik team
answered on 06 Jul 2012, 02:51 PM
Hi Pradeep,

 We are not aware of any existing hotfixes for this issue but you better ask in a MS // msdn // StackOverflow forum. Hope someone knows more on this subject.

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
Pradeep
Top achievements
Rank 1
Answers by
Lancelot
Top achievements
Rank 1
Pradeep
Top achievements
Rank 1
Petar Mladenov
Telerik team
Share this question
or