protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { hfdperid.Value = Request.QueryString[0].ToString(); Utilities_Licensing.BindDropdown(ddl_status1, 53); Utilities_Licensing.BindDropdown(ddlnewappstatus, 24); Utilities_Licensing.BindDropdown(ddlappreason, 28); Utilities_Licensing.BindDropdown(ddlmailorderstatus, 53); Utilities_Licensing.BindCheckboxlist1(chkschedules, 68); Utilities_Licensing.Bind_LicenseTypes_Business(ddl_buslictypes); Utilities_Licensing.BindLicType(ddllictype, Convert.ToInt32(hfdperid.Value)); Utilities_Licensing.BindLicType(ddl_licensetype, Convert.ToInt32(hfdperid.Value)); Utilities_Licensing.BindLicType(ddl_schedulelicensetype, Convert.ToInt32(hfdperid.Value)); Person_Details.tbl_PersonDetail objtype = Person_Details.Licensing_Details.get_PersonsData(Convert.ToInt32(hfdperid.Value)); hfdobjtype.Value = objtype.object_type.ToString(); //if(hfdobjtype.Value=="1") //mailorder.Attributes.Add("style","display:none"); Utilities_Licensing.BindDropdown(ddlnewstatus, 14); txtDateOfChange.Text = DateTime.Now.ToShortDateString(); txtappdt.Text = DateTime.Now.ToShortDateString(); Utilities_Licensing.BindStatusChange(ddlReason); ddlcmp.DataSource = ComplaintsTabLinq.ClsComplaints.GetComplaints("0", Convert.ToInt32(hfdperid.Value)); ddlcmp.DataTextField = "Complaint_Number"; ddlcmp.DataValueField = "Complaint_Number"; ddlcmp.DataBind(); ddlcmp.Items.Insert(0, new ListItem("", "")); //BindLicenseData(); Utilities_Licensing.BindLicenseTypeByPersonID(chklictypes, Convert.ToInt32(hfdperid.Value)); foreach (ListItem li in chklictypes.Items) { li.Attributes.Add("App_ID", li.Value); } } }
protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { hfdpid.Value = Request.QueryString[0].ToString(); Person_Details.tbl_PersonDetail objtype = Person_Details.Licensing_Details.get_PersonsData(Convert.ToInt32(hfdpid.Value)); hfdobjtype.Value = objtype.object_type.ToString(); if (hfdobjtype.Value == "1") { haspharmacy.Attributes.Add("style", "display:none"); } else { employee.Attributes.Add("style", "display:none"); supervisor.Attributes.Add("style", "display:none"); //exam.Attributes.Add("style", "display:none"); outofstate.Attributes.Add("style", "display:none"); otherstate.Attributes.Add("style", "display:none"); } Utilities_Licensing.BindDropdown(ddlstate, 9); Utilities_Licensing.BindDropdown(ddlcounty, 10); btnadd.Attributes.Add("onClick", "return open_edit(" + hfdpid.Value + ");"); btnaddemployer.Attributes.Add("onClick", "return Open_employer(" + hfdpid.Value + ");"); //Utilities_Licensing.BindGridEmployer(grdemployee, Convert.ToInt32(hfdpid.Value)); } }
protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { //Utilities_Licensing.BindDropdown(ddl_suffix, 12); Utilities_Licensing.BindDropdown(ddl_gender, 18); Utilities_Licensing.BindDropdown(ddl_maritalstatus, 19); Utilities_Licensing.BindDropdown(ddl_state, 9); Utilities_Licensing.BindDropdown(ddl_county, 10); Utilities_Licensing.BindDropdown(ddlethincity, 62); Utilities_Licensing.BindDropdown(ddl_suffix, 12); //string name = Request.QueryString[0].ToString(); // txtuser.Text = Session["UserDetailname"].ToString(); // lstdoc1.DataSource = Utilities_Licensing.Get_Values("tbl_lkp_us", "*", " isus=1"); lstdoc1.DataTextField = "Item"; lstdoc1.DataValueField = "chkid"; lstdoc1.DataBind(); // lstdoc2.DataSource = Utilities_Licensing.Get_Values("tbl_lkp_us", "*", " isus=0"); lstdoc2.DataTextField = "Item"; lstdoc2.DataValueField = "chkid"; lstdoc2.DataBind(); //string name = Request.QueryString[0].ToString(); Bind_PersonDetails(); hfdpid.Value = Request.QueryString[0].ToString(); //txtverdt.Text = DateTime.Now.ToShortDateString(); } //txtuser.Text = "admin";//Session["UserDetailname"].ToString(); }
protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { Utilities_Licensing.BindDropdown(ddl_doctype, 70); Utilities_Licensing.BindDropdown(ddl_Doctypeedit, 70); hfdperid.Value = Request.QueryString[0].ToString(); Speciality obj = Person_Details.Licensing_Details.Getspeciality(Convert.ToInt32(hfdperid.Value)); if (obj != null) { if (obj.DrugCollector == Convert.ToBoolean(1)) { drugcollect.Checked = true; } else { drugcollect.Checked = false; } if (obj.Parenteral == Convert.ToBoolean(1)) { txtparent.Checked = true; } else { txtparent.Checked = false; } if (obj.Nuclear == Convert.ToBoolean(1)) { txtnuclear.Checked = true; } else { txtnuclear.Checked = false; } if (obj.RemoteOrderEntry == Convert.ToBoolean(1)) { txtremorder.Checked = true; } else { txtremorder.Checked = false; } if (obj.NonPharmacyKeyHolder == Convert.ToBoolean(1)) { txtnonpharmacy.Checked = true; } else { txtnonpharmacy.Checked = false; } } else { hfd_chkid.Value = "0"; } } }
protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { Utilities_Licensing.BindDropdown(ddlstate, 9); Utilities_Licensing.BindDropdown(ddlcounty, 10); } }
protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { hfdperid.Value = Request.QueryString[0].ToString(); Utilities_Licensing.BindDropdown(ddl_State_Of_Discipline, 9); } }
protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { hfdpid.Value = Request.QueryString[0].ToString(); Utilities_Licensing.BindDropdown(ddlvoidres, 31); } }
protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { hfdperid.Value = Request.QueryString[0].ToString(); List <tbl_lkp_data> cablst = Person_Details.Licensing_Details.Get_Lkp_tablesdata(39); if (Request.QueryString["type"] == null) { hfdutype.Value = "1"; cablst = cablst.Where(c => c.Lkp_data_ID != 1071 && c.Lkp_data_ID != 1072 && c.Lkp_data_ID != 1075 && c.Lkp_data_ID != 1076 && c.Lkp_data_ID != 1077 && c.Lkp_data_ID != 1085).ToList(); Utilities_Licensing.BindDropdown(ddl_doctype, 41); btndownloadall.Visible = false; chklictypes.Visible = true; Utilities_Licensing.BindLicType(ddl_lictypeedit, Convert.ToInt32(hfdperid.Value)); } else { hfdutype.Value = Request.QueryString["type"].ToString(); if (hfdutype.Value == "2") { cablst = cablst.Where(c => c.Lkp_data_ID == 1071 || c.Lkp_data_ID == 1072).ToList(); Utilities_Licensing.BindDropdown(ddl_doctype, 57); btndownloadall.Visible = true; chklictypes.Visible = false; Utilities_Licensing.BindLicType(ddl_lictypeedit, Convert.ToInt32(Request.QueryString[1].ToString())); } } //BindDocumnetDetails(); // Utilities_Licensing.BindDropdown(ddl_cabinet, 39); if (hfdutype.Value == "1") { lictype.Visible = true; } else { lictype.Visible = false; } ddl_cabinet.DataSource = cablst; ddl_cabinet.DataValueField = "Lkp_data_ID"; ddl_cabinet.DataTextField = "Values"; ddl_cabinet.DataBind(); ddl_cabinet.Items.Insert(0, new ListItem("Select", "-1")); Utilities_Licensing.BindDropdown(ddl_folder, 40); Utilities_Licensing.BindLicType(ddl_licensetype, Convert.ToInt32(hfdperid.Value)); foreach (ListItem li in ddl_doctype.Items) { ddl_doctypeedit.Items.Add(li); } Utilities_Licensing.BindLicenseTypeByPersonID(chklictypes, Convert.ToInt32(hfdperid.Value)); foreach (ListItem li in chklictypes.Items) { li.Attributes.Add("App_ID", li.Value); } txt_date.Text = DateTime.Now.ToShortDateString(); } }
protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { hfdperid.Value = Request.QueryString[0].ToString(); Utilities_Licensing.BindDropdown(ddl_certification_type, 52); Utilities_Licensing.BindDropdown(ddl_status, 53); } }
protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { hfdperid.Value = Request.QueryString[0].ToString(); List <tbl_lkp_data> cablst = Person_Details.Licensing_Details.Get_Lkp_tablesdata(39); if (Request.QueryString["type"] == null) { hfdutype.Value = "1"; cablst = cablst.Where(c => c.Lkp_data_ID != 1071 && c.Lkp_data_ID != 1072 && c.Lkp_data_ID != 1075 && c.Lkp_data_ID != 1076 && c.Lkp_data_ID != 1077 && c.Lkp_data_ID != 1085).ToList(); Utilities_Licensing.BindDropdown(ddldoctypeedit, 41); btndownloadall.Visible = false; Utilities_Licensing.BindLicType(ddl_lictypeedit, Convert.ToInt32(hfdperid.Value)); } else { hfdutype.Value = Request.QueryString["type"].ToString(); if (hfdutype.Value == "2") { cablst = cablst.Where(c => c.Lkp_data_ID == 1071 || c.Lkp_data_ID == 1072).ToList(); Utilities_Licensing.BindDropdown(ddldoctypeedit, 57); btndownloadall.Visible = true; Utilities_Licensing.BindLicType(ddl_lictypeedit, Convert.ToInt32(Request.QueryString[1].ToString())); } } //BindDocumnetDetails(); // Utilities_Licensing.BindDropdown(ddl_cabinet, 39); if (hfdutype.Value == "1") { lictype.Visible = true; } else { lictype.Visible = false; } //ddl_cabinet.DataSource = cablst; //ddl_cabinet.DataValueField = "Lkp_data_ID"; //ddl_cabinet.DataTextField = "Values"; //ddl_cabinet.DataBind(); //ddl_cabinet.Items.Insert(0, new ListItem("Select", "-1")); //Utilities_Licensing.BindDropdown(ddl_folder, 40); Utilities_Licensing.BindLicType(ddl_licensetype, Convert.ToInt32(hfdperid.Value)); var currentYear = DateTime.Today.Year; for (int i = 2; i >= 0; i--) { // Now just add an entry that's the current year minus the counter ddl_year.Items.Add((currentYear - i).ToString()); } ddl_year.SelectedValue = currentYear.ToString(); txt_date.Text = DateTime.Now.ToShortDateString(); } }
protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { Utilities_Licensing.BindDropdown(ddlcounty, 10); Utilities_Licensing.BindDropdown(ddlstate, 9); Utilities_Licensing.Bind_LicenseTypes_Business(ddllictype); Utilities_Licensing.BindDropdown(ddllicstatus, 14); } }
protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { hfdpid.Value = Request.QueryString[0].ToString(); Utilities_Licensing.BindDropdown(ddlJournalType, 6); hfdisce.Value = "0"; } }
protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { Utilities_Licensing.Bind_LicenseTypes(ddlrenewaltype); ddlrenewaltype.Items.Insert(0, new ListItem("Select License Type", "-1")); Utilities_Licensing.BindDropdown(ddlrenewalstatus, 60); Utilities_Licensing.BindPrintpages(ddl_Printpages); hfdurl.Value = System.Configuration.ConfigurationManager.AppSettings["onlinetechnicianrenewal"].ToString(); } }
protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { BindDropdown(); Utilities_Licensing.BindDropdown(ddl_status, 71); hfdpid.Value = Request.QueryString[0].ToString(); txt_datesent.Text = "06/14/2019"; ddl_year.SelectedValue = "2018"; } }
protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { hfdperid.Value = Request.QueryString[0].ToString(); Utilities_Licensing.BindDropdown(ddl_doctype, 64); tbl_Person_wellness_Document wellness = Person_Details.Licensing_Details.GetAllWellnessDocument(hfdperid.Value); if (wellness != null) { chkalldocumentsreceived.Checked = Convert.ToBoolean(wellness.AllDocumentsReceived); } } }
protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { hfdperid.Value = Request.QueryString[0].ToString(); Utilities_Licensing.BindLicType(ddl_licensetype, Convert.ToInt32(hfdperid.Value)); Utilities_Licensing.BindDropdown(ddl_degree, 26); Utilities_Licensing.BindDropdown(ddl_examtype, 54); Utilities_Licensing.BindLicType(ddllictype, Convert.ToInt32(hfdperid.Value)); Utilities_Licensing.BindDropdown(ddl_Eligibletype, 69); // Utilities_Licensing.BindGridEducation(grdeducation, Convert.ToInt32(hfdperid.Value)); } }
protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { Utilities_Licensing.BindDropdown(ddl_county, 10); Utilities_Licensing.BindDropdown(ddl_state, 9); Utilities_Licensing.BindDropdown(ddl_suffix, 12); Utilities_Licensing.BindDropdown(ddl_gender, 18); Utilities_Licensing.BindDropdown(ddl_mstatus, 19); Utilities_Licensing.Bind_LicenseTypes_individual(ddl_lictype); Utilities_Licensing.BindDropdown(ddl_licstatus, 14); Utilities_Licensing.Bind_LicenseTypes_individual(ddl_applictype); Utilities_Licensing.BindDropdown(ddlcounty, 10); Utilities_Licensing.BindDropdown(ddlstate, 9); Utilities_Licensing.BindDropdown(ddlethincity, 62); } }
protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { Utilities_Licensing.BindDropdown(ddl_state, 9); Utilities_Licensing.BindDropdown(ddl_county, 10); Utilities_Licensing.BindDropdown(ddl_mailingstate, 9); Utilities_Licensing.BindDropdown(ddl_mailingcounty, 10); Business_Details(); Bind_Buyer(); Bind_Distributor(); Bind_Operations(); Bind_Typeoperations(); Bind_USP(); Bind_MailingAddress(); } }
protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { hfdpid.Value = Request.QueryString[0].ToString(); hfdutype.Value = Session["Utype"].ToString(); Utilities_Licensing.BindLicType(ddl_lictype, Convert.ToInt32(hfdpid.Value)); Utilities_Licensing.BindSubobjvalues(ddl_feetype, hfdpid.Value); Utilities_Licensing.BindDropdown(ddl_paymenttype, 30); Utilities_Licensing.BindDropdown(ddlvoidres, 31); ddl_days.DataSource = Enumerable.Range(1, 15); ddl_days.DataBind(); ddl_days.Items.Insert(0, new ListItem("Day", "-1")); ddl_edit_days.DataSource = Enumerable.Range(1, 15); ddl_edit_days.DataBind(); ddl_edit_days.Items.Insert(0, new ListItem("Day", "-1")); } }
private void BindDropdowns() { Utilities_Licensing.Bind_LicenseTypes_individual(ddl_lictype); Utilities_Licensing.BindDropdown(ddl_licstatus, 14); Utilities_Licensing.BindDropdown(ddlcounty, 10); Utilities_Licensing.BindDropdown(ddlstate, 9); Utilities_Licensing.Bind_LicenseTypes_Business(ddllictype); Utilities_Licensing.BindDropdown(ddllicstatus, 14); Utilities_Licensing.BindDropdown(ddl_county, 10); Utilities_Licensing.BindDropdown(ddl_state, 9); Utilities_Licensing.BindDropdown(ddlpersonstate, 9); Utilities_Licensing.BindDropdown(ddlpersoncounty, 10); Utilities_Licensing.BindDropdown(ddlpersonsuffix, 12); Utilities_Licensing.BindDropdown(ddlpersongender, 18); Utilities_Licensing.BindDropdown(ddlpersonmstatus, 19); Utilities_Licensing.BindDropdown(ddlbusinesscounty, 10); Utilities_Licensing.BindDropdown(ddlbusinessstate, 9); Utilities_Licensing.BindDropdown(ddlbusinesstype, 56); Utilities_Licensing.BindDropdown(ddlethincity, 62); }
protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { hfdpid.Value = Request.QueryString[0].ToString(); Utilities_Licensing.BindDropdown(ddl_instype, 61); Utilities_Licensing.BindDropdown(ddlJournalType, 6); hfdutype.Value = "3"; List <tbl_lkp_data> cablst = Person_Details.Licensing_Details.Get_Lkp_tablesdata(39); cablst = cablst.Where(c => c.Lkp_data_ID == 1075 || c.Lkp_data_ID == 1076 || c.Lkp_data_ID == 1077 || c.Lkp_data_ID == 1085).ToList(); ddl_cabinet.DataSource = cablst; ddl_cabinet.DataValueField = "Lkp_data_ID"; ddl_cabinet.DataTextField = "Values"; ddl_cabinet.DataBind(); ddl_cabinet.Items.Insert(0, new ListItem("Select", "-1")); Utilities_Licensing.BindDropdown(ddlstatus, 59); Utilities_Licensing.Fill_Dropdown(ddlstaff, "tbl_Login where UserType in (417,416) Order by LastName", "LastName+' '+FirstName", "loginID", " ", "Select"); Utilities_Licensing.BindDropdown(ddl_folder, 40); Utilities_Licensing.BindDropdown(ddl_doctype, 58); } }