Drag Drop within RadGridView issue

4 posts, 0 answers
  1. Brian Baker
    Brian Baker avatar
    10 posts
    Member since:
    Mar 2010

    Posted 10 Sep 2010 Link to this post

    Hey,

    I have been trying to do a drag / drop within a gridview.  I have been following the example given in the documentation but I am having trouble with some of the XAML

          <telerikGrid:RadGridView.RowStyle>
               
    <Style TargetType="telerikGridElements:GridViewRow">
                   
    <Setter Property="telerikDragDrop:RadDragAndDropManager.AllowDrag" Value="True" />
               
    </Style>
           
    </telerikGrid:RadGridView.RowStyle>

    I do not know what the the telerikGridElements:GridViewRow is referencing. 

    Can you help with this?

    thanks
  2. Tsvyatko
    Admin
    Tsvyatko avatar
    832 posts

    Posted 13 Sep 2010 Link to this post

    Hi Brian Baker,

    you need to the add the following namespace in the usercontrol.

    xmlns:telerik="clr-namespace:Telerik.Windows.Controls.GridView;assembly=Telerik.Windows.Controls.GridView"

    Let me know if you have any further questions.

    Greetings,
    Tsvyatko
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. DevCraft banner
  4. Kiran
    Kiran avatar
    19 posts
    Member since:
    Dec 2010

    Posted 05 Jan 2011 Link to this post

    Hi,

    I have used this namespace though it is not working.. still it is showing like telerik.GridElements.GridViewRow is not found

    please  suggest me

    xmlns:telerik="clr-namespace:Telerik.Windows.Controls.GridView;assembly=Telerik.Windows.Controls.GridView"



    <
    telerikGrid:RadGridView.RowStyle>
               
    <Style TargetType="telerikGridElements:GridViewRow">
                   
    <Setter Property="telerikDragDrop:RadDragAndDropManager.AllowDrag" Value="True" />
               
    </Style>
           
    </telerikGrid:RadGridView.RowStyle>

    Thanks with Best Regards

    Kiran Patro. 

  5. Tsvyatko
    Admin
    Tsvyatko avatar
    832 posts

    Posted 05 Jan 2011 Link to this post

    Hello Brian Baker,
    I have prepared simple application demonstrating how use this style in the application.

    Let me know if you have any further questions.

    Kind regards,
    Tsvyatko
    the Telerik team
    Browse the videos here>> to help you get started with RadControls for Silverlight
Back to Top