protected void ddlSpecialties_SelectedIndexChanged(object sender, EventArgs e)
        {
            String selectedSpecialty = ddlSpecialties.SelectedValue.ToString();

            ClearDropDowns();
            ClearSessionEntryInfo();
            ThisSession.IsShotVaccine = (selectedSpecialty.ToLower().Contains("shots") || selectedSpecialty.ToLower().Contains("vaccine"));
            if (selectedSpecialty.StartsWith("Select")) //"Select from list:"
            {
                lnkBtnSearch2.Visible = false;
            }
            else
            {
                if (selectedSpecialty.StartsWith("Lab")) //"Lab Test"
                {
                    lnkBtnSearch2.Visible = false;

                    lsLabSearch.SetupLetters();

                    pnlLabLetters.Visible = true;
                }
                else
                {
                    using (GetSpecialtySubCategoriesForWeb gsscfw = new GetSpecialtySubCategoriesForWeb(selectedSpecialty))
                    {
                        if (!gsscfw.HasErrors && gsscfw.RowsBack > 0)
                        {
                            //Per Syam's request, we are skipping the specialty_search page and just continuing with the drop-downs
                            //ThisSession.ServiceEntered = selectedSpecialty;
                            //ThisSession.ServiceName = "Office visit - For new patient";
                            //Response.Redirect("specialty_search.aspx");
                            ddlSubCategories.DataSource = gsscfw.SubSpecialties;
                            ddlSubCategories.DataBind();
                            ddlSubCategories.Items.Insert(0, "Select from list:");
                            ddlSubCategories.Visible = true;
                        }
                        lnkBtnSearch2.Visible = (!gsscfw.HasErrors && gsscfw.RowsBack == 0);
                    }
                }
            }
        }
        protected void ddlSpecialties_SelectedIndexChanged(object sender, EventArgs e)
        {
            String selectedSpecialty = ddlSpecialties.SelectedValue.ToString();
            ClearDropDowns();
            ClearSessionEntryInfo();
            ThisSession.IsShotVaccine = (selectedSpecialty.ToLower().Contains("shots") || selectedSpecialty.ToLower().Contains("vaccine"));
            if (selectedSpecialty.StartsWith("Select")) //"Select from list:"
            {
                lnkBtnSearch2.Visible = false;
            }
            else
            {
                if (selectedSpecialty.StartsWith("Lab")) //"Lab Test"
                {
                    lnkBtnSearch2.Visible = false;

                    lsLabSearch.SetupLetters();

                    pnlLabLetters.Visible = true;
                }
                else
                {
                    using (GetSpecialtySubCategoriesForWeb gsscfw = new GetSpecialtySubCategoriesForWeb(selectedSpecialty))
                    {
                        if (!gsscfw.HasErrors && gsscfw.RowsBack > 0)
                        {
                            //Per Syam's request, we are skipping the specialty_search page and just continuing with the drop-downs
                            //ThisSession.ServiceEntered = selectedSpecialty;
                            //ThisSession.ServiceName = "Office visit - For new patient";
                            //Response.Redirect("specialty_search.aspx");
                            ddlSubCategories.DataSource = gsscfw.SubSpecialties;
                            ddlSubCategories.DataBind();
                            ddlSubCategories.Items.Insert(0, "Select from list:");
                            ddlSubCategories.Visible = true;
                        }
                        lnkBtnSearch2.Visible = (!gsscfw.HasErrors && gsscfw.RowsBack == 0);
                    }
                }
            }
        }