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. Image for the cookie policy date

clicking "Today" button doesnt update the inline events in the calendar

Clicking "Today" button doesn't update the inline events in the calendar. However clicking the dates cell in the calendar control loads the associated events properly.

            <StackLayout Orientation="Vertical">
            <syncfusion:SfCalendar x:Name="calendar" />
                <Button x:Name="btn"  Text="Today's Date" HorizontalOptions="CenterAndExpand" VerticalOptions="CenterAndExpand"/>

--Code behind
  private void Btn_Clicked(object sender, EventArgs  args)
            calendar.MoveToDate = DateTime.Now.Date;

1 Reply

IR Indumathi Ravichandran Syncfusion Team September 19, 2019 01:25 PM UTC

Hi Shweta, 
Thank you for contacting Syncfusion support. 
Based on the provided information we have checked the mentioned issue “Calendar InlineEvents doesn’t update in button click” and it is working fine as expected from our end. When set the MoveToDate in button click, calendar moves to the date of the month, but InlineView doesn’t open. Using the following methods ExpandInlineView() and CollapseInlineView() we can expand and collapse the InlineView of calendar programmatically. We have prepared the sample for the same. Please, find the sample from following link, 
We hope this helps. Please let us know, if need any further assistance. 
Indumathi R 

Live Chat Icon For mobile
Up arrow icon