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

iOS calendar not navigate to selected date and highlighting disappear

6 Answers 93 Views
Calendar & Scheduling
This is a migrated thread and some comments may be shown as answers.
Shalin
Top achievements
Rank 1
Shalin asked on 08 Jan 2019, 11:20 AM

hi,

i am opening week view calendar from month view calendar cell tap event, both in two content pages. selected date in month view set to display date and selected date in week view calendar. same code work perfectly in android not in iOS.

1) how to fix navigation in iOS calendar ?

2) In my current project if i load appointments into week view calendar item source selected date highlighting also disappear. you can check my question in following link. (https://www.telerik.com/forums/selected-cell-does-not-keep-the-circle#YS2gCVT0Zked-0r8Twv0FQ)

i have a sample project don't know how to attach it

6 Answers, 1 is accepted

Sort by
0
Shalin
Top achievements
Rank 1
answered on 09 Jan 2019, 09:22 AM

we can achieve navigation to selected date by setting selected val

if (Device.RuntimePlatform == Device.iOS)
           {
               if (newValue.Date == DateTime.Now.Date)// && your data fetch methods end, use bool to find data fetch end
               {
                   Calendar.SelectedDate = null;
                   Calendar.SelectedDate = InitialDate; //local variable holds selected date value navigate to week view, in constructor
Calendar.DisplayDate= InitialDate;
               }
           }

 

but if you add item to calendar appointment source highlight of selected date goes

0
Yana
Telerik team
answered on 09 Jan 2019, 11:21 AM
Hi Shalin,

As far as I understand you've managed to resolve the first issue, can you confirm this?

Regarding the second issue I am pasting my reply from the other thread on the same topic:

Indeed, the selected date style is lost on iOS when the Calendar AppointmentsSource is updated. We have this issue logged in our public portal, you could follow the item below:
https://feedback.telerik.com/xamarin/1366092-calendar-ios-the-visual-state-of-the-selected-date-is-lost-when-the-appointmentssource-is-changed

in order to receive notifications on status changes. 

I am afraid at this point we cannot commit to any timeframe for resolving this.


As to your note about attachments - in the forums only image attachments are allowed.  For other types of files, please open a support ticket and send them there. Thank you for the understanding.

Regards,
Yana
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
Shalin
Top achievements
Rank 1
answered on 09 Jan 2019, 11:28 AM

thank you for the reply.

First issue is fixed..........

but in my opinion, it shouldn't be in that way. after i have set selected and display date in week view it should keep in there but in iOS it revert to Default date again.

0
Yana
Telerik team
answered on 10 Jan 2019, 01:03 PM
Hi Shalin,

In order to ensure we're on the same page regarding this, can I ask you to elaborate more on the exact use case you have?

Thank you in advance.

Regards,
Yana
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
Shalin
Top achievements
Rank 1
answered on 10 Jan 2019, 01:15 PM

hi

if i select date which is not fall in current date week, when navigating to week view calendar it should automatically change the week it displaying. because i set display date and selected date in week view calendar page constructor. but it is not work in that way in iOS.

we need to set selected date at the end again in display date change event or in selected date change event. This is navigation problem and highlighting selected date is another.

0
Yana
Telerik team
answered on 15 Jan 2019, 08:39 AM
Hi Shalin,

Thank you for providing the details - I have managed to observe the different behavior on iOS and Android.  Indeed, this seems an issue in Calendar on iOS, so I logged it on your behalf in our public portal for further investigation. Please follow the item below in order to receive notifications on status changes:
https://feedback.telerik.com/xamarin/1383049-calendar-ios-displaydate-is-not-updated-property-in-specific-scenario

I am sorry for any inconvenience caused.

Regards,
Yana
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
Shalin
Top achievements
Rank 1
Answers by
Shalin
Top achievements
Rank 1
Yana
Telerik team
Share this question
or