Esempio n. 1
0
    protected void grdPatientList_RowCommand(object sender, GridViewCommandEventArgs e)
    {
        if (e.CommandName.Equals("Patient"))
        {
            string   command         = e.CommandArgument.ToString();
            string[] strsplitcommand = command.Split(',');
            string   caseid          = strsplitcommand[0].ToString();
            string   companyid       = strsplitcommand[1].ToString();
            if (((Bill_Sys_SystemObject)Session["SYSTEM_OBJECT"]).SZ_CHART_NO != "1")
            {
                ScriptManager.RegisterClientScriptBlock(this, GetType(), "ss", "spanhide();", true);
            }

            // Page.RegisterStartupScript("tw", "<script type='text/javascript'>spanhide();</script>");
            DataSet ds = GetPatienView(caseid, companyid);
            PatientDtlView.DataSource = ds.Tables[0];
            PatientDtlView.DataBind();
            ModalPopupPatientView.Show();
        }
    }
Esempio n. 2
0
 protected void btnClose_Click(object sender, EventArgs e)
 {
     ModalPopupPatientView.Hide();
 }