protected void Show_UndeliveredForm(object sender, EventArgs e) { UnDeliveredForm UnDeliveredForm1 = (UnDeliveredForm)Order_Summary_FormView.FindControl("UnDeliveredForm1"); UnDeliveredForm1.Load_Form(); Show_Form("UnDeliveredForm1"); }
protected void Show_Form(string pFormName) { foreach (string lFormName in lForms) { Order_Summary_FormView.FindControl(lFormName).Visible = false; if (lFormName == pFormName) { Order_Summary_FormView.FindControl(lFormName).Visible = true; } } }
protected void Show_PreCancellationForm(object sender, EventArgs e) { PreCancellationForm PreCancellationForm1 = (PreCancellationForm)Order_Summary_FormView.FindControl("PreCancellationForm1"); PreCancellationForm1.UserType = "2"; if (Order_Summary_FormView.DataKey.Values[3].ToString() == "1" && Request.ServerVariables["URL"].Contains("orders.aspx")) //Staff { PreCancellationForm1.UserType = "1"; //Seller } PreCancellationForm1.Load_Form(); Show_Form("PreCancellationForm1"); }
protected void Show_CancellationRejectionForm(object sender, EventArgs e) { CancellationRejectionForm CancellationRejectionForm1 = (CancellationRejectionForm)Order_Summary_FormView.FindControl("CancellationRejectionForm1"); CancellationRejectionForm1.Load_Form(); Show_Form("CancellationRejectionForm1"); }
protected void Show_ShippingInformationForm(object sender, EventArgs e) { ShippingInformationForm ShippingInformationForm1 = (ShippingInformationForm)Order_Summary_FormView.FindControl("ShippingInformationForm1"); ShippingInformationForm1.Load_Form(); Show_Form("ShippingInformationForm1"); }