Posted 18 February 2019, 5:48 pm EST
Hello,
I further tested the application and have made few modifications to it. Now, at my end I am never able to select less than 7 days (see attached video). For modified application, please refer attached sample application.
c1Calendar1.MaxSelectionCount = 7;
private void C1Calendar1_SelectionChanged(object sender, SelectionChangedEventArgs e)
{
if(e.Selection.Length<7)
{
c1Schedule1.ViewType = ScheduleViewEnum.WeekView;
}
}
Thanks,
Ruchir
[zip filename="MinSelectionCount_workaround.zip"]https://gccontent.blob.core.windows.net/forum-uploads/file-cd91d990-4859-4d43-ab40-a5ab3d5ba5ed.zip[/zip][img]https://gccontent.blob.core.windows.net/forum-uploads/file-d49150a1-dd3b-47cf-a782-90c295d294de.gif[/img]