Exemplo n.º 1
0
    protected void btnsave_Click(object sender, EventArgs e)
    {
        int ID = BLL_Crew_Evaluation.INSERT_Category(txtCatName.Text.Trim(), GetSessionUserID());

        txtCatName.Text = "";
        txtfilter.Text  = "";
        Load_CategoryList();
    }
Exemplo n.º 2
0
    protected void btnSaveAndClose_Click(object sender, EventArgs e)
    {
        int ID = BLL_Crew_Evaluation.INSERT_Category(txtCatName.Text.Trim(), GetSessionUserID());

        txtCatName.Text = "";

        txtfilter.Text = "";
        Load_CategoryList();

        string js = "closeDiv('dvAddNewCategory');";

        ScriptManager.RegisterStartupScript(this, this.GetType(), "alert", js, true);
    }