This is a migrated thread and some comments may be shown as answers.

Display User in Scheduling

3 Answers 124 Views
Calendar & Scheduling
This is a migrated thread and some comments may be shown as answers.
Derek
Top achievements
Rank 1
Derek asked on 11 Feb 2020, 06:36 AM

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

Sort by
0
Didi
Telerik team
answered on 11 Feb 2020, 08:43 AM

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

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Derek
Top achievements
Rank 1
answered on 12 Feb 2020, 04:49 AM

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.

0
Accepted
Didi
Telerik team
answered on 12 Feb 2020, 12:12 PM

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

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Calendar & Scheduling
Asked by
Derek
Top achievements
Rank 1
Answers by
Didi
Telerik team
Derek
Top achievements
Rank 1
Share this question
or