CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

Date Always 0

by jandekkers » 16 Jun 2014 22:37

When JQDatePickerOptions.OnSelect.Ajax = True
IWCGJQDatePickerImportforPYE.Date is always 0

When JQDatePickerOptions.OnSelect.Ajax = False
IWCGJQDatePickerImportforPYE.Date is Correct

JQDatePickerOptions is placed on a Dialog


Code: Select all
object IWCGJQDatePickerImportforPYE: TIWCGJQDatePicker
  Left = 250
  Top = 36
  Width = 121
  Height = 21
  TabOrder = 22
  Version = '1.0'
  ZIndex = 6001
  Caption = ''
  JQDatePickerOptions.ChangeMonth = True
  JQDatePickerOptions.ChangeYear = True
  JQDatePickerOptions.DateFormat = 'mm/dd/yyyy'
  JQDatePickerOptions.MinDate = '12/31/2012'
  JQDatePickerOptions.OnSelect.Ajax = False
  JQDatePickerOptions.OnSelect.OnEvent = IWCGJQDatePickerImportforPYEJQDatePickerOptionsSelect
  JQDatePickerOptions.ShowPopUpOnReadOnly = True
  ReadOnly = True
end


Code with Dialog:

Code: Select all
object IWRegionUpload: TIWCGJQDialog
  Left = 278
  Top = 176
  Width = 395
  Height = 209
  Visible = False
  RenderInvisibleControls = True
  TabOrder = 20
  Version = '1.0'
  ZIndex = 6000
  JQDialogOptions.AutoOpen = False
  JQDialogOptions.Height = 209
  JQDialogOptions.Width = 395
  JQDialogOptions.zIndex = 6000
  JQDialogOptions.OnClose.OnEvent = IWRegionUploadJQDialogOptionsClose
  object IWCGJQDatePickerImportforPYE: TIWCGJQDatePicker
    Left = 250
    Top = 36
    Width = 121
    Height = 21
    TabOrder = 22
    Version = '1.0'
    ZIndex = 6001
    Caption = ''
    JQDatePickerOptions.ChangeMonth = True
    JQDatePickerOptions.ChangeYear = True
    JQDatePickerOptions.DateFormat = 'mm/dd/yyyy'
    JQDatePickerOptions.MinDate = '12/31/2012'
    JQDatePickerOptions.OnSelect.Ajax = False
    JQDatePickerOptions.OnSelect.OnEvent = IWCGJQDatePickerImportforPYEJQDatePickerOptionsSelect
    JQDatePickerOptions.ShowPopUpOnReadOnly = True
    ReadOnly = True
  end
end
jandekkers
 
Posts: 74
Joined: 09 May 2014 23:05

by Jorge Sousa » 17 Jun 2014 10:55

Hello

We cannot reproduce this.

Please submit a test case.

Btw, what IW and cg version are you using?
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58

by jandekkers » 17 Jun 2014 23:17

IntraWeb Version: 14.0.31
I use this package IWCGJQComps_140_190.bpi if that's the version indicator
jandekkers
 
Posts: 74
Joined: 09 May 2014 23:05

by Jorge Sousa » 18 Jun 2014 10:16

The Cgdevtools version, you can see it if you select Register in CgDevTools IDE menu, is the title of the dialog.
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58

by jandekkers » 18 Jun 2014 18:52

Ok, that 2.1.0.3653
jandekkers
 
Posts: 74
Joined: 09 May 2014 23:05

by Jorge Sousa » 19 Jun 2014 09:48

Hi

Ok thanks,

then we keep not knowing how to reproduce .

Can you do it in a simple test case?

Because if is another thing that only happens in your project, it's because it might have code not compatible with cgdevtools components.
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58


Return to JQDatePicker

Who is online

Users browsing this forum: No registered users and 1 guest

Contact Us.