Hi Team,
I am trying our Telerik for Calendar & Scheduler. I have read your documents on Calendar & Scheduling however, I am unable to find how to add users in the Calendar. I would like follow similar to the documentation that was displayed as attached. Is there a way to display users in our Calendar?
Pardon me for lack of knowledge as I have just started learning C#.
Thank you.
3 Answers, 1 is accepted
Hi Derek,
Thank you for the provided image.
The sample demo from the attached image can be found in our Xamarin Demo application/Examples/Calendar/MultiDatViewPeopleExample
Please review the example how the users are displayed - Mainly review the MultiDayViewPeopleView.xaml file. It contains the calendar control, and the users are displayed using the Telerik UI for Xamarin NonVirtualizedItemsControl.
Inside the DataProvider.cs file you can check how the Calendar Appointments are assigned to the concrete user.
I hope this information will help you get started with the Calendar control.
Regards,
Didi
Progress Telerik
Hi Didi,
Thanks for the advice. However, when trying to analyse the code and I cant find any documentation of NonVirtualizedItemsControl.
What does this do? Pardon me for asking so much question.
From my understanding, there should be a binding of context in the XMAL. However under the MultiDayViewPeopleView.xaml, i dont see any binding in it? Might need your advice on how it works over here.
Thanks for your advice again and my apologies if I have asked too much.
Hi Derek,
Let me get straight to the questions:
1) NonVirtualizaItemsControl
The NonVirtualizedItemsControl is not an official control. This is the reason why we do not have a documentation for it. Mainly its purpose is for internal usage or in scenarios when no virtualization is needed. The control has similar functionality as the RadListView control.
2) BindingContext
The structure of our Xamarin Demo application follows the guidelines described in the Enterprise Application Patterns using Xamarin.Forms eBook
The navigation service sets the binding context - refer to the attached image.
More information about DataBinding in Xamarin.Forms - check the following link from the Microsoft documentation :https://docs.microsoft.com/en-us/xamarin/xamarin-forms/app-fundamentals/data-binding/
3) Sample demo
I have created a sample demo based on the demo in our QSF application. Please download it and give it a try. I have left comments in it so it will be easier to get you started.
I hope the provided information was helpful. If you have any additional questions on this please open a support ticket or another forum thread. I am asking about this as the topic of this thread is "Display User in Scheduling"
Regards,
Didi
Progress Telerik