CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

Ajax events control

General discussion

by Jorge Sousa » 17 Jun 2014 18:05

Of course

With the suggested changes, appyled in the attached demo, it works as expected.
You do not have the required permissions to view the files attached to this post.
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58

by assapan » 18 Jun 2014 09:02

Hi,
Sorry but it doesn't work , when the PB datepicker change the time is always 00:00 !
i am using IW14.0.31 with CGDevTools 2.1.0.3666
Want to visit Ardeche http://leclosdelarc.fr/index.php
The Pont d’Arc Cavern http://en.cavernedupontdarc.fr
Image
User avatar
assapan
 
Posts: 600
Joined: 16 Dec 2013 12:04
Location: France

by Jorge Sousa » 18 Jun 2014 10:10

Hi

What do you mean by

when the PB datepicker change the time
?

Is it this?

DateTimePicker1.DateTime:= Now;

Since you're using Week names, your server must supply the exact names as the plugin, ie

DateTimeToStr(DateTime,GetFormatSettings)

where GetFormatSettings uses JQDatePickerOptions.DateFormat

Result:= FormatSettings;
Result.ShortDateFormat:= JQDatePickerOptions.DateFormat;
Result.LongDateFormat:= Result.ShortDateFormat;
Result.DateSeparator:= JQDatePickerOptions.DateSep;
Result.TwoDigitYearCenturyWindow:= 2;

Result.ShortTimeFormat:= JQTimeCustomLocal.TimeFormat;
Result.LongTimeFormat:= Result.ShortTimeFormat;
Result.TimeSeparator:= JQTimePickerOptions.TimeSep;
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58

by assapan » 18 Jun 2014 10:37

When you change the OK datetimepicker , the label display the full date and time ( see datepickerOK image ) , but when the PB datetimepicker change only the date is displayed because time = 00:00 ( see datepickerPB image )

the label is filled with datetimetostr(datepickerPB.datetime)
You do not have the required permissions to view the files attached to this post.
Want to visit Ardeche http://leclosdelarc.fr/index.php
The Pont d’Arc Cavern http://en.cavernedupontdarc.fr
Image
User avatar
assapan
 
Posts: 600
Joined: 16 Dec 2013 12:04
Location: France

by assapan » 19 Jun 2014 11:15

Hi,
I have upgraded to CGDevTools 2.1.0.3691 , it solves the onChange problem , thank you very much :)

Any idea about the DatePicker problem ?
Want to visit Ardeche http://leclosdelarc.fr/index.php
The Pont d’Arc Cavern http://en.cavernedupontdarc.fr
Image
User avatar
assapan
 
Posts: 600
Joined: 16 Dec 2013 12:04
Location: France

by Jorge Sousa » 20 Jun 2014 10:20

DateTimePicker issue confirmed :/

But what we said before about CGCallbackDisable/Enable was causing another type of problems at loading
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58

by assapan » 20 Jun 2014 12:27

Hi,
I have modified all my code to manage the disable/enable ajax , thanks .

For the datepicker , i am not hurry .

Thanks again for all
Want to visit Ardeche http://leclosdelarc.fr/index.php
The Pont d’Arc Cavern http://en.cavernedupontdarc.fr
Image
User avatar
assapan
 
Posts: 600
Joined: 16 Dec 2013 12:04
Location: France

Previous

Return to General - Archive

cron

Who is online

Users browsing this forum: No registered users and 1 guest

Contact Us.