protected void btnSendForApproval_Click(object sender, EventArgs e)
    {
        int    i  = BLL_QMSDB_Procedures.QMSDBProcedures_SendApprovel(int.Parse(Request.QueryString["PROCEDURE_ID"].ToString()), txtComments.Text, UDFLib.ConvertIntegerToNull(lstUser.SelectedValue), ddlStatus.SelectedValue, int.Parse(Session["USERID"].ToString()));
        string js = "alert('Query Saved !!');hideModal('DivSendForApp');";

        ScriptManager.RegisterStartupScript(this, this.GetType(), "script2", js, true);
    }
Exemple #2
0
    protected void btnSendForApproval_Click(object sender, EventArgs e)
    {
        TreeNode selectedNode = BrowseTreeView.SelectedNode;
        int      sectionId    = int.Parse(selectedNode.Value.ToString());
        int      i            = BLL_QMSDB_Procedures.QMSDBProcedures_SendApprovel(int.Parse(lblProcedureId.Text), txtComments.Text, UDFLib.ConvertIntegerToNull(lstUser.SelectedValue), ddlStatus.SelectedItem.Text, int.Parse(Session["USERID"].ToString()));
        string   js           = "alert('Query Saved !!');hideModal('DivSendForApp');";

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