SfCalendar InlineItemTapped not triggering/firing

Hi, I have a calendar and have assigned the InlineItemTapped event to a method in my code behind, however it is not firing. Could someone point out to me where I'm going wrong? Thanks


My calendar is as follows:

    <syncfusion:SfCalendar x:Name="calendar"

                           ViewMode="MonthView"

                           ShowInlineEvents="True"

                           InlineViewMode="Agenda"

                           MaximumEventIndicatorCount="5"

                           DataSource="{Binding Events}"

                           FirstDayofWeek="1"

                           InlineItemTapped="Calendar_InlineItemTapped">

        <syncfusion:SfCalendar.MonthViewSettings>

            <syncfusion:MonthViewSettings TodaySelectionBackgroundColor="DodgerBlue"

                                          AgendaSelectedDateColor="Gray">

                <syncfusion:MonthViewSettings.InlineItemTemplate>

                    <DataTemplate>

                        <Button TextColor="Black"

                                BackgroundColor="{Binding Color}"

                                Text="{Binding Subject}"

                                TextTransform="None"/>

                    </DataTemplate>

                </syncfusion:MonthViewSettings.InlineItemTemplate>

            </syncfusion:MonthViewSettings>

        </syncfusion:SfCalendar.MonthViewSettings>

    </syncfusion:SfCalendar>


and the method:

private void Calendar_InlineItemTapped(object sender, InlineItemTappedEventArgs e)

{

var appointment = e.InlineEvent;

DisplayAlert(appointment.Subject, appointment.StartTime.ToString(), "ok");

}


2 Replies

MS Muniappan Subramanian Syncfusion Team July 26, 2021 11:57 AM UTC

Hi Trystan,  
 
We have fixed the mentioned issue” SfCalendar InlineItemTapped not triggering/firing” and the patch for the issue fix is following by. Before installing the patch, kindly remove bin and obj folders from all the projects of solution and clear NuGet cache.  
 
 
 
 
Kindly find the below link to clear NuGet cache,  
 
Installation Direction:        
{​​​​​​​​Syncfusion Installed location}​​​​​​​​ \Essential Studio\19.2.0.44\Xamarin\lib\netstandard\Syncfusion.SfCalendar.XForms.dll        
{​​​​​​​​Syncfusion Installed location}​​​​​​​​ \Essential Studio\19.2.0.44\Xamarin\lib\android\Syncfusion. SfCalendar.XForms.Android.dll  {​​​​​​​​Syncfusion Installed location}​​​​​​​​ \Essential Studio\19.2.0.44\Xamarin\lib\ios\Syncfusion. SfCalendar.XForms.iOS.dll           
{​​​​​​​​Syncfusion Installed location}​​​​​​​​ \Essential Studio\19.2.0.44\Xamarin\lib\uwp\Syncfusion. SfCalendar.XForms.UWP.dll     
 
Disclaimer:      
Please note that we have created this patch for version 19.2.0.44 specifically to include the issue. We will include the issue fix in our upcoming Weekly NuGet releases. We appreciate your patience until then.  
 
Regards,     
Muniappan S  



SS SaiGanesh Sakthivel Syncfusion Team August 11, 2021 02:42 PM UTC

Hi Trystan, 
 
Thank for the patience. 
 
We are glad to announce that our Essential Studio 2021 Volume 2 service pack Release v19.2.0.55 is rolled out and the issue fix for SfCalendar InlineItemTapped not triggering/firing is available for download under the following link. 
 
 
We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance. 
 
Regards,  
SaiGanesh Sakthivel 


Loader.
Up arrow icon