Exemplo n.º 1
0
    protected void LinkButton10_Click(object sender, EventArgs e)
    {
        string te = "ApplyVolumeDiscount.aspx";

        ScriptManager.RegisterStartupScript(this, typeof(string), "OPEN_WINDOW", "window.open('" + te + "');", true);
        ModalPopupExtenderftprulepopup.Show();
    }
Exemplo n.º 2
0
    // End payment option

    // volume discount
    protected void CheckBoxList9_SelectedIndexChanged(object sender, EventArgs e)
    {
        if (CheckBoxList9.SelectedValue == "1")
        {
            string te = "ApplyVolumeDiscount.aspx";
            ScriptManager.RegisterStartupScript(this, typeof(string), "OPEN_WINDOW", "window.open('" + te + "');", true);
            ModalPopupExtenderftprulepopup.Show();
        }
        if (CheckBoxList9.SelectedValue == "2")
        {
            pnlfolderrule.Visible        = true;
            pnlftpruleyesno.Visible      = false;
            pnlftpruledone.Visible       = false;
            pnlftprulenotrequire.Visible = true;
            pnlftpruletryagain.Visible   = false;

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

            //}
        }
    }