This is a migrated thread and some comments may be shown as answers.

Scheduler Controller drops some appointments returned by sql in Month View

3 Answers 12 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Prava kafle
Top achievements
Rank 1
Prava kafle asked on 14 Dec 2018, 07:51 PM

Hi,

 

I have a webservice bound scheduler and  Controller.GetAppointments drops some of the appointments even though sql query as seen in first list  returns correct number of appointments.

 Controller.GetAppointments takes these 45 appointments and returns 99 appointments( as seen in second list) as parent child appointments and drop some of the original appointments (42627, 41592  )in its internal processing, can anyone  tell me how to fix this issue?

 

Actual  appointments  returned(count=45) , more than half of these  appointments are recurring appointments

List: 29648: 29649: 29650: 32983: 40689: 40690: 301: 29908: 29909: 29910: 40229: 40230: 40231: 30428: 30429: 30430: 40456: 40457: 40458: 42418: 42665: 42666: 30688: 30689: 30690: 40913: 40914: 42586: 42589: 42595: 42602: 42623: 42635: 42639: 42653: 42660: 42663: 42664: 39550: 39551: 39552: 41590: 41591: 41592: 42627

 

 

 Appointments  Returned by Controller  (count = 99 ), this shows parent and child appointments

List: --->,  40690_0,  40689_0,  40913_0,  40914_0,  40231_0,  40230_0,  40229_0,  40457_0,  40458_0,  40456_0,  29909_0,  29908_0,  39551_0,  39550_0,  40689_1,  40690_1,  40914_1,  40913_1,  40230_1,  40229_1,  40231_1,  40456_1,  40457_1,  40458_1,  39551_1,  30428_1,  29648_1,  30430_1,  40690_2,  40689_2,  40913_2,  40914_2,  40229,  40231_2,  40230_2,  42586,  42589,  40457_2,  40456,  40458_2,  42664,  42663,  29648,  30690_2,  30689_2,  39552_2,  39550,  39551_2,  30688,  29908,  30428,  41590,  40689,  40690_3,  42602,  42623,  32983,  40913,  40914_3,  42653,  42639,  40230,  40229_2,  40231_3,  42660,  40458_3,  40456_2,  40457,  29909,  29648_2,  39551,  39550_2,  39552_3,  29650_3,  29649,  30689,  30429,  41591,  42418,  40690,  40689_3,  40914,  40913_3,  40231,  40230_3,  40229_3,  40458,  40456_3,  40457_3,  29648_3,  30429_3,  29650,  30430,  29649_3,  39550_3,  30690,  39552,  29910,  41592


Controller.GetAppointments<AppointmentData>(schedulerInfo) truncates some of the appointments in Month View.

 IEnumerable<AppointmentData> apts = Controller.GetAppointments<AppointmentData>(schedulerInfo);

 

Thanks,

Prava

3 Answers, 1 is accepted

Sort by
0
Peter Milchev
Telerik team
answered on 19 Dec 2018, 08:33 AM
Hello Prava,

The MonthView has a limited amount of appointments that are rendered and that is one possible reason for the missing appointments. You can try setting the VisibleAppointmentsPerDay to a bigger number and check if the issue would be fixed. 

If the issue is not fixed, please provide a very simplified sample project as an attachment in an official support ticket. Regarding the database, you can provide a script with the appointments table as explained here: Import and Export SQL database to  *.sql script via SQL Management Studio. This would allow us to investigate your exact scenario locally and help you more efficiently.

Regards,
Peter Milchev
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Prava kafle
Top achievements
Rank 1
answered on 02 Jan 2019, 05:11 PM

Hi Peter,

 

Thanks for your input, after changing visible appointments per day to high number, it did show all those recurring appointment's/regular appointments in months view. However,  for each row with recurring appointment the row height  increased tremendously. It looks like it added cell height for each instance of that recurring appointment, even though it showed only one  recurring appointment in user interface. I have attached a snapshot of my month-view with this issue.

 

Is there a way to show these  huge number of recurring appointments without increasing the row height of month view?

 

Thanks,

Prava

 

 

0
Prava kafle
Top achievements
Rank 1
answered on 02 Jan 2019, 05:13 PM
Forgot to attach image file in previous post, here is an attachment to previous post.
Tags
Scheduler
Asked by
Prava kafle
Top achievements
Rank 1
Answers by
Peter Milchev
Telerik team
Prava kafle
Top achievements
Rank 1
Share this question
or