コード例 #1
0
    protected void LinkButton11_Click(object sender, EventArgs e)
    {
        string te = "OrderValueDiscountMaster.aspx";

        ScriptManager.RegisterStartupScript(this, typeof(string), "OPEN_WINDOW", "window.open('" + te + "');", true);
        ModalPopupExtenderfolderrulepopup.Show();
    }
コード例 #2
0
    // End volume discount

    // discount for your customers
    protected void CheckBoxList10_SelectedIndexChanged(object sender, EventArgs e)
    {
        if (CheckBoxList10.SelectedValue == "1")
        {
            string te = "OrderValueDiscountMaster.aspx";
            ScriptManager.RegisterStartupScript(this, typeof(string), "OPEN_WINDOW", "window.open('" + te + "');", true);
            ModalPopupExtenderfolderrulepopup.Show();
        }
        if (CheckBoxList10.SelectedValue == "2")
        {
            pnlfinish.Visible               = true;
            pnlfolderruleyesno.Visible      = false;
            pnlfolderruledone.Visible       = false;
            pnlfolderrulenotrequire.Visible = true;
            pnlfolderruletryagain.Visible   = false;

            //DataTable dt = fillstep1business();
            //if (dt.Rows.Count > 0)
            //{
            //    insertdate("FolderRule", "3");

            //}
        }
    }