protected void GridView1_SelectedIndexChanged(object sender, EventArgs e)
 {
     Common_EncryptDecryptBL objCommon_EncryptDecryptBL = new Common_EncryptDecryptBL();
     string ipdObservationReportId = objCommon_EncryptDecryptBL.Common_Encrypt(ds.Tables[0].Rows[GridView1.SelectedIndex][0].ToString());
     string ipdObservationId = objCommon_EncryptDecryptBL.Common_Encrypt(ds.Tables[0].Rows[GridView1.SelectedIndex][1].ToString());
     string url = "DoctorViewIPDObservationReportMedicine.aspx?ipdObservationId=" + ipdObservationId + "&ipdObservationReportId=" + ipdObservationReportId;
     string script = "window.open('" + url + "', '_blank', 'width=1060, height=650');";
     ClientScript.RegisterStartupScript(this.GetType(), "script", script, true);
 }
    protected void GridView1_SelectedIndexChanged(object sender, EventArgs e)
    {
        Common_EncryptDecryptBL objCommon_EncryptDecryptBL = new Common_EncryptDecryptBL();
        string ipdObservationReportId = objCommon_EncryptDecryptBL.Common_Encrypt(ds.Tables[0].Rows[GridView1.SelectedIndex][0].ToString());
        string ipdObservationId       = objCommon_EncryptDecryptBL.Common_Encrypt(ds.Tables[0].Rows[GridView1.SelectedIndex][1].ToString());
        string url    = "DoctorViewIPDObservationReportMedicine.aspx?ipdObservationId=" + ipdObservationId + "&ipdObservationReportId=" + ipdObservationReportId;
        string script = "window.open('" + url + "', '_blank', 'width=1060, height=650');";

        ClientScript.RegisterStartupScript(this.GetType(), "script", script, true);
    }
    protected void GridView1_SelectedIndexChanged(object sender, EventArgs e)
    {
        string token = ds1.Tables[0].Rows[GridView1.SelectedIndex][0].ToString();
        Common_EncryptDecryptBL objCommon_EncryptDecryptBL = new Common_EncryptDecryptBL();

        token = objCommon_EncryptDecryptBL.Common_Encrypt(token);
        string url    = "DoctorViewOPDAppointmentHistory.aspx?appointmenttoken=" + token;
        string script = "window.open('" + url + "', '_blank', 'width=1000, height=650');";

        ClientScript.RegisterStartupScript(this.GetType(), "script", script, true);
    }
    protected void GridView1_SelectedIndexChanged(object sender, EventArgs e)
    {
        Session["patientId"]         = ds.Tables[0].Rows[GridView1.SelectedIndex][0].ToString();
        Session["previousWardId"]    = ds.Tables[0].Rows[GridView1.SelectedIndex][1].ToString();
        Session["previousardNumber"] = ds.Tables[0].Rows[GridView1.SelectedIndex][4].ToString();
        Common_EncryptDecryptBL objCommon_EncryptDecryptBL = new Common_EncryptDecryptBL();
        string patientId = objCommon_EncryptDecryptBL.Common_Encrypt(ds.Tables[0].Rows[0][GridView1.SelectedIndex].ToString());
        string url       = "DoctorViewIPDActiveMedicines.aspx";

        HyperLink1.Target      = "_blank";
        HyperLink1.NavigateUrl = "javascript:void(0)";
        HyperLink1.Attributes.Add("onclick", "javascript:window.open('" + url + "','','height=500,width=1200,scrollbars');");

        url = "DoctorViewIPDObservationHistory.aspx";
        HyperLink2.Target      = "_blank";
        HyperLink2.NavigateUrl = "javascript:void(0)";
        HyperLink2.Attributes.Add("onclick", "javascript:window.open('" + url + "','','height=500,width=500,scrollbars');");

        url = "DoctorViewIPDAllMedicines.aspx";
        HyperLink3.Target      = "_blank";
        HyperLink3.NavigateUrl = "javascript:void(0)";
        HyperLink3.Attributes.Add("onclick", "javascript:window.open('" + url + "','','height=500,width=1200,scrollbars');");

        url = "DoctorViewIPDAllIPDObservationReports.aspx";
        HyperLink4.Target      = "_blank";
        HyperLink4.NavigateUrl = "javascript:void(0)";
        HyperLink4.Attributes.Add("onclick", "javascript:window.open('" + url + "','','height=500,width=1200,scrollbars');");

        url = "DoctorViewIPDAllIPDObservationMedicalTests.aspx";
        HyperLink5.Target      = "_blank";
        HyperLink5.NavigateUrl = "javascript:void(0)";
        HyperLink5.Attributes.Add("onclick", "javascript:window.open('" + url + "','','height=500,width=1200,scrollbars');");


        Panel1.Visible   = true;
        ipdObservationId = Guid.NewGuid().ToString();
    }
    protected void GridView1_SelectedIndexChanged(object sender, EventArgs e)
    {
        Session["patientId"] = ds.Tables[0].Rows[GridView1.SelectedIndex][0].ToString();
        Session["previousWardId"] = ds.Tables[0].Rows[GridView1.SelectedIndex][1].ToString();
        Session["previousardNumber"] = ds.Tables[0].Rows[GridView1.SelectedIndex][4].ToString();
        Common_EncryptDecryptBL objCommon_EncryptDecryptBL = new Common_EncryptDecryptBL();
        string patientId = objCommon_EncryptDecryptBL.Common_Encrypt(ds.Tables[0].Rows[0][GridView1.SelectedIndex].ToString());
        string url = "DoctorViewIPDActiveMedicines.aspx";
        HyperLink1.Target = "_blank";
        HyperLink1.NavigateUrl = "javascript:void(0)";
        HyperLink1.Attributes.Add("onclick", "javascript:window.open('" + url + "','','height=500,width=1200,scrollbars');");

        url = "DoctorViewIPDObservationHistory.aspx";
        HyperLink2.Target = "_blank";
        HyperLink2.NavigateUrl = "javascript:void(0)";
        HyperLink2.Attributes.Add("onclick", "javascript:window.open('" + url + "','','height=500,width=500,scrollbars');");

        url = "DoctorViewIPDAllMedicines.aspx";
        HyperLink3.Target = "_blank";
        HyperLink3.NavigateUrl = "javascript:void(0)";
        HyperLink3.Attributes.Add("onclick", "javascript:window.open('" + url + "','','height=500,width=1200,scrollbars');");

        url = "DoctorViewIPDAllIPDObservationReports.aspx";
        HyperLink4.Target = "_blank";
        HyperLink4.NavigateUrl = "javascript:void(0)";
        HyperLink4.Attributes.Add("onclick", "javascript:window.open('" + url + "','','height=500,width=1200,scrollbars');");

        url = "DoctorViewIPDAllIPDObservationMedicalTests.aspx";
        HyperLink5.Target = "_blank";
        HyperLink5.NavigateUrl = "javascript:void(0)";
        HyperLink5.Attributes.Add("onclick", "javascript:window.open('" + url + "','','height=500,width=1200,scrollbars');");

        Panel1.Visible = true;
        ipdObservationId = Guid.NewGuid().ToString();
    }
 protected void GridView1_SelectedIndexChanged(object sender, EventArgs e)
 {
     string token = ds1.Tables[0].Rows[GridView1.SelectedIndex][0].ToString();
     Common_EncryptDecryptBL objCommon_EncryptDecryptBL = new Common_EncryptDecryptBL();
     token = objCommon_EncryptDecryptBL.Common_Encrypt(token);
     string url = "DoctorViewOPDAppointmentHistory.aspx?appointmenttoken=" + token;
     string script = "window.open('" + url + "', '_blank', 'width=1000, height=650');";
     ClientScript.RegisterStartupScript(this.GetType(), "script", script, true);
 }