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

Drag Drop within RadGridView issue

3 Answers 91 Views
DragAndDrop
This is a migrated thread and some comments may be shown as answers.
Brian Baker
Top achievements
Rank 1
Brian Baker asked on 10 Sep 2010, 10:15 PM
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

3 Answers, 1 is accepted

Sort by
0
Tsvyatko
Telerik team
answered on 13 Sep 2010, 08:23 AM
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
0
Kiran
Top achievements
Rank 1
answered on 05 Jan 2011, 12:21 PM
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. 

0
Tsvyatko
Telerik team
answered on 05 Jan 2011, 01:06 PM
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
Tags
DragAndDrop
Asked by
Brian Baker
Top achievements
Rank 1
Answers by
Tsvyatko
Telerik team
Kiran
Top achievements
Rank 1
Share this question
or