I am using a RadGridView to display appointments. I am adding paging to the control with RadDataPager. I am setting the ItemSource property for the RadGridView to {Binding Path=PagedSource, ElementName=unscheduledWorkOrdersRadDataPager }. I am then overriding the ConvertDraggedData(object data) method and using the DataObjectHelper class in order to obtain data from the object data parameter and then setting the returned IEnumerable<IOccurence> accordingly.
The problem is that whenever I added paging to the RadGridView. The DataObjectHelper is not able to properly retrieve the dragged data from the object data parameter.
As Windows application use a common clipboard, there is a potential risk for causing a ComInterop exception while copying data from RadGridView. Workaround: Process exceptions in application logic
If in the content of RadGridView.ControlPanelItem has a binding with a RelativeSource or ElementName and the grid is placed in the collapsed UserControl, a binding error is thrown in the output window.
When using INotifyDataErrorInfo, items are still validated even when the ValidationType property is None.
Please note that when the AutoGeneratedColumns property is set to true, the item's HasErrors property will be evaluated, but only once.
Hello
I have often faced a scenarion where I have groups (GroupDescriptor), but those groups need to be ordered by a different property.
Usually, telerik column properties already provide a SortMemberPath.
<telerik:GridViewDataColumn DataMemberBinding="{Binding Name}" SortMemberPath="Id"
However, the GroupDescriptor does not have that, it only has Member and SortDirection.
The only way to set the sort to refer another property is in code behind using a generic group descriptor. It is very flexible, but it has several drawbacks, since now I'd have to declare everything in C# (aggregate functions, templates, etc) and also lose the Design time feedback from Visual Studio.
My request is to just have the possibility to set a SortMember in XAML which will work for most scenarios, same way as others components already do.
<telerik:GroupDescriptor Member="OrderState" SortDirection="Ascending"
SortMember="OrderStateIndex" >
Thanks