protected void Button2_Click1(object sender, EventArgs e) { string messag = ""; if (TextBox135.Text == "2") { messag = "Το ΦΕΤ με αριθμό : " + DropDownList18.SelectedItem.Text + " καταχωρήθηκε ως κακέκτυπο"; } if (TextBox9.Text.Length == 0) { ScriptManager.RegisterClientScriptBlock(this, this.GetType(), "alertMessage", "alert('Δεν έχει συμπληρωθεί η Περιγραφή !!!!');", true); } else { ScriptManager.RegisterClientScriptBlock(this, this.GetType(), "alertMessage", "alert('" + messag + "');", true); Visa_FET_Cansel.Insert(); Response.Write("<script language='javascript'>window.alert('" + messag + "');window.location='Kinisis_Pass_Visa.aspx';</script>"); // Response.Redirect("Kinisis_Pass_Visa.aspx"); } }
protected void Button2_Click1(object sender, EventArgs e) { TextBox134.Text = DropDownList18.SelectedIndex.ToString(); string messag = ""; messag = "Η Βινιέτα με αριθμό : " + DropDownList18.SelectedItem.Text + " καταχωρήθηκε ως κακέκτυπη"; ScriptManager.RegisterClientScriptBlock(this, this.GetType(), "alertMessage", "alert('" + messag + "');", true); Visa_FET_Cansel.Insert(); Response.Write("<script language='javascript'>window.alert('" + messag + "');window.location='VISA_Print_Kiosk.aspx';</script>"); // Response.Redirect("Kinisis_Pass_Visa.aspx"); }