I'm implementing group filtering in my project using the techniques found in the demo under Controls/Data/Schedule View/Grouping/Advanced. In the demo I found that if you uncheck everything it still shows appointments when I would think that no appointments should be shown since nothing in the left panel is checked.
I tried modifying
by setting
Source=mscorlib
StackTrace:
Telerik.Windows.Controls.ScheduleView.dll!Telerik.Windows.Controls.ScheduleViewBase.GetTimeForGroupItemInfo(long ticks = 277714285, Telerik.Windows.Controls.GroupItemInfo groupItemInfo = {Telerik.Windows.Controls.GroupItemInfo}) Line 81 C#
Telerik.Windows.Controls.ScheduleView.dll!Telerik.Windows.Controls.ScheduleViewBase.GetTimeForPoint(System.Windows.Point point = {System.Windows.Point}) Line 30 C#
Telerik.Windows.Controls.ScheduleView.dll!Telerik.Windows.Controls.ScheduleViewBase.GetTimeToCompareWithIndexTree(System.Windows.Point point = {System.Windows.Point}) Line 40 C#
Telerik.Windows.Controls.ScheduleView.dll!Telerik.Windows.Controls.ScheduleViewBase.GetTimeslotByPoint(System.Windows.Point clickedPoint = {System.Windows.Point}) Line 224 C#
Telerik.Windows.Controls.ScheduleView.dll!Telerik.Windows.Controls.ScheduleViewBase.HoverArea(System.Windows.Point clickedPoint = {System.Windows.Point}) Line 285 C#
> Telerik.Windows.Controls.ScheduleView.dll!Telerik.Windows.Controls.ScheduleViewBase.OnMouseMove(System.Windows.Input.MouseEventArgs e = {System.Windows.Input.MouseEventArgs}) Line 2971 C#
Any ideas?
Thanks,
Greg
I tried modifying
Private Function GroupFilterFunc(groupName As Object) As Boolean
Dim resource As IResource = TryCast(groupName, IResource)
Return If(resource Is Nothing, True, Me.GetEnabledGroups().Contains(resource.ResourceName, StringComparer.OrdinalIgnoreCase))
End Function
by setting
Return If(resource Is Nothing, True, toMessage=Nullable object must have a value.Return If(resource Is Nothing, False,That causes big problems.
System.InvalidOperationException occurred
Source=mscorlib
StackTrace:
Telerik.Windows.Controls.ScheduleView.dll!Telerik.Windows.Controls.ScheduleViewBase.GetTimeForGroupItemInfo(long ticks = 277714285, Telerik.Windows.Controls.GroupItemInfo groupItemInfo = {Telerik.Windows.Controls.GroupItemInfo}) Line 81 C#
Telerik.Windows.Controls.ScheduleView.dll!Telerik.Windows.Controls.ScheduleViewBase.GetTimeForPoint(System.Windows.Point point = {System.Windows.Point}) Line 30 C#
Telerik.Windows.Controls.ScheduleView.dll!Telerik.Windows.Controls.ScheduleViewBase.GetTimeToCompareWithIndexTree(System.Windows.Point point = {System.Windows.Point}) Line 40 C#
Telerik.Windows.Controls.ScheduleView.dll!Telerik.Windows.Controls.ScheduleViewBase.GetTimeslotByPoint(System.Windows.Point clickedPoint = {System.Windows.Point}) Line 224 C#
Telerik.Windows.Controls.ScheduleView.dll!Telerik.Windows.Controls.ScheduleViewBase.HoverArea(System.Windows.Point clickedPoint = {System.Windows.Point}) Line 285 C#
> Telerik.Windows.Controls.ScheduleView.dll!Telerik.Windows.Controls.ScheduleViewBase.OnMouseMove(System.Windows.Input.MouseEventArgs e = {System.Windows.Input.MouseEventArgs}) Line 2971 C#
Any ideas?
Thanks,
Greg
10 Answers, 1 is accepted
0
Hello Greg,
RadScheduleView experienced some problems in its previous version with the described scenario. This problems is fixed in our Q3 2010 SP1 release. I suggest you download it and try it. This should solve the problem.
Regards,
Rosi
the Telerik team
RadScheduleView experienced some problems in its previous version with the described scenario. This problems is fixed in our Q3 2010 SP1 release. I suggest you download it and try it. This should solve the problem.
Regards,
Rosi
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
0
Greg
Top achievements
Rank 1
answered on 02 Feb 2011, 10:05 PM
I updated with 01049RadControls_for_WPF_35_2010_3_1331_DEV_hotfix.zip and I'm still having the same issue. Was this the correct update?
It looks like I already had the version mentioned. When I installed the controls they were put into a folder named "RadControls for WPF Q3 2010 SP1".
Thanks,
Greg
It looks like I already had the version mentioned. When I installed the controls they were put into a folder named "RadControls for WPF Q3 2010 SP1".
Thanks,
Greg
0
Hi Greg,
Yes, it is the correct version. To resolve the issue I suggest you send us running project illustrating the problem to test it locally. This will help us to investigate the problem better and provide you with a solution.
Best wishes,
Rosi
the Telerik team
Yes, it is the correct version. To resolve the issue I suggest you send us running project illustrating the problem to test it locally. This will help us to investigate the problem better and provide you with a solution.
Best wishes,
Rosi
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
0
Greg
Top achievements
Rank 1
answered on 08 Feb 2011, 03:27 PM
Rosi,
As I stated in the original post you can reproduce this behavior using your demo program for the schedule view.
Thanks,
Greg
As I stated in the original post you can reproduce this behavior using your demo program for the schedule view.
Thanks,
Greg
0
Hello Greg,
We tried to reproduce the problem with the described steps but without success. Please see the attached movie for a reference. Do we miss some step?
All the best,
Rosi
the Telerik team
We tried to reproduce the problem with the described steps but without success. Please see the attached movie for a reference. Do we miss some step?
All the best,
Rosi
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
0
Greg
Top achievements
Rank 1
answered on 14 Feb 2011, 02:49 PM
To make this easy go to http://demos.telerik.com/wpf/
Click Browse Controls
Click Schedule View
Click Grouping in the Groups column
Click Advanced in the Examples column
Uncheck all of the "Layer" groups in the left panel
See that appointments display even though you have no selected Layers
That's the problem. Making the changes laid out in my original post to correct this results in "Nullable object must have a value" error.
Thanks,
Greg
Click Browse Controls
Click Schedule View
Click Grouping in the Groups column
Click Advanced in the Examples column
Uncheck all of the "Layer" groups in the left panel
See that appointments display even though you have no selected Layers
That's the problem. Making the changes laid out in my original post to correct this results in "Nullable object must have a value" error.
Thanks,
Greg
0
Greg
Top achievements
Rank 1
answered on 04 Mar 2011, 09:10 PM
Telerik,
Can you help me?
Can you help me?
0
Hello Greg,
Actually, the behavior you describe is intended (and built-in the example) - we decided that it would look odd if you filter all group headers and that's why when there are no checked checkboxes we show all group headers.
All the best,
Valeri Hristov
the Telerik team
Actually, the behavior you describe is intended (and built-in the example) - we decided that it would look odd if you filter all group headers and that's why when there are no checked checkboxes we show all group headers.
All the best,
Valeri Hristov
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
0
Greg
Top achievements
Rank 1
answered on 09 Mar 2011, 07:34 PM
That's good but have you tried to setup your test project so that when all of the checkboxes are unchecked to show no values? That's what I attempted to do and got the exceptions from within your assembly. If you have, could you possibly share with me what I need to do differently in order to filter out everything and not get an exception?
Thanks,
Greg
Thanks,
Greg
0
Hi Greg,
We don't support filtering all groups. This means that you should have at least 1 DateTime group when you are in Day, Week or Month view.
We will try to improve this behavior after Q1 release.
Regards,
Hristo
the Telerik team
We don't support filtering all groups. This means that you should have at least 1 DateTime group when you are in Day, Week or Month view.
We will try to improve this behavior after Q1 release.
Regards,
Hristo
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!