EXT.NET 3.1 RELEASED! With Tablet Support!
We have been working hard and are happy to announce the release of Ext.NET 3.1. Click here for a full list of changes and make sure you visit our download page now to get the latest version.
Results 1 to 2 of 2

Thread: How to setting global Locale ?

  1. #1
    Member
    Join Date
    Feb 2009
    Location
    Posts
    7

    How to setting global Locale ?

    Hi,
    My project work on "zh_CN" language,and i know use this way to set current page
    <ext:ScriptManager ID="ScriptManager1" runat="server" Locale="zh_CN" />
    but i want to all pages are set locale to "zh_CN"
    how to do it?

  2. #2
    Object.NET + Ext.NET geoffrey.mcgill's Avatar
    Join Date
    Jan 2008
    Location
    Canada
    Posts
    8,843

    RE: How to setting global Locale ?

    The .Locale property is a Global property, so you can set any one of the following locations:

    1. ScriptManagerÂ*


    <ext:ScriptManager Locale="zh_CN" />
    2. ApplicationÂ*


    HttpContext.Current.Application["Coolite.Locale"] = "zh_CN"
    3. Session


    HttpContext.Current.Session["Coolite.Locale"] = "zh_CN"
    4. Web.config


    <coolite Locale="zh_CN" />


    More information on setting Global properties is available at the following location, seeÂ*http://forums.ext.net/showthread.php?postid=29.aspx


    Hope this helps.


    Geoffrey McGill
    Founder & CEO

Similar Threads

  1. Locale
    By flaviodamaia in forum 1.x Help
    Replies: 0
    Last Post: Jul 08, 2010, 12:25 PM
  2. Locale Greek!
    By tears in forum 1.x Help
    Replies: 0
    Last Post: Dec 03, 2009, 10:19 AM
  3. ??????????coolite?locale???? ??……
    By navy1020 in forum 1.x Help
    Replies: 10
    Last Post: May 05, 2009, 11:24 PM
  4. help ! scriptmanager with no locale protery
    By NETCRAZY in forum 1.x Help
    Replies: 1
    Last Post: Mar 23, 2009, 9:04 AM
  5. No ScriptManager1.Locale !
    By Nime in forum 1.x Help
    Replies: 1
    Last Post: Feb 04, 2009, 10:16 AM

Posting Permissions