We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Items disappear when switching between month-week-day view

Hi,

I'm using the SFSchedule in a DataBinding technique.

As it shown in your samples, I'm using the ItemsResource property to bind my collection.

The item are displayed just fine in a month view, but when I switch to week or day view, they disappear.

Any ideas ?..

Thanks,

Kesem


8 Replies

JO Joy Oyiess Rex  K Syncfusion Team March 19, 2014 05:17 AM UTC

Hi Kesem,

 

Thanks for your interest in Syncfusion products.

 

Based on the provided information, your requirement is to bind the custom data collection with the ItemsSource property of the SfSchedule.  We have created a simple sample for the same. Please find the sample in the attachment.

 

And we are not able reproduce the mentioned issue when switching between schedule views (ScheduleType) for the please refer the attached sample.

 

If the provided solution doesn’t meet your requirement, please revert us back with more information by modifying the provided sample, so that we could analyse on it and provide you better solution.

 

Please let us know, if you need any further assistance.

 

Regards,

Joy Oyiess Rex K


Attachment: AppointmentMapping_SfSchedule_WinRT_11a0520b.zip


KZ Kesem Zur-Korakin March 20, 2014 08:45 PM UTC

I'm following your sample, but still have some issues.

Seems that my recurrence events won't show on day/week view, but will show on month view.

I'm not using the recurrence feature in the SFSchedule, as it didn't work for me (no option to edit it using my own editor). I am duplicating the recurrence events, so eventually each event is a single event on the scheduler.

Still, only those events, who were duplicated, will not shown on any view but the monthly view. All other events will show on all the views.

I can't seem to find any difference between the two Items in the ItemsSource...

Further investigation shows that the event that are not shown raise the following exception (that might explain whey they are disappear from the scheduler).

Error: Converter failed to convert value of type 'Boolean' to type 'Brush'; BindingExpression: Path='MinorTickLabelStroke' DataItem='Syncfusion.UI.Xaml.Schedule.SfSchedule'; target element is 'Syncfusion.UI.Xaml.Schedule.ScheduleDaysView' (Name='null'); target property is 'MinorTickLabelStroke' (type 'Brush').

Any ideas ?

Thanks,

Kesem



JO Joy Oyiess Rex  K Syncfusion Team March 21, 2014 09:47 AM UTC

Hi Kesem,

 

Thanks for your update.

 

#Regarding duplicating the recurrence events

 

Could you please provide us a simple sample or code snippet for the mentioned scenario, so that we could analyse on it and provide you better solution.

 

# Regarding DataBinding Issue

 

We have already noted the mentioned issue and fixed it. The fix for this issue will be available in our upcoming volume release, Volume 1 Mar 2014, which is estimated to be available by the end of this month.

 

Please let us know, if you have any concerns.

 

Thanks,

Joy Oyiess Rex K



KZ Kesem Zur-Korakin March 21, 2014 04:23 PM UTC

Please find the following example.

Seems that the event will show on the other views (weekly, daily), but the exception still raised.

On my original code, which is doing about the same, the events will not appear on any other views but the monthly view.

Any ideas what I am doing wrong ?

Thanks,

Kesem


Attachment: RecurrenceEvents_SfSchedule_WinRT.v11_2b3b90b1.zip


JO Joy Oyiess Rex  K Syncfusion Team March 24, 2014 12:31 PM UTC

Hi Kesem,

Thanks for your previous update.

From the provided sample, we are not able to reproduce the mentioned issue, (i.e.,) we are able to view the appointments on all the views.

We suspect that the mentioned issue is due to StartTime and EndTime of the Appointment  might  be same. Based on the implementation of Schedule control, appointments in the Month View doesn’t depends on timespan like the other views, so we are able to view zero duration appointment in MonthView alone(but not in the other views).

If the provided solution doesn’t meet you requirement, please revert us back with more information by modify the provided sample to reproduce the issue. So that we could analyse on it and provide you better solution.

Along with the above requested information, could you please provide us more information about your requirement of  what kind of properties which you need to be modified in those recurrence appointment?

Regards,
Joy Oyiess Rex K



KZ Kesem Zur-Korakin March 24, 2014 06:01 PM UTC

Thanks! Those calendar items were, indeed, reminders so the start and end time was the same.

I put a minimal duration time, and this has solved the issue.

I still get the exception






Error: Converter failed to convert value of type 'Boolean' to type 'Brush'; BindingExpression: Path='MinorTickLabelStroke' DataItem='Syncfusion.UI.Xaml.Schedule.SfSchedule'; target element is 'Syncfusion.UI.Xaml.Schedule.ScheduleDaysView' (Name='null'); target property is 'MinorTickLabelStroke' (type 'Brush').

 Will this is solved on the next version ? (This is only for weekly/daily views).

As for recurrence events - I will need to allow editing all the properties (start time, end time, attendees, message, location, etc.. ), but I also need some sort of notification that the event was changed. Right now you don't provide such notification (for neither recurrence or one-time events), and for that reason I'm using my own custom editor.

Thanks,

Kesem



JO Joy Oyiess Rex  K Syncfusion Team March 25, 2014 12:04 PM UTC

Hi Kesem,

 

Thanks for your update,

 

We are glad to hear that the issue resolved.

 

Regarding  Binding issue

 

 As mentioned earlier , we have already noted the mentioned issue  and fixed it. The fix for this issue will be available in our upcoming volume release, Volume 1 Mar 2014, which is estimated to available in a week.

 

Regarding  Recurrence Appointments

 

We are currently analysing on this, we will let you know the details in two business days (Mar 27, 2014).

 

Please let us know, if you need any further assistance.

 

Regards,

Joy Oyiess Rex K



JO Joy Oyiess Rex  K Syncfusion Team March 27, 2014 11:11 AM UTC

Hi Kesem,

 

We appreciate your patience.

 

We have analysed your requirement of notifying when some properties of an appointment changed, we are able to achieve this requirement, through the “EditedAppointment” and “OriginalAppointment” event arguments, which we have implemented in the AppointmentEditorClosed event of the SfSchedule, this support will be available from our upcoming volume release ( Volume 1 2014). It is estimated to be available in a week.

 

Please let us know, if you need any further assistance.

 

Regards,

Joy Oyiess Rex K


Loader.
Live Chat Icon For mobile
Up arrow icon