By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,694 Members | 2,050 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,694 IT Pros & Developers. It's quick & easy.

Calender control, how to display week days as English even windows region is Chinese?

P: n/a
To whom may concern:

In Asp.Net Calender control, how to display week days, like Wednesday
as "Wed", Monday as "Mon", even my windows' region is set to Chinese?

Thanks in advance!

Jack
2005-10-11

Nov 19 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
If you want to display English characters, instead of Chinese, and you have
your Windows Region set to Chinese, set the web.config's globalization
culture and uiCulture settings to "en-US" or "en-GB", depending on
whether you want US English or UK english :

<globalization
requestEncoding="utf-8"
responseEncoding="utf-8"
fileEncoding="utf-8"
culture="en-US"
uiCulture="en-US"
/>

That has a global effect on all files in the
directory the calendar is in, though.

If you want to change it for a single page, set the culture in the Page directive.

<%@ Page Language="VB" Culture="en-US" uiCulture="en-US" %>

That will cause that page, including the calendar, to be displayed in English.

Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Español : http://asp.net.do/foros/
======================================
"Jack" <ls*****@gmail.com> wrote in message
news:11*********************@g44g2000cwa.googlegro ups.com...
To whom may concern:

In Asp.Net Calender control, how to display week days, like Wednesday
as "Wed", Monday as "Mon", even my windows' region is set to Chinese?

Thanks in advance!

Jack
2005-10-11

Nov 19 '05 #2

P: n/a
It works fine! :)
Thank you very much!

Jack

Nov 19 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.