in

C1 Community

ComponentOne Community is a free source for developers and help authors to collaborate and communicate.

C1WebCalendar as popup for C1WebDateEdit and Nulls

Last post 04-29-2008 4:01 PM by C1_AndrewM. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 04-28-2008 4:02 PM

    C1WebCalendar as popup for C1WebDateEdit and Nulls

     I have a C1WebDateEdit field that has a C1WebCalendar as its WebCalendar.  I set the Calendar to Popup mode.  When the DateEdit contains a null value the WebCalendar pops up at Jan 1 with no year.  Since the app is data driven sometimes the date value IS null and I would like the Calendar to popup at Today's date.  Is there a simple way to do this??  Obviously when the DateEdit launches the popup Calendar it feeds the Calendar the current value of it's date which is Null.  Have I missed a simple resolution?  It looks like I could possibly write a javascript routine to override the default behavior but that seems a bit extreme for what should be a reasonably normal occurance.

    Regards,

    Mike

  • 04-29-2008 4:01 PM In reply to

    Re: C1WebCalendar as popup for C1WebDateEdit and Nulls

    Hello Mike,
     
    I am able to replicate this issue. Please send an email to support@componentOne.com
     
    Regards,
    Andrew

     I have a C1WebDateEdit field that has a C1WebCalendar as its WebCalendar.  I set the Calendar to Popup mode.  When the DateEdit contains a null value the WebCalendar pops up at Jan 1 with no year.  Since the app is data driven sometimes the date value IS null and I would like the Calendar to popup at Today's date.  Is there a simple way to do this??  Obviously when the DateEdit launches the popup Calendar it feeds the Calendar the current value of it's date which is Null.  Have I missed a simple resolution?  It looks like I could possibly write a javascript routine to override the default behavior but that seems a bit extreme for what should be a reasonably normal occurance.

    Regards,

    Mike



    http://helpcentral.componentone.com/cs/forums/p/75092/204354.aspx#204354

Page 1 of 1 (2 items)
Contact ComponentOne: 1.800.858.2739 ©1987-2008 ComponentOne LLC All Rights Reserved.