//Button click changes/updates custom product details
        protected void EditCustomProduct_Click(object sender, EventArgs e)
        {
            //Get logged in client ID
            int client_ID = Convert.ToInt32(Session["LoggedInUser"]);

            //If user is logged in
            if (client_ID > 0)
            {
                int filter = 0;
                if (Filter_Option.Value.Equals("Yes"))
                {
                    filter = 1;
                }
                else
                {
                    filter = 0;
                }

                string _size    = size.Value;
                string _colour  = colour.Value;
                string imageURL = Upload_Logo.Value;

                //Edit info using service function
                string cus_Product = SR.Editcustom(filter, _size, _colour, client_ID, imageURL);


                //if edit is successful
                if (cus_Product.Equals("updated"))
                {
                    Response.Redirect("Home.aspx");
                }
                //if edit is unsuccessful
                else if (cus_Product.Equals("unsuccessful update"))
                {
                    error.Value   = "Product edit changes not saved. ";
                    error.Visible = true;
                }
                //if product doesn't exist.
                else if (cus_Product.Equals("custom product does not exist"))
                {
                    error.Value   = "Custom product doesn't exist.";
                    error.Visible = true;
                }
            }
            //User is not logged in
            else
            {
                Response.Redirect("Home.aspx");
            }
        }