Page 1 of 1

Retirieving dat in OnGetData

PostPosted: 01 Apr 2017 12:02
by Davide
Hello,

I'm using JQuerySuite 3.5.0.197 (last release), IW 14.1.8, Delphi Berlin Update 2.
I'm trying to load data from a dataset in the scheduler OnGetData event.
I'm showing the month view on the scheduler but in the OnGetData event the start and finish date parameters are always set to 0.
I try to set the ShowDay property or use the GoToDate method in my OnCreateForm event without any success.
What I'm doing wrong?

Thank you,
Davide

Re: Retirieving dat in OnGetData

PostPosted: 03 Apr 2017 10:24
by Davide
Hello,

I found my mistake.
When I show a form with a scheduler inside through an Ajax event (Button.Click in my case) the OnGetData is not called by the Scheduler.GoToDate I wrote in the Form.OnCreate.
Setting up the Ajax property of the button to False solve the problem.

Greetings,
Davide

Re: Retirieving dat in OnGetData

PostPosted: 03 Apr 2017 11:32
by Alexander Bulei
Hi Davide,

I found my mistake.
When I show a form with a scheduler inside through an Ajax event (Button.Click in my case) the OnGetData is not called by the Scheduler.GoToDate I wrote in the Form.OnCreate.
Setting up the Ajax property of the button to False solve the problem.


Good ;)

Best Regards.