?
Solved

How to change the DateTimeFormat of a CalendarExtender

Posted on 2008-11-14
2
Medium Priority
?
944 Views
Last Modified: 2012-05-05
I have a CalendarExtender associated with a textbox control. When I choose a date from the CalendarExtender, the date is written with english day and month names.
My CalendarExtender is :
<ajax:CalendarExtender ID="CalendarExtender1" runat="server" TargetControlID="txtDate"
            PopupButtonID="imgCalendar" Format="dddd dd. MMMM yyyy" FirstDayOfWeek="Monday" />

I live in Denmark and would like my users to see danish names. I've checked the Thread.CurrentThread.CurrentCulture property and it is set to da-DK which is my culture.

How can I change the CalendarExtender to display the proper date format?
0
Comment
Question by:ThomasCookScandinavia
  • 2
2 Comments
 
LVL 18

Expert Comment

by:David Robitaille
ID: 22959232
0
 
LVL 18

Accepted Solution

by:
David Robitaille earned 500 total points
ID: 22959240
the importent part is .EnableScriptGlobalization = True in the ScriptManager
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The Confluence of Individual Knowledge and the Collective Intelligence At this writing (summer 2013) the term API (http://dictionary.reference.com/browse/API?s=t) has made its way into the popular lexicon of the English language.  A few years ago, …
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?
Suggested Courses

621 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question