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

Blank Event In +n More Popup When Using Template

When I use a custom template for events, events in the +n more popup are blank.  Is there a separate template for the +n more popup, or is this a bug?  The following shows the issue (these images are also attached to this post): 



The following code reproduces the issue:

@using Syncfusion.EJ2.Blazor.Schedule

<EjsSchedule TValue="AppointmentData"
             ModelType="@appointmentModel"
             Height="100%"
             Width="100%"
             CurrentView="View.Month"
             SelectedDate="@(new DateTime(2019,12,1))">
    <ScheduleViews>
        <ScheduleView Option="View.Month"></ScheduleView>
    </ScheduleViews>
    <ScheduleEventSettings DataSource="DataSource">
        <Template>
            @{
                var appointment = (context as AppointmentData);
                <div class="subject">
                    @(appointment.Subject + " - " + appointment.Location)
                </div>
            }
        </Template>
    </ScheduleEventSettings>
</EjsSchedule>
@code{
    AppointmentData appointmentModel = new AppointmentData();
    List<AppointmentData> DataSource = new List<AppointmentData>
{
        new AppointmentData{ Id = 1, Subject = "Meeting1", Location="Charleston, SC", StartTime = new DateTime(2019, 12, 11).Date , EndTime = new DateTime(2019, 12, 18).Date.AddMinutes(1)},
        new AppointmentData{ Id = 2, Subject = "Meeting2", Location="San Diego, CA", StartTime = new DateTime(2019, 12, 11).Date , EndTime = new DateTime(2019, 12, 18).Date.AddMinutes(1)},
        new AppointmentData{ Id = 2, Subject = "Meeting3", Location="Somewhere, VA", StartTime = new DateTime(2019, 12, 11).Date , EndTime = new DateTime(2019, 12, 18).Date.AddMinutes(1)}
    };
    public class AppointmentData
    {
        public int Id { get; set; }
        public string Subject { get; set; }
        public string Location { get; set; }
        public DateTime StartTime { get; set; }
        public DateTime EndTime { get; set; }
        public string Description { get; set; }
        public bool IsAllDay { get; set; }
        public string RecurrenceRule { get; set; }
        public string RecurrenceException { get; set; }
        public Nullable<int> RecurrenceID { get; set; }
    }
}

Attachment: EventTemplate_40ad498.zip

4 Replies

NR Nevitha Ravi Syncfusion Team November 22, 2019 04:35 AM UTC

Hi Kevin, 
  
Greetings from Syncfusion Support. 
  
The reported issue is already a known issue and will be fixed in our weekly patch release scheduled on the end of November, 2019. You can keep track of this issue using the following link. 
  
In the meantime we suggest you to use RowAutoHeight property which will auto adjust the cell height based on the appointments in order to view all the appointments. 
  
  
Regards, 
Nevitha 



UN Unknown November 22, 2019 08:17 PM UTC

Thanks for the speedy response!


NR Nevitha Ravi Syncfusion Team November 25, 2019 10:09 AM UTC

Hi Kevin, 

Thanks for your update. We will let you know once the issue has been fixed and included in the release. 

Regards, 
Nevitha 



NR Nevitha Ravi Syncfusion Team December 19, 2019 06:03 AM UTC

Hi Kevin, 
 
Thanks for your patience. The issue “event template not applied to events within more event container” has been fixed in our Volume 4, 2019 main release (v17.4.39). Please upgrade to our latest version to avail the fix. 
 
Regards, 
Nevitha 


Loader.
Live Chat Icon For mobile
Up arrow icon