コード例 #1
0
 protected void ReturnButton_Click(object sender, EventArgs e)
 {
     searchDiv.Visible = true;
     EmployeeSummaryBox.Focus();
     gridDiv.Visible   = false;
     bottomDiv.Visible = false;
     topDiv.Visible    = false;
     returnDiv.Visible = false;
     goingBack.Value   = "YES";
 }
コード例 #2
0
        protected void Page_PreRender(object sender, EventArgs e)
        {
            ViewState.Add("ListInViewState", ideasList);
            ViewState.Add("ListInViewState2", IndIdea);
            ViewState.Add("ListInViewState3", IndBonus);
            ViewState.Add("ListInViewState4", IndSavings);
            ViewState.Add("ListInViewState5", IndPoints);
            cbAuthor.Checked    = true;
            cbInstaller.Checked = true;
            cbInvest.Checked    = true;

            EmployeeSummaryBox.Focus();
            if (Request.QueryString.AllKeys.Contains("notlang"))
            {
                notlang = Request.QueryString["notlang"];
                setLanguage();
                SpanishButton.Text = notlang;
            }
        }