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

Redraw scheduler on create event

3 Answers 43 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Jon
Top achievements
Rank 1
Jon asked on 20 Jul 2016, 08:07 AM

I am using an Event Template that does not have the end datetime visible to the end user. The actual end datetime is calculated based on other dropdown selections made which give a duration for the task that is then added to the start datetime.

The event creation works fine but initially the event block only occupies the default slot for the view (e.g. 30mins for the day, week views). If I change the view (advance a day say) and then return back the block now correctly occupies the time slots associated with its start/end datetimes.

How can I get the scheduler to redraw the block when created?

3 Answers, 1 is accepted

Sort by
0
Vladimir Iliev
Telerik team
answered on 21 Jul 2016, 08:55 AM
Hello Jon,

I tried to reproduce this behavior but to no avail - when I save the created event the event is rendered as expected. Could you please provide rubable example where the described behavior is reproduced for further investigation?

Regards,
Vladimir Iliev
Telerik by Progress
 
Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
 
0
Jon
Top achievements
Rank 1
answered on 10 Aug 2016, 08:59 AM

I forgot to mention that my end time calculations were being done server side. I have now transposed this code to the client and the events are being created with the correct 'length'.

 

0
Vladimir Iliev
Telerik team
answered on 11 Aug 2016, 05:37 AM
Hi Jon,

I tried to reproduce the described scenario of modification of the dates on the server side, during the "create" action, however when the modified event is correctly returned it's updated immediately in the view as well. Please check the following example which simulate server requests using functions as read / create operations:


Regards,
Vladimir Iliev
Telerik by Progress
 
Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
 
Tags
Scheduler
Asked by
Jon
Top achievements
Rank 1
Answers by
Vladimir Iliev
Telerik team
Jon
Top achievements
Rank 1
Share this question
or