Drag Drop does not work on IE9

7 posts, 0 answers
  1. Pradeep
    Pradeep avatar
    6 posts
    Member since:
    Jun 2012

    Posted 29 Jun 2012 Link to this post

    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
  2. Lancelot
    Lancelot avatar
    251 posts
    Member since:
    Jul 2012

    Posted 02 Jul 2012 Link to this post

    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
  3. DevCraft banner
  4. Pradeep
    Pradeep avatar
    6 posts
    Member since:
    Jun 2012

    Posted 03 Jul 2012 Link to this post

    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>



  5. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 04 Jul 2012 Link to this post

    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 >>

  6. Pradeep
    Pradeep avatar
    6 posts
    Member since:
    Jun 2012

    Posted 04 Jul 2012 Link to this post

    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
  7. Pradeep
    Pradeep avatar
    6 posts
    Member since:
    Jun 2012

    Posted 05 Jul 2012 Link to this post

    Hi Petar, So is there any update for Visual studio 2010 ?
  8. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 06 Jul 2012 Link to this post

    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 >>

Back to Top
DevCraft banner