protected void Page_Load(object sender, System.EventArgs e)
        {
            this._module = base.Module as LanguageSwitcherModule;

            this.imbGo.ImageUrl = this.TemplateSourceDirectory + "/Images/go.gif";
            if (! this.IsPostBack)
            {
                HandleDisplayMode();
                BindLanguageOptions();
                if (this._module.RedirectToUserLanguage)
                {
                    SetPreferedLanguage();
                }
            }
        }
예제 #2
0
        protected void Page_Load(object sender, System.EventArgs e)
        {
            this._module = base.Module as LanguageSwitcherModule;

            this.imbGo.ImageUrl = this.TemplateSourceDirectory + "/Images/go.gif";
            if (!this.IsPostBack)
            {
                HandleDisplayMode();
                BindLanguageOptions();
                if (this._module.RedirectToUserLanguage)
                {
                    SetPreferedLanguage();
                }
            }
        }