Can't see arrow now

7 posts, 1 answers
  1. danparker276
    danparker276 avatar
    389 posts
    Member since:
    Aug 2010

    Posted 01 Aug 2011 Link to this post

    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.
  2. Answer
    Vanya Pavlova
    Admin
    Vanya Pavlova avatar
    2019 posts

    Posted 02 Aug 2011 Link to this post

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

  3. DevCraft banner
  4. danparker276
    danparker276 avatar
    389 posts
    Member since:
    Aug 2010

    Posted 02 Aug 2011 Link to this post

    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
  5. Vanya Pavlova
    Admin
    Vanya Pavlova avatar
    2019 posts

    Posted 02 Aug 2011 Link to this post

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

  6. Nelson
    Nelson avatar
    62 posts
    Member since:
    Apr 2011

    Posted 16 Sep 2011 Link to this post

    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
  7. Tsvyatko
    Admin
    Tsvyatko avatar
    832 posts

    Posted 17 Sep 2011 Link to this post

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

  8. Nelson
    Nelson avatar
    62 posts
    Member since:
    Apr 2011

    Posted 19 Sep 2011 Link to this post

    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
Back to Top
DevCraft banner