Beispiel #1
0
    protected void LinkButton3_Click(object sender, EventArgs e)
    {
        string te = "departmentaddmanage.aspx";

        ScriptManager.RegisterStartupScript(this, typeof(string), "OPEN_WINDOW", "window.open('" + te + "');", true);
        ModalPopupExtender12.Show();
    }
Beispiel #2
0
    // End Business

    // Department
    protected void CheckBoxList2_SelectedIndexChanged(object sender, EventArgs e)
    {
        if (CheckBoxList2.SelectedValue == "1")
        {
            string te = "departmentaddmanage.aspx";
            ScriptManager.RegisterStartupScript(this, typeof(string), "OPEN_WINDOW", "window.open('" + te + "');", true);
            ModalPopupExtender12.Show();
        }
        if (CheckBoxList2.SelectedValue == "2")
        {
            pnldesignation.Visible    = true;
            pnldeptyesno.Visible      = false;
            pnldeptdone.Visible       = false;
            pnldeptnotrequire.Visible = true;
            pnldepttryagain.Visible   = false;

            //DataTable dt = fillstep1business();
            //if (dt.Rows.Count > 0)
            //{
            //    insertdate("Department", "3");

            //}
        }
    }