protected void btnProceed_Click(object sender, EventArgs e) { if (Request.QueryString["TransID"] != null) { this.SetFlags("PROCEED", 0); BEStudent objBEStudent = new BEStudent(); BStudent objBStudent = new BStudent(); objBEStudent.IntTransID = Convert.ToInt64(GetTransID()); objBStudent.BUpdateProceedTime(objBEStudent); } }
protected void btnProceed_Click(object sender, EventArgs e) { if (Request.QueryString["TransID"] != null) { //System.Text.StringBuilder sb = new System.Text.StringBuilder(); //sb.Append("var win = window.open('" + System.Configuration.ConfigurationManager.AppSettings["GOTOMeetingLink"].ToString() + objBEStudent.strSessionID + "','_blank');"); //sb.Append("if (win == null || typeof(win) == 'undefined' || win.test == 'undefined' || win.outerHeight === 0)alert('The popup was blocked. You must allow popups to use this site.');"); //ScriptManager.RegisterStartupScript(this, this.GetType(), "ShowSuccess", sb.ToString(), true); this.SetFlags("PROCEED", 0); BEStudent objBEStudent = new BEStudent(); BStudent objBStudent = new BStudent(); objBEStudent.IntTransID = Convert.ToInt64(GetTransID()); objBStudent.BUpdateProceedTime(objBEStudent); //ScriptManager.RegisterStartupScript(this, Page.GetType(), "newWindow", "window.open('" + System.Configuration.ConfigurationManager.AppSettings["GOTOMeetingLink"].ToString() + objBEStudent.strSessionID + "','_blank','width=200,height=100');", true); } }