- Home
- Forum
- ASP.NET MVC - EJ 2
- '+infinity more' on Scheduler Appointment label
'+infinity more' on Scheduler Appointment label
9 Replies
1 reply marked as answer
HB
Hareesh Balasubramanian
Syncfusion Team
January 22, 2021 11:28 AM UTC
Hi Kevin,
Greetings from Syncfusion Support..!
We have validated your shared screenshots at our end and suspect that, you may override the default functionality of the Scheduler through template properties of the Scheduler and that could be the reason for the reported problem and for that, we have prepared a sample in the current (18.4.0.35) version, which can be downloaded from the following link.
Note: We have removed the packages in the above sample.
Kindly try the above solution, if the issue persisshare us more details like the use case scenario/video demo of your problem/Scheduler rendering code snippets/replicate your problem in the above sample, in order to give the prompt solution at our end.
We will be happy to assist you.
Regards,
Hareesh
MK
MM Kevin Anderson
January 22, 2021 03:06 PM UTC
Thank you for your reply.
I built my project based on the samples and the only difference is that I used model binding for the appointment data. As a side note, I believe for your MVC sample you really should be using binding, using a ViewBag is really an anti-pattern.
I should have noted that the label works much of the time but only occasionally does not show correctly. One oddity, when I try to bring up the browser debug (developer tools) window the label displays correctly.
I really was just looking for some help on where the 'infinity' part might be coming from?
HB
Hareesh Balasubramanian
Syncfusion Team
January 25, 2021 11:18 AM UTC
Hi Kevin,
Thanks for the update.
We have prepared a sample to check the reported problem by binding remote data to scheduler, which can be downloaded from the following link but were unable to replicate the problem.
We filter the appointment based on the date and update the count, so we suspect that the issue is due to appointments loaded in your application. Please check the appointments are having proper start and end time and if you still face the problem, the please share the following details.
- Share the appointment data used in your shared sample
- The Syncfusion package version
- whether you have any templates for appointments or customize appointments.
- Share scheduler related code
- Share issue replicating sample or try to replicate the issue in above sample
Regards,
Hareesh
MK
MM Kevin Anderson
January 25, 2021 04:23 PM UTC
Thank you.
The binding I was referring to was MVC viewmodel binding (see below). This works fine except for the aforementioned error.
@Html.EJS().Schedule("schedule")
.Width("100%")
.Height("650px")
.Views(view => { view.ReadOnly(true).Option(View.Month).Add(); })
.EventSettings(new ScheduleEventSettings { DataSource = Model.CalendarMessages })
.SelectedDate(DateTime.Now).Render()
HB
Hareesh Balasubramanian
Syncfusion Team
January 27, 2021 03:35 PM UTC
Hi Kevin,
Thanks for the update.
We have modified our previously updated sample based on your shared code snippets using Model binding for the events, which can be downloaded from the following link but were unable to replicate the issue.
[Index.cshtml]
|
@(Html.EJS().Schedule("schedule")
.Height("550px")
.EventSettings(new ScheduleEventSettings { DataSource = Model })
.SelectedDate(new DateTime(2018, 2, 15))
.Render()
) |
[HomeController.cs]
|
public ActionResult Index()
{
var appointments = GetScheduleData();
return View(appointments);
} |
Kindly try the above solution and if the issue still persists at your end kindly share the below details to serve you better?
- Replicate the issue in the above sample.
- Share the issue replicating sample (if possible)
Regards,
Hareesh
PG
Pon Geetha A J
Syncfusion Team
January 28, 2021 04:53 AM UTC
To: Syncfusion Support <[email protected]>
Subject: Re: Syncfusion support community forum 161744, '+infinity more' on Scheduler Appointment label , has been updated.
Subject: Re: Syncfusion support community forum 161744, '+infinity more' on Scheduler Appointment label , has been updated.
Thank you. There is no difference between your sample and my code to create the scheduler. The only difference is that my view model is loading the data asynchronously which maybe causing the “+infinity more” label.
My question is, how can I get the labels to update or is it required that I pass the data in synchronously?
HB
Hareesh Balasubramanian
Syncfusion Team
January 29, 2021 12:26 PM UTC
Hi Kevin,
Thanks for the update.
We have validated your shared query at our end and for that we have analyzed your reported “+ infinity more label” problem at our side but unfortunately, the sample is properly working without any reported problem and for the same, we have taken a video demo of our previously shared sample, which can be downloaded from the following link.
Kindly implement it by our previously provided solution and if the issue still persists at your end kindly share the below details to serve you better?
- Replicate the issue in the above sample.
- Share the issue replicating sample (if possible) in order to validate further at our side.
We will happy to assist you.
Regards,
Hareesh
MK
MM Kevin Anderson
February 5, 2021 03:43 PM UTC
This can be closed - it was fixed by a newer version
Marked as answer
NR
Nevitha Ravi
Syncfusion Team
February 8, 2021 05:59 AM UTC
Hi Kevin,
Thanks for your update.
We are glad that the reported issue has been resolved in latest Syncfusion package. Please get back to us if you need any further assistance.
Regards,
Nevitha
SIGN IN To post a reply.
- 9 Replies
- 4 Participants
- Marked answer
-
MK MM Kevin Anderson
- Jan 21, 2021 09:50 PM UTC
- Feb 8, 2021 05:59 AM UTC