12 Answers, 1 is accepted
We are preparing a blog post about this functionality. Hopefully we will be able to post the article by the end of this week. Stay tuned.
Kind regards,
Milan
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Thanks for the answer! Hopefully you give me the reference to that blog.
Best,
Yuri
Thanks,
JP
Hi Patrick Holloway,
Here is a sample that demonstrates row reordering with RadGridView. We would really appreciate any feedback regarding the row reorder functionality.
Thank your for your patience.
All the best,
Milan
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
I am trying to convert this project into VB.NET and I think that I have all of it except for one line of the code in the ApplicationHelper class. I converted the following line into VB:
Return
System.Windows.Application.Current.Windows.Cast(Of Window)().FirstOrDefault(Function(w) w.IsActive)
This line is giving me the errors:
1. 'Windows' is not a member of 'System.Windows.Application'
2. Type 'Window' is not defined.
I am not sure what this line of code is actually doing, can you help please?
Thanks,
JP
This line is specific to WPF and you could remove it if you are only using Silverlight. You should also remove the conditional statements like "#if SILVERLIGHT", "else", and "endif".
Hope this helps.
Regards,
Milan
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
I greatly appreicate all of you help.
I removed all of the references to #if Silverlight and fixed those issues with my VB.NET version, but I am having difficulties with getting it to run. Please help if you can. I wish my company would let me code in C#, but it is a VB shop.
I have attached a screenshot of what I get. I see the move, but the data does not show up in the drag image. Also, none of the rows are dropping correctly either. Again, your C# code is working fine, do you have any ideas? I would send you my code if this
Thanks,
Jeremy
| <DataTemplate x:Key="DraggedItemTemplate"> |
| <StackPanel Orientation="Horizontal" Margin="2"> |
| <TextBlock Text="{Binding Sender}" FontWeight="Bold" /> |
| <TextBlock Text=", (" Foreground="Gray" /> |
| <TextBlock Text="{Binding Subject}" Foreground="Gray" /> |
| <TextBlock Text=")" Foreground="Gray" /> |
| </StackPanel> |
| </DataTemplate> |
Replace "Sender" and "Subject" with whatever you need from your data.
Hope this helps
-ph
Patrick is correct. The DraggedItemTemplate is the template that defines the appearance of the dragged items.
Thank you Patrick for your involvement.
Kind regards,
Milan
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Thank you for your help. I still don't have it working, but I will keep you updated... You guys Rock!
JP