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

Cannot Copy rows into clipoard neither can I sort by column headers?

5 Answers 44 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Nathi Mfeka
Top achievements
Rank 2
Nathi Mfeka asked on 03 Nov 2009, 07:55 AM
Hi telerik team

Guys, I just loaded, silverlight 3 and using (virsion: 2009.2.724.1020) of the telerik controls, hoping that will fix my above mensioned problems, I cannot Copy to the clipboard, rows from my grid. i itried this:
 <telerikGridView:RadGridView x:Name="grdView" Controls:Clipboard.IsEnabled="true">  
 
 </telerikGridView:RadGridView> 

but Clipboard.IsEnabled, is not available from my side, as for sorting, the problem is when sorting a linked field, here is an example of that (see the second column - AccountManager.Fullname)
<telerikGridView:RadGridView.Columns>   
                <telerikGridView:GridViewDataColumn Width="50" HeaderText="ID" DataMemberPath="ID"  />    
                <telerikGridView:GridViewDataColumn Width="250" HeaderText="Account Manager" DataMemberPath="AccountManager.FullName"/>    
                <telerikGridView:GridViewDataColumn Width="60" HeaderText="Archived" DataMemberPath="Archived" />      
 </telerikGridView:RadGridView> 

if maybe there is a way of sorting the feilds or Copying to the clipboard, besides the methods that I'm using. please advise.

5 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 03 Nov 2009, 08:00 AM
Hi,

Copy to the clipboard was added in our latest builds. You can try some of them or our latest Q3 beta (this week we will release our Q3 officially).

All the best,
Vlad
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.
0
Nathi Mfeka
Top achievements
Rank 2
answered on 03 Nov 2009, 08:05 AM
Thanx for the quick response, does that go for the Sorting as well?
0
Vlad
Telerik team
answered on 03 Nov 2009, 08:07 AM
Hello,

Indeed sorting on sub properties was fixed as well.

Best wishes,
Vlad
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.
0
Nathi Mfeka
Top achievements
Rank 2
answered on 03 Nov 2009, 08:17 AM
Ok, while I still have you on quick response :-) , I'm getting the following error: type 'System.ComponentModel.ListSortDirection' exist in both System.dll and System.Windows.Controls.Data.dll??? and I've removed this line:
xmlns:data="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data" 
on all the pages where I'm sorting, so there is no where in my code where I refrance this assembly? here is the code that gives an error:
groupName.SortDirection = System.ComponentModel.ListSortDirection.Ascending; 

Thanks alot Viad
0
Vlad
Telerik team
answered on 03 Nov 2009, 08:36 AM
Hello,

Indeed you can safely remove System.Windows.Controls.Data.dll - this is old Silverlight 2 related and should be used.

All the best,
Vlad
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.
Tags
GridView
Asked by
Nathi Mfeka
Top achievements
Rank 2
Answers by
Vlad
Telerik team
Nathi Mfeka
Top achievements
Rank 2
Share this question
or