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

Blank Event In +n More Popup When Using Template

Thread ID:

Created:

Updated:

Platform:

Replies:

149323 Nov 21,2019 04:46 PM UTC Dec 19,2019 06:03 AM UTC Blazor 4
loading
Tags: Scheduler
Kevin Greene
Asked On November 21, 2019 04:46 PM UTC

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

Nevitha Ravi [Syncfusion]
Replied On 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 


Kevin Greene
Replied On November 22, 2019 08:17 PM UTC

Thanks for the speedy response!

Nevitha Ravi [Syncfusion]
Replied On 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 


Nevitha Ravi [Syncfusion]
Replied On 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 


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