Beispiel #1
0
 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);
         }
     }
 }
Beispiel #2
0
 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);
     }
 }
 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);
 }