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: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

SFCalendar issues

Thread ID:

Created:

Updated:

Platform:

Replies:

124396 Jun 7,2016 08:11 AM UTC Jun 15,2016 12:41 PM UTC Xamarin.Forms 5
loading
Tags: SfCalendar
Bharadwaj Satbhai
Asked On June 7, 2016 08:11 AM UTC

I had integrated SFCalendar in my project.

But there are few problems i am facing, like-

- I am unable to set Max Date and Min Date limit to this control in iOS(In Android it works perfectly fine).

- Swipe issue in iPad for month.

- There are number of properties exist inside this control, but these are not working properly, like-

      - Can't set background color and text color for dates in android

   


Hemalatha Marikumar [Syncfusion]
Replied On June 8, 2016 12:44 PM UTC

Hi Bharadwaj,

Query: Unable to set Max Date and Min Date in Calendar

We were able to reproduce the reported issue at our side. The fix of reported issue will be available in our upcoming Volume 2 service pack1 release. You may also check our website periodically to know about our release.

Query: Swipe issue in iPad for month.

We were unable reproduce the reported behavior at our end. Please update us more details, replication procedure or sample project to analyze more and provide an appropriate solution.

Query: Can't set background color and text color for dates in android

We can set the background and text color for calendar dates by using OnDrawMonthCell. Please use the following code example,

Code Example,

void sfCalendar_OnDrawMonthCell(object sender, Syncfusion.SfCalendar.XForms.MonthCell args)
{
args.TextColor = Color.Red;
args.BackgroundColor = Color.Purple;

}
 

We have created a sample for achieving your requirement. Please download the same from the following link

Link: http://www.syncfusion.com/downloads/support/forum/124396/ze/Customization-1478470637

Regards,
Hemalatha M.R



Bharadwaj Satbhai
Replied On June 9, 2016 07:31 AM UTC

Hi Hemalatha,
Thanks for the reply!

Still there is problem with last query-

Query: Can't set background color and text color for dates in android
 - 
I am unable to get the event OnDrawMonthCell on SFCalendar.
   I have added syncfusion.sfcalendare.xforms dll to my project. Also set corresponding references to platform specific folders, but it doesn't give this event for SFCalendar object.




Hemalatha Marikumar [Syncfusion]
Replied On June 10, 2016 09:35 AM UTC

Hi Bharadwaj,

Thanks for your update.

OnDrawMethodCell event is available only from our latest version. Please upgrade your Syncfusion version to 14.1.0.46 and refer to the following link for the same.

https://www.syncfusion.com/downloads/version-history/

Regards,
Hemalatha M.R


Bharadwaj Satbhai
Replied On June 14, 2016 10:47 AM UTC

Hi Hemalatha,

Thanks for the quick reply!

I have integrated latest dll for sfcalendar. This works for android like a charm.
But i am facing problems for iOS now. What is the reason behind?
As it is code inside PCL, it should work on both platforms.

Hemalatha Marikumar [Syncfusion]
Replied On June 15, 2016 12:41 PM UTC

Hi Bharadwaj,

Thanks for your update.

We were unable to reproduce the reported issue on OnDrawMethodCell event in iOS. We have created a sample.Please download the sample from the following link

Link: http://www.syncfusion.com/downloads/support/forum/124396/ze/CalendarSample1245401853107293

Please refer the above sample. If the issue still persists, update us with the modified sample or replication procedure to analyze more and provide an appropriate solution.

Regards,
Hemalatha M.R

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

;