Print Page | Close Window

Localizing Calendar

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Calendar
Forum Description: Topics Related to Codejock Calendar
URL: http://forum.codejock.com/forum_posts.asp?TID=3348
Printed Date: 21 May 2024 at 5:49am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Localizing Calendar
Posted By: TimStowe
Subject: Localizing Calendar
Date Posted: 05 December 2005 at 1:49pm
Is it possible to change the localization (captions, date format, time format, etc.) of the calendar control on the fly? 

If not, does it pick up the values of these various items based on the current logged in user's international settings? 





Replies:
Posted By: sserge
Date Posted: 06 December 2005 at 2:23am
Hello Tim,

Calendar control uses a current user's international settings to format dates and times.

There is also possible to change a format for days headers. Examples:

CalendarControl.ActiveView.DayHeaderFormatLong = "'(1)' ddd, dd MMMM yyyy"
CalendarControl.ActiveView.DayHeaderFormatMiddle = "'(2)' ddd, dd MMM yy"
CalendarControl.ActiveView.DayHeaderFormatShort = "'(3)' dd MMM "
CalendarControl.ActiveView.DayHeaderFormatShortest = "'(4)' d.MM"
CalendarControl.Populate


--
WBR,
Serge



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net