Shows extra calendar entries in fullweek and month views from tomorrow
Hello!
We utilize your schedulecontrol in our application but recently we've encountered a strange problem which we do not had previously. The problem occured after changing the version of Syncfusion from 7.1.0.21 to 8.1.0.30.
For our schedule we use fixed time slots for every workday. (First: 10:00-12:00, Second: 13:00-15:00, Third: 15:00-17:00, Fourth: 17:00-18:00 (originally 18:10, but since the time unit is 30 minutes we round it to 18:00)
As you can see in the day and workweek view pictures they're displayed correctly. But if you see the full week and the month view than there is an extra time slot added to each day. (Label: "Nincs ütemezett feladat:17:00")
I did some investigation and it seems that in full week and month view it shows the next day's first activity in this extra slot.
(So for example at 2010.03.30 it shows the activity at 2010.03.31 10:00-12:00 and displays it as "Nincs ütemezett feladat:17:00"
You can see the red bars in the appropriate views)
This kind of error was not in the previous version of Syncfusion. Can you check it and tell me how to avoid this?
Thanks for the help in advance!
Views_9c1640b6.zip
We utilize your schedulecontrol in our application but recently we've encountered a strange problem which we do not had previously. The problem occured after changing the version of Syncfusion from 7.1.0.21 to 8.1.0.30.
For our schedule we use fixed time slots for every workday. (First: 10:00-12:00, Second: 13:00-15:00, Third: 15:00-17:00, Fourth: 17:00-18:00 (originally 18:10, but since the time unit is 30 minutes we round it to 18:00)
As you can see in the day and workweek view pictures they're displayed correctly. But if you see the full week and the month view than there is an extra time slot added to each day. (Label: "Nincs ütemezett feladat:17:00")
I did some investigation and it seems that in full week and month view it shows the next day's first activity in this extra slot.
(So for example at 2010.03.30 it shows the activity at 2010.03.31 10:00-12:00 and displays it as "Nincs ütemezett feladat:17:00"
You can see the red bars in the appropriate views)
This kind of error was not in the previous version of Syncfusion. Can you check it and tell me how to avoid this?
Thanks for the help in advance!
Views_9c1640b6.zip
SIGN IN To post a reply.
5 Replies
RC
Rajadurai C
Syncfusion Team
April 21, 2010 10:04 AM UTC
Hi Marton,
Thanks for your interest in Syncfusion Products.
I have created a simple sample with some appointments in working days in a week. It has been attached in the following link:
http://help.syncfusion.com/samples/Grid.Windows/8.1.0.30/F94068.zip
In this sample, i couldn't see such inconsistencies in reported views. Could you please reproduce the issue in this sample and provide us? It would be fine for us to see the issue and sort out the cause for it.
Regards,
Rajadurai
Thanks for your interest in Syncfusion Products.
I have created a simple sample with some appointments in working days in a week. It has been attached in the following link:
http://help.syncfusion.com/samples/Grid.Windows/8.1.0.30/F94068.zip
In this sample, i couldn't see such inconsistencies in reported views. Could you please reproduce the issue in this sample and provide us? It would be fine for us to see the issue and sort out the cause for it.
Regards,
Rajadurai
MS
Marton Sindely
April 29, 2010 11:22 PM UTC
Hello!
As you've requested I've altered your simple sample to show exception. I'm adding it as an attachment for this forum post.
The root cause of this problem is putting a line break character ("\n") in the subject field of ScheduleAppointment object.
I've mainly modified the LoadBinary function like the following:
AppDomain.CurrentDomain.AssemblyResolve += new ResolveEventHandler(Syncfusion.ScheduleWindowsAssembly.AssemblyResolver);
BinaryFormatter b = new BinaryFormatter();
b.AssemblyFormat = FormatterAssemblyStyle.Simple;
object obj = b.Deserialize(s);
t.MasterList = obj as SimpleScheduleAppointmentList;
foreach (SimpleScheduleAppointment item in t.MasterList) {
item.Subject = "Test line break: \n" + item.Subject;
}
It you comment out inside of the foreach then everything works nice. But if you leave it, you'll see the exception given in full week format.
I hope it helps.
F94068_709d1a9a.ZIP
As you've requested I've altered your simple sample to show exception. I'm adding it as an attachment for this forum post.
The root cause of this problem is putting a line break character ("\n") in the subject field of ScheduleAppointment object.
I've mainly modified the LoadBinary function like the following:
AppDomain.CurrentDomain.AssemblyResolve += new ResolveEventHandler(Syncfusion.ScheduleWindowsAssembly.AssemblyResolver);
BinaryFormatter b = new BinaryFormatter();
b.AssemblyFormat = FormatterAssemblyStyle.Simple;
object obj = b.Deserialize(s);
t.MasterList = obj as SimpleScheduleAppointmentList;
foreach (SimpleScheduleAppointment item in t.MasterList) {
item.Subject = "Test line break: \n" + item.Subject;
}
It you comment out inside of the foreach then everything works nice. But if you leave it, you'll see the exception given in full week format.
I hope it helps.
F94068_709d1a9a.ZIP
JJ
Jisha Joy
Syncfusion Team
May 6, 2010 05:34 AM UTC
Hi Marton,
You could solve the issue by explitly setting the MonthCalendarStartDayOfWeek and WeekCalendarStartDayOfWeek properties.
this.scheduleControl.Appearance.MonthCalendarStartDayOfWeek = DayOfWeek.Sunday;
this.scheduleControl.Appearance.WeekCalendarStartDayOfWeek = DayOfWeek.Sunday;
Please try this and let me know if this helps.
Regards,
Jisha
You could solve the issue by explitly setting the MonthCalendarStartDayOfWeek and WeekCalendarStartDayOfWeek properties.
this.scheduleControl.Appearance.MonthCalendarStartDayOfWeek = DayOfWeek.Sunday;
this.scheduleControl.Appearance.WeekCalendarStartDayOfWeek = DayOfWeek.Sunday;
Please try this and let me know if this helps.
Regards,
Jisha
CW
Charlotte Wesker
July 1, 2024 11:08 AM UTC
I've noticed a peculiar issue with my calendar showing extra entries in full week and month views, starting from tomorrow. While troubleshooting, I also explored how to watch YES Network without success due to geo-restrictions. Seeking community advice, I found a workaround using Binge VPN. Let's discuss fixes for both calendar challenges.
SP
Sreemon Premkumar Muthukrishnan
Syncfusion Team
July 2, 2024 03:25 PM UTC
Hi Charlotte Wesker,
We are a little unclear about the issue you reported, and it seems the link you provided is not related to your query and ScheduleControl. Could you please provide more information about your query with image reference?
Regards,
Sreemon Premkumar M.
SIGN IN To post a reply.
- 5 Replies
- 5 Participants
-
MS Marton Sindely
- Apr 20, 2010 09:18 PM UTC
- Jul 2, 2024 03:25 PM UTC