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.
Unfortunately, activation email could not send to your email. Please try again.

How to create a custom template for each type of view

Thread ID:

Created:

Updated:

Platform:

Replies:

116489 Jun 2,2014 05:59 AM Jun 23,2014 08:53 AM WinRT 10
loading
Tags: SfSchedule
Abdelhamid
Asked On June 2, 2014 05:59 AM

Hi, 

How can in create a custom view for each type of view (day, week, month).

Thank you,

Nijamudeen Mohamed Sulaiman [Syncfusion]
Replied On June 3, 2014 05:06 AM

Hi Abdelhamid

 

Thanks for your interest in Syncfusion products.

 

Currently we don’t have the support to create a custom view in Schedule control. But we are able to achieve your requirement by overriding the default templates of schedule control.

 

So could you please share more details related to the custom view along with screenshots (if possible). So that it could be very helpful for us to understand your requirement clearly and provide you a better solution.

 

Please let us know if you have any queries.

 

Thanks,

Nijamudeen M


Abdelhamid
Replied On June 3, 2014 10:15 AM

Thank you for your answer. Simply i want to show a TextBlock only in the month and week template.

Nijamudeen Mohamed Sulaiman [Syncfusion]
Replied On June 4, 2014 11:03 AM

Hi Abdelhamid,

 

Thanks for your update.

 

Yes, we can add any content in the schedule by overriding the default template of the items in the Schedule. Could you please provide us more information regarding the item/area on which you need to add the TextBlock. If possible please provide us a screenshot. So that it will be helpful for us to analyze further on your requirement and provide you a possible solution.

 

Please let us know if you have any queries.

                                                                                                                                                       

Thanks,

Nijamudeen M.


Abdelhamid
Replied On June 10, 2014 11:31 AM

Hi,

I want to show the name and the adress in the day view and only the name in the week and month view.

Thank you,

Nijamudeen Mohamed Sulaiman [Syncfusion]
Replied On June 11, 2014 09:37 AM

Hi Abdelhamid, 

 

Thanks for the update.

 

Based on the provided information we suspect that your requirement is to show the details on the appointment and it can be achieved by overriding the default template for the appointments in Schedule Control.

 

Could you please confirm us that the above mentioned is your requirement? So that we can work further on it and provide you a possible solution.

 

If it is not related to your requirement and could you please mention where you exactly want to show the name and address like in the area of Header or Appointments etc. It will be very helpful for us to analyse on it and provide you the possible solution.

 

Please let us know, if you have any queries.

 

Thanks,

Nijamudeen M.


Abdelhamid
Replied On June 11, 2014 09:44 AM

Thanks for the answer,

i already overridden the appointment template to show custom informations but i want to show a different information for each schedule type (Week and Month).


Nijamudeen Mohamed Sulaiman [Syncfusion]
Replied On June 12, 2014 10:02 AM

 

Hi Abdelhamid,

 

Based on the provided information we have prepared sample by overriding the default template of header title bar view. Please find the sample in the attachment.

 

If the sample doesn`t meet your requirement could you please provide us more information along with screen shot (if possible). It will be very helpful for us to analyse on it and provide you the possible solution.

 

Please let us know, if you have any queries.

 

Thanks,

Nijamudeen M.


Attachment: ScheduleHeaderFormatChange_WinRT_8fade70e.zip

Abdelhamid
Replied On June 19, 2014 03:53 AM

Thank you for the sample. But i want to change the appointment template not the header template.

Nijamudeen Mohamed Sulaiman [Syncfusion]
Replied On June 20, 2014 07:44 AM

 

Hi Abdelhamid,

 

We are analyzing on this query and we will let you know the status of this in one business day (Jun 23, 2014).

 

Please let us know if you have any concerns.

 

Regards,

Nijamudeen M.


Nijamudeen Mohamed Sulaiman [Syncfusion]
Replied On June 23, 2014 08:53 AM

Hi Abdelhamid,

 

We appreciate your patience.

 

Currently we don’t have any direct support to change the appointment template. But your requirement can be achieved by using converters. Based on the provided information we have prepared sample by overriding the default template of the appointments in Schedule Control. Please find the sample in the attachment.

 

In the below sample we have used converters to change the appointment content when the schedule type changes.

 

If the sample doesn`t meet your requirement could you please provide us more information along with screen shot (if possible). It will be very helpful for us to analyse on it and provide you the possible solution.

 

Please let us know, if you have any queries.

 

Thanks,

Nijamudeen M.


Attachment: CustomAppointmentView_b04642d9.zip

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;