Exemplo n.º 1
0
    protected void LinkButton6_Click(object sender, EventArgs e)
    {
        string te = "EmployeeMaster.aspx";

        ScriptManager.RegisterStartupScript(this, typeof(string), "OPEN_WINDOW", "window.open('" + te + "');", true);
        Modalemployeepopup.Show();
    }
Exemplo n.º 2
0
    // End Designation

    // Employee
    protected void CheckBoxList5_SelectedIndexChanged(object sender, EventArgs e)
    {
        if (CheckBoxList5.SelectedValue == "1")
        {
            string te = "EmployeeMaster.aspx";
            ScriptManager.RegisterStartupScript(this, typeof(string), "OPEN_WINDOW", "window.open('" + te + "');", true);
            Modalemployeepopup.Show();
        }
        if (CheckBoxList5.SelectedValue == "2")
        {
            pnlcabinet.Visible       = true;
            pnlempyesno.Visible      = false;
            pnlempdone.Visible       = false;
            pnlempnotrequire.Visible = true;
            pnlemptryagain.Visible   = false;

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

            //}
        }
    }