We’re super excited to announce the immediate availability of Ext.NET 4 Preview! This release includes many new features and improvements and of course one of the biggest changes includes the upgrade to Sencha Ext JS 6.
SALE
EXT.NET 4 IS ON SALE UNTIL FEBRUARY 29th. GET IT NOW!
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,964

    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, 1:25 PM
  2. Locale Greek!
    By tears in forum 1.x Help
    Replies: 0
    Last Post: Dec 03, 2009, 11:19 AM
  3. ??????????coolite?locale???? ??……
    By navy1020 in forum 1.x Help
    Replies: 10
    Last Post: May 06, 2009, 12:24 AM
  4. help ! scriptmanager with no locale protery
    By NETCRAZY in forum 1.x Help
    Replies: 1
    Last Post: Mar 23, 2009, 10:04 AM
  5. No ScriptManager1.Locale !
    By Nime in forum 1.x Help
    Replies: 1
    Last Post: Feb 04, 2009, 11:16 AM

Posting Permissions