C1Calendar can't get CurrentMonthDisplayOffset to do it's job

Posted by: glenn on 11 October 2017, 4:26 am EST

    • Post Options:
    • Link

    Posted 11 October 2017, 4:26 am EST

    I’m trying look at history in a database and using the calendar control.

    Trying to show:

    C1Calendar1.CurrentMonthDisplayOffset = -1
        C1Calendar1.CalendarInfo.FirstDate = DateAdd(DateInterval.Month, -1, Now)
    

    in my 6 dimension calendar control.

    Are we only aloud to look to the future? Can’t we learn from the past? Or am I just doing something wrong?

  • Posted 11 October 2017, 6:08 pm EST

    Hi,

    You can see past months in C1Calendar. The valid values for CurrentMonthDisplayOffset property are:

    0 - (Default) - at the Left

    1 - Center

    2 - Right

    So, if

     C1Calendar1.CurrentMonthDisplayOffset = 2 
    
    

    is set in a C1Calendar, the output would look as can be seen in the attached screenshot.

    Regards,

    Esha

  • Posted 12 October 2017, 12:28 am EST

    Thank you.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels