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

Can't see arrow now

6 Answers 59 Views
DragAndDrop
This is a migrated thread and some comments may be shown as answers.
danparker276
Top achievements
Rank 2
danparker276 asked on 02 Aug 2011, 12:00 AM
I don't see anything on my GenerateArrowCue(); command now.  I think it happened on the most recent build. 

I also see it failing on your Drag and Drop Example on the First Look.  If you go to the DD First look page, it works good.  But then Click other DragAndDropExamples and select Drag Over Tab.  Then go back to DD First look page and the arrow cue is gone.  Hopefully you can repeat the problem, i'm on Firefox, windows XP if it makes a difference.

6 Answers, 1 is accepted

Sort by
0
Accepted
Vanya Pavlova
Telerik team
answered on 02 Aug 2011, 07:24 AM
Hi Danparker276,

 

If you want to see the arrow you should set the ExecutionMode property of RadDragAndDropManager as shown below:


RadDragAndDropManager.ExecutionMode = DragExecutionMode.Legacy;


The recommended approach is to set this property within App's constructor. We will do our best to update our examples for both platforms WPF/Silverlight for the next service pack. 


Greetings,
Vanya Pavlova
the Telerik team

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

0
danparker276
Top achievements
Rank 2
answered on 02 Aug 2011, 05:23 PM
Thanks that worked.
Is there documentation for this new dragAndDrop framework?  If there's a better way to do drag and drop, I'd like to change it.
I only see it mentioned in the what's new.
http://www.telerik.com/products/wpf/whats-new/release-history/q2-2011-version-2011-2-0712-2635019075.aspx
and mentioned here:
http://www.blog-microsoft.fr/post/2011/07/28/Telerik-RadDragAndDropManager-WPF-Q2-2011-and-backwards-compatability.aspx
0
Vanya Pavlova
Telerik team
answered on 02 Aug 2011, 07:34 PM
Hello Danparker276,

 
Thank you for getting back to us! We are constantly working on the improvement of our online documentation and we are updating the articles for the new RadDragAndDropManager control. I believe that it will be available in a couple of days in order to provide you with a detailed information about the new features provided by this control. 


If you need any further assistance do not hesitate to contact us!


Best wishes,
Vanya Pavlova
the Telerik team

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

0
Nelson
Top achievements
Rank 1
answered on 16 Sep 2011, 10:41 AM
Hi,

I also use this component but I have a problem with RadDragAndDropManager.ExecutionMode = DragExecutionMode.Legacy;

If I run my code without this line, I can drag and drop between two datagrid with any problem. However, if I put RadDragAndDropManager.ExecutionMode = DragExecutionMode.Legacy; in app constructor I can´t drag and drop on datagrids?

Any tips for this?

Thanks
0
Tsvyatko
Telerik team
answered on 17 Sep 2011, 08:56 AM
Hello Nelson,

 Would it be possible to share some additional information regarding datagrid drag implementation (sample project or code snippets), so we can get better idea of the current scenario and suggest suitable solution. (you can attach project by opening support ticket).

Best wishes,
Tsvyatko
the Telerik team

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

0
Nelson
Top achievements
Rank 1
answered on 19 Sep 2011, 09:09 AM
Hi,

Here is my GridView code

<TextBlock Text="Entidades:" telerik:StyleManager.Theme="{Binding Path=DataContext.Tema, ElementName=LayoutRoot}" />
                   <telerik:RadGridView
                   Name="GrdDragEntidades"
                   BorderThickness="0"
                   HorizontalAlignment="Left" Width="500" RowHeight="20" MaxHeight="200" Grid.Row="1" Grid.Column="0" Margin="0 10 0 0"
                   ItemsSource="{Binding OCEntidades}"
                   AutoGenerateColumns="False" CanUserReorderColumns="False" CanUserResizeColumns="False"
                   SelectionMode="Multiple"
                   IsReadOnly="True"
                   Cursor="Hand"
                   RowIndicatorVisibility="Collapsed"
                   IsFilteringAllowed="True"
                   ShowGroupPanel="False"
                   ShowColumnFooters="False" ShowInsertRow="False"
                   telerik:RadDragAndDropManager.AllowDrag="True">
               <telerik:RadGridView.Columns>
                        <telerik:GridViewDataColumn DataMemberBinding="{Binding Converter={StaticResource ConcatenaTitulo}}" Header="Nome" Width="*"/>
               </telerik:RadGridView.Columns>
           </telerik:RadGridView>

And my GridView that will receive from GridDragEntidades.

<telerik:RadGridView
                    Name="GrdConvocados"
                    Background="Transparent"
                    ItemsSource="{Binding Path=DataContext.OCGrupoParticipantesReuniao,ElementName=LayoutRoot}"
                    BorderThickness="0"
                    HorizontalAlignment="Left" Width="500" RowHeight="20" MaxHeight="180" Grid.Row="0" Grid.Column="0" Margin="0 10 0 0"
                    AutoGenerateColumns="False" CanUserReorderColumns="False" CanUserResizeColumns="False"
                    SelectionMode="Single"
                    Cursor="Hand"
                    RowIndicatorVisibility="Collapsed"
                    IsFilteringAllowed="True"
                    ShowGroupPanel="False"
                    ShowColumnFooters="False" ShowInsertRow="False"
                    telerik:RadDragAndDropManager.AllowDrop="True">
                        <telerik:RadGridView.Columns>                           
                            <telerik:GridViewDataColumn DataMemberBinding="{Binding EntidadesProp, Converter={StaticResource ConcatenaTitulo}}" Header="Nome" Width="0.75*" IsReadOnly="True"/>
                            <telerik:GridViewComboBoxColumn Header="Função Reunião" ItemsSource="{Binding OCFuncoesReuniao,Source={StaticResource reuConvocadosVM}}" Width="0.25*"
                                                            DataMemberBinding="{Binding FuncaoReuniaoIdProp,Mode=TwoWay}"
                                                            DisplayMemberPath="DesignacaoProp"
                                                            SelectedValueMemberPath="IdProp"
                                                            IsReadOnly="False">
                             
                                <telerik:GridViewColumn.ToolTipTemplate>
                                    <DataTemplate>
                                        <TextBlock Text="Clique para definir a função do participante na reunião"></TextBlock>
                                    </DataTemplate>
                                </telerik:GridViewColumn.ToolTipTemplate>
                            </telerik:GridViewComboBoxColumn>
                        </telerik:RadGridView.Columns>
                        <swi:Interaction.Triggers>
                            <swi:EventTrigger EventName="Loaded">
                                <esi:CallDataMethod Method="GrdConvocados_Loaded" />
                            </swi:EventTrigger>
                            <swi:EventTrigger EventName="SelectionChanged">
                                <esi:CallDataMethod Method="GrdConvocados_SelectionChanged" />
                            </swi:EventTrigger>
                            <swi:EventTrigger EventName="DataLoaded">
                                <esi:CallDataMethod Method="GrdConvocados_DataLoaded" />
                            </swi:EventTrigger>
                        </swi:Interaction.Triggers>
                    </telerik:RadGridView>


As I said in my last post, this code works when I run it without RadDragAndDropManager.ExecutionMode = DragExecutionMode.Legacy;

I need add some other thing?

Thanks
Tags
DragAndDrop
Asked by
danparker276
Top achievements
Rank 2
Answers by
Vanya Pavlova
Telerik team
danparker276
Top achievements
Rank 2
Nelson
Top achievements
Rank 1
Tsvyatko
Telerik team
Share this question
or