Hi,
My project work on "zh_CN" language,and i know use this way to set current page
but i want to all pages are set locale to "zh_CN"Code:<ext:ScriptManager ID="ScriptManager1" runat="server" Locale="zh_CN" />
how to do it?
Printable View
Hi,
My project work on "zh_CN" language,and i know use this way to set current page
but i want to all pages are set locale to "zh_CN"Code:<ext:ScriptManager ID="ScriptManager1" runat="server" Locale="zh_CN" />
how to do it?
The.Locale
property is a Global property, so you can set any one of the following locations:
1. ScriptManager
2. ApplicationCode:<ext:ScriptManager Locale="zh_CN" />
3. SessionCode:HttpContext.Current.Application["Coolite.Locale"] = "zh_CN"
4. Web.configCode:HttpContext.Current.Session["Coolite.Locale"] = "zh_CN"
More information on setting Global properties is available at the following location, see https://forums.ext.net/showthread.php?postid=29.aspxCode:<coolite Locale="zh_CN" />
Hope this helps.