groupDescriptor. When i add the groupDescriptor all is fine and the data is grouped but
when i use the clear method or removeat then i get a exception.
what is wrong? thanks ...
here is a sample code:
Private Sub grcars_Sorting(ByVal sender As Object, ByVal e As Telerik.Windows.Controls.GridViewSortingEventArgs) Handles grcars.Sorting
If e.Column.Header.ToString = "Gruppe" Then
e.Cancel = True
If grcars.GroupDescriptors.Count = 0 Then
Dim cf As New CountFunction(), groupDescriptor As New GroupDescriptor()
cf.Caption = "Fahrzeuge: "
With groupDescriptor
.Member = "groupDescription"
.SortDirection = ComponentModel.ListSortDirection.Ascending
.AggregateFunctions.Add(cf)
End With
grcars.GroupDescriptors.Add(groupDescriptor)
Exit Sub
Else
grcars.GroupDescriptors.Clear() <----- ERROR !
End If
End If
End Sub
8 Answers, 1 is accepted
Can you post more info about the exception? Stack-trace will be fine.
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.
Can you post more info about the grid version?
Regards,
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.
greetings ...
Unfortunately all attempts to reproduce the problem here failed. Can you please send us a small project that reproduces the error . To be able to attach it you will need to open a support ticket.
Sincerely yours,
Pavel Pavlov
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 tried to reproduce the problem using your scenario but unfortunately without success. Could you please send us a sample project where the problem can be seen? Thank you in advance!
Best wishes,
Yordanka
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.