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

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

Thread ID:

Created:

Updated:

Platform:

Replies:

147631 Sep 18,2019 05:47 AM UTC Sep 19,2019 01:25 PM UTC Xamarin.Forms 1
loading
Tags: SfCalendar
Shweta
Asked On September 18, 2019 05:47 AM UTC

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.

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

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

Indumathi Ravichandran [Syncfusion]
Replied On 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. 
 
Regards, 
Indumathi 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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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

Live Chat Icon For mobile
Live Chat Icon