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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Marking special dates

Thread ID:

Created:

Updated:

Platform:

Replies:

119118 May 12,2015 11:49 AM UTC May 13,2015 10:33 AM UTC WinRT 1
loading
Tags: SfCalendar
Ric Silva
Asked On May 12, 2015 11:49 AM UTC

Im trying to achieve this on a SfCalendar
what i want is to add a small dot, beneth certain days ( holidays for example ) that i would define in code behind.

Calendar with Dots
is there a way to mark days in calendar?
also, is there a way to remove the  ",2015" from the Header?

Bharadhi K [Syncfusion]
Replied On May 13, 2015 10:33 AM UTC

Hi Ric,

Thank you for your interest in Syncfusion products.

Query 1: is there a way to mark days in calendar?

Yes. By using the CellTemplateSelector we can edit the template of each cell in the SfCalendar control. We have prepared a sample to demonstrate the same. In the sample, we have added some dates to HolidayDates collection of Holiday class and using CellTemplateSelector we have set the CellTemplate. For more information on this, please refer the documentation link given below.

http://help.syncfusion.com/UG/winrt/index.html#!Documents/celltemplate.htm

Query 2: is there a way to remove the ",2015" from the Header?

We can customize the Header by using the HeaderTemplate property of SfCalendar. In the sample, we have set the HeaderTemplate and formatted the Date using CalendarHeaderFormater class.

Please find the sample in the following link.

Sample: SfCalendar_119118.zip

Could you please let us know if your requirements have been fulfilled and if you require further assistance on this.

Regards,
Bharadhi K

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.

Warning Icon 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.Close Icon

;