2 pb with update with Q2 2011 SP1

4 posts, 0 answers
  1. Aurore
    Aurore avatar
    58 posts
    Member since:
    Nov 2007

    Posted 29 Sep 2011 Link to this post

    Hello,

    I have updated with last release, and I have problems with drag&drop.

    I have the following configuration
    I drag an elt from a "palette" (in a radpane) to a diagram (in documenthost).
    <telerik:RadDocking x:Name="xDocking" Grid.Row="1" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Unloaded="RadDocking_Unloaded"
                                telerik:RadDocking.SerializationTag="xDocking"
                                v6:RadDockingExtensions.RemovePanesWhenClosed="True" v6:RadDockingExtensions.SaveFloatingPane="True">
                <telerik:RadDocking.CompassStyle>
                    <Style TargetType="{x:Type telerik:Compass}">
                        <Setter Property="IsCenterIndicatorVisible" Value="True"/>
                    </Style>
                </telerik:RadDocking.CompassStyle>
                <telerik:RadDocking.DocumentHost >
                    <Grid>
                          <DiagramControl>[... Target of my drop ...] </DiagramControl>
     </Grid>
                </telerik:RadDocking.DocumentHost>
      
                <telerik:RadSplitContainer x:Name="DockLeft" InitialPosition="DockedLeft" Orientation="Vertical" Width="250" telerik:RadDocking.SerializationTag="DockedLeft">
      
                    <telerik:RadPaneGroup telerik:ProportionalStackPanel.RelativeSize="200,30"  telerik:RadDocking.SerializationTag="g1" AllowDrop="False">
                        <telerik:RadPane Header="{x:Static v6Properties:Resources.newelement}" CanDockInDocumentHost="False" CanUserClose="False"  CanFloat="False"
                                         ContextMenuTemplate="{x:Null}" telerik:RadDocking.SerializationTag="palette"
                                         AllowDrop="False">
      [.. Control where I select an elt to drop ...]
    </telerik:RadPane>
    </<telerik:RadPaneGroup>

    The drag&drop performed is not made by telerik.
    But now, the first drag i make, i obtain the following error :
    à Telerik.Windows.DragDrop.DragDropManager.DelegateHelper.OnGiveFeedbackEventHandler(Object sender, GiveFeedbackEventArgs e) dans c:\TB\102\WPF_Scrum\Release_WPF\Sources\Development\Core\Controls\DragDropManager\DragDropManager.cs:ligne 1700
      à Telerik.Windows.DragDrop.DragDropManager.DelegateHelper.OnGiveFeedback(Object sender, GiveFeedbackEventArgs e) dans c:\TB\102\WPF_Scrum\Release_WPF\Sources\Development\Core\Controls\DragDropManager\DragDropManager.cs:ligne 1779
      à System.Windows.GiveFeedbackEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
      à System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
      à System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
      à System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
      à System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
      à System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
      à System.Windows.OleDragSource.RaiseGiveFeedbackEvent(GiveFeedbackEventArgs args)
      à System.Windows.OleDragSource.MS.Win32.UnsafeNativeMethods.IOleDropSource.OleGiveFeedback(Int32 effect)
       
      Recherche de la source pour 'c:\TB\102\WPF_Scrum\Release_WPF\Sources\Development\Core\Controls\DragDropManager\DragDropManager.cs'. Checksum: MD5 {47 7b 42 df ec cf a4 e7 e3 a d3 ef cf 9c e9 b9}

    the others drag&drop work but not really as before :

    Sometimes, my diagram component doesn't receive the drop event, the drawed cue disappears ???

    Have you an idea ?

    Probably the diagram component dragdrop is based on microsoft dragdrop, and there's some concurrency...

    Aurore

  2. Yordanka
    Admin
    Yordanka avatar
    634 posts

    Posted 30 Sep 2011 Link to this post

    Hello Aurore,

    The reported exception is already fixed and the fix for it will be part of the next internal build on Monday.

    As for the problem with drag cue, could you give us more details about your DragAndDrop implementation and how we can reproduce the problem locally? 
     
    All the best,
    Yordanka
    the Telerik team

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

  3. UI for WPF is Visual Studio 2017 Ready
  4. Vladimir
    Vladimir avatar
    1 posts
    Member since:
    Oct 2011

    Posted 21 Oct 2011 Link to this post

    I have the same problem. When I try to drag and drop toolbox item to "MainPanel" I have
    Version: 2011.2.920.40
    Message: "Object reference not set to an instance of an object."
    StackTrace: "   at Telerik.Windows.DragDrop.DragDropManager.DelegateHelper.OnGiveFeedbackEventHandler(Object sender, GiveFeedbackEventArgs e) in c:\TB\117\WPF_Scrum\Release_WPF_40\Sources\Development\Core\Controls\DragDropManager\DragDropManager.cs:line 1700".

    Does any workaround exist? Or may be you have a hotfix?

    <DockPanel>
            <telerik:RadRibbonView Name="radRibbonView1" ApplicationButtonVisibility="Hidden" ApplicationName="Legal Holds Administrator" DockPanel.Dock="Top">
                <telerik:RadRibbonTab Header="File" FontSize="14" Width="100">
                    <telerik:RadRibbonGroup>
                        <telerik:RadRibbonButton Foreground="DimGray" Size="Large" Click="OnSaveButtonClick">
                            <StackPanel Orientation="Vertical">
                                <Image Source="/Content/Save.png"/>
                                <TextBlock Text="Save" HorizontalAlignment="Center"/>
                            </StackPanel>
                        </telerik:RadRibbonButton>
                    </telerik:RadRibbonGroup>
                </telerik:RadRibbonTab>
            </telerik:RadRibbonView>
     
            <telerikDocking:RadDocking Background="#FFDFE9F5" BorderBrush="#FFDFE9F5" BorderThickness="0" >
                <telerikDocking:RadDocking.DocumentHost>
                    <DockPanel Name="MainPanel"></DockPanel>
                </telerikDocking:RadDocking.DocumentHost>
                <telerikDocking:RadSplitContainer InitialPosition="DockedLeft">
                    <telerikDocking:RadPaneGroup>
                        <telerikDocking:RadPane Name="ToolboxPane" Header="Toolbox" CanUserClose="False" IsPinned="False" Visibility="Hidden">
                            <DockPanel Name="ToolboxPanel" />
                        </telerikDocking:RadPane>
                    </telerikDocking:RadPaneGroup>
                </telerikDocking:RadSplitContainer>
                <telerikDocking:RadSplitContainer InitialPosition="DockedRight">
                    <telerikDocking:RadPaneGroup>
                        <telerikDocking:RadPane Name="PropertiesPane" Header="Properties" CanUserClose="False"   IsPinned="False">
                            <DockPanel Name="PropertiesPanel"/>
                        </telerikDocking:RadPane>
                    </telerikDocking:RadPaneGroup>
                </telerikDocking:RadSplitContainer>
            </telerikDocking:RadDocking>
        </DockPanel>

    Vladimir.
  5. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 24 Oct 2011 Link to this post

    Hi,

     Please try our latest internal build or our Q3 2011 Beta.

    All the best,
    Vlad
    the Telerik team

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

Back to Top