Example #1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (Session["UserID"] == null)
     {
         Response.Redirect(CV.LoginPageURL);
     }
     if (!Page.IsPostBack)
     {
         FillDropDownList(Convert.ToInt32(Session["UserID"]));
         if (Request.QueryString["JobworkOrderID"] != null)
         {
             LoadControls(Convert.ToInt32(Request.QueryString["JobworkOrderID"]));
             CommanFiilMethod.FillDropDownListCustomerWiseProductID(ddlProduct, Convert.ToInt32(ddlCustomer.SelectedValue), Convert.ToInt32(Session["UserID"]));
         }
         else
         {
         }
     }
 }
Example #2
0
 protected void ddlCustomer_SelectedIndexChanged(object sender, EventArgs e)
 {
     CommanFiilMethod.FillDropDownListCustomerWiseProductID(ddlProduct, Convert.ToInt32(ddlCustomer.SelectedValue), Convert.ToInt32(Session["UserID"]));
 }