My scheduler control has resources enabled. The resource list is quite lengthy, over 100 items. I found this article on implementing paging:
http://www.telerik.com/support/kb/aspnet-ajax/scheduler/how-to-implement-resource-paging.aspx
So I plan on implementing that functionality for the Day, Week, and Timeline views. However, my boss wants the Month view to have no grouping at all. So I'm trying to figure out the best way to accomplish that. So far I know I need to hook up to the NavigationComplete method like this:
void conScheduler_NavigationComplete(object sender, SchedulerNavigationCompleteEventArgs e) |
{ |
try |
{ |
if (e.Command != SchedulerNavigationCommand.SwitchToMonthView) |
{ |
} |
} |
catch (Exception ex) { lblError.Text = ex.ToString(); } |
} |
But my question is - What is the proper syntax to remove the grouping settings?
This is what I set initially:
conScheduler.GroupBy = "Resource"; |
conScheduler.GroupingDirection = GroupingDirection.Vertical; |
So do I just clear it out like this:
conScheduler.GroupBy = "";
Or is there a better method?
**Note - I don't want to completely remove the resource from the resource collection. I only want to remove the grouping by the resource in the display. So when the user adds a new appointment or edits an appointment, they still are able to select a resource.
Thanks.