а

Recurring Event - Empty Start Time, strange event length


#1

Hi there,

i have a bit of a problem impementing recurring events in Scheduler.Net.

Everytime i try to create a recurring event i get some weird POST data. Here is an example call to my “save” controller:

start_date:09/11/2017 00:00
end_date:02/01/9999 00:00
text:neuer Eintrag
id:1505143348362
event_pid:
event_length:215100
rec_pattern:week_1___3
rec_type:week_1___3#no
MeasureParticipantID:17
CoachID:1
StatusID:1
Documentation:
!nativeeditor_status:inserted

I tried to create a recurring event on a wednesday 3 hours long. As you can see the data shows a complete different date. It should be 09/13/2017 10:00, not 09/11/2017 00:00.

Could be i didn’t figured out the exact beaviour of event_lenght but shouldn’t it count the seconds of the events? I set the duration to 3 hours but it is clearly above that.

I didn’t set up anything fancy, my code for the SaveAction is as follows and i couldn’t think of anything i did to mess up the POST Data.

Scheduler.SaveAction = this.ResolveUrl("/content/scheduler/handler/save.ashx");// the handler which defines create/update/delete logic

Help would be appreciated

Thanks!


#2

i figured it out.

Strangly you have to put the startdate and enddate controls AFTER the recurring control in the lightbox