Exemplo n.º 1
0
    protected void Page_Load(object sender, EventArgs e)
    {
        this.Title = "Reschedule Customer Appointment";
        Franchisee_Technician_TechnicianMaster objmaster = (Franchisee_Technician_TechnicianMaster)this.Master;

        objmaster.SetBreadcrumb = "Customer List";
    }
Exemplo n.º 2
0
    protected void Page_Load(object sender, EventArgs e)
    {
        this.Title = "Adjust Order";
        Franchisee_Technician_TechnicianMaster objmaster = (Franchisee_Technician_TechnicianMaster)this.Master;

        objmaster.SetBreadcrumb = "Change Package";
    }
    protected void Page_Load(object sender, EventArgs e)
    {
        this.Title = "Search Customer";
        Franchisee_Technician_TechnicianMaster objmaster = (Franchisee_Technician_TechnicianMaster)this.Master;

        objmaster.SetBreadcrumb = "Dashboard";
    }
Exemplo n.º 4
0
    protected void Page_Load(object sender, EventArgs e)
    {
        this.Title = "Missing Result Report";
        Franchisee_Technician_TechnicianMaster objmaster = (Franchisee_Technician_TechnicianMaster)this.Master;

        objmaster.SetBreadcrumb = "Missing Result Report";
    }
Exemplo n.º 5
0
    protected void Page_Load(object sender, EventArgs e)
    {
        this.Title = "Edit Customer";
        Franchisee_Technician_TechnicianMaster objMaster = (Franchisee_Technician_TechnicianMaster)this.Master;

        objMaster.SetBreadcrumb = "<a href=\"/App/Franchisee/Technician/HomePage.aspx\">DashBoard></a>";
        objMaster.settitle("Customer Profile");
        if (!IsPostBack)
        {
            if (Request.QueryString["UserID"] != null)
            {
                UCEditCustomer1.UserID = Convert.ToInt32(Request.QueryString["UserID"].ToString());
            }
            else if (Request.QueryString["CustomerID"] != null)
            {
                OtherDAL otherDal = new OtherDAL();
                UCEditCustomer1.UserID = Convert.ToInt32(otherDal.GetUid(Convert.ToInt32(Request.QueryString["CustomerID"])));
            }
        }
    }
Exemplo n.º 6
0
    protected void Page_Load(object sender, EventArgs e)
    {
        Page.Title = "Print Roster";
        Franchisee_Technician_TechnicianMaster objmaster = (Franchisee_Technician_TechnicianMaster)this.Master;

        objmaster.SetBreadcrumb = "Event Customers";

        string EventID   = string.Empty;
        string EventName = string.Empty;

        img_btnPrint.OnClientClick = "return OpenPDFPage('" + Request.Url.Host + "');";

        if (!IsPostBack)
        {
            ViewState["SortDirection"] = SortDirection.Descending;
            if (Request.QueryString["EventID"] != null)
            {
                EventID                 = Request.QueryString["EventID"].ToString();
                EventName               = Request.QueryString["EventName"].ToString();
                Session["EventName"]    = EventName;
                Session["EventID"]      = EventID;
                Session["EventAddress"] = Request.QueryString["EventAddress"].ToString();
                Session["EventDate"]    = Request.QueryString["EventDate"].ToString();
                Session["HostDetails"]  = Request.QueryString["HostName"].ToString() + "/" + Request.QueryString["HostPhone"].ToString();
                LoadGrid();
            }
            else
            {
                divMsg.Visible       = true;
                divMsg.InnerHtml     = "No Records of this Event";
                img_btnPrint.Visible = false;
                divError.Visible     = false;
            }
        }
        System.Text.StringBuilder strJS = new System.Text.StringBuilder();
        strJS.Append(" <script language = 'Javascript'>OpenPDFPage('" + Request.Url.Host + "');</script>");
        ScriptManager.RegisterStartupScript(this.Page, typeof(string), "JSCode", strJS.ToString(), false);
    }
Exemplo n.º 7
0
    /// <summary>
    ///
    /// </summary>
    /// <param name="sender"></param>
    /// <param name="e"></param>
    protected void Page_Load(object sender, EventArgs e)
    {
        Franchisee_Technician_TechnicianMaster objmaster = (Franchisee_Technician_TechnicianMaster)this.Master;

        objmaster.SetBreadcrumb = "Apply Source code";
    }