problem when set "day" to EnableDynamicLoading

Hi,

I found a problem while I initialize the scheduler in server side with calling sched.Data.Loader.EnableDynamicLoading(SchedulerDataLoader.DynamicalLoadingMode.Day);

no matter I pass the parameter Day or Year, the result is only set to “month” (I checked the JavaScript from the page source, the scheduler is always configured to scheduler.setLoadMode(“month”);

Is there any bug or I have missing to do while doing initialize in server side?

Thanks for help

Eric

Hello Eric,
the bug is confirmed and fixed,
please download the updated library from scheduler-net.com

Thanks!

But I found another problem while I doing the test: if I don’t put sched.LoadData = true, then PreventCache() and EnableDynamicLoading() won’t add the the page source.

I am finally now give up doing initialize in server side, I put all initialize code in JavaScript. :slight_smile: