protected void Page_Load(object sender, EventArgs e)
        {
            //btnProceed.Attributes.Add("onclick", "return browserValidate();");


            ((LinkButton)this.Page.Master.FindControl("lnkStart")).CssClass = "main_menu_active";
            if (Request.QueryString.ToString() != "")
            {
                BEStudent objBEStudent = new BEStudent();
                BStudent  objBStudent  = new BStudent();
                objBEStudent.IntTransID = Convert.ToInt64(GetTransID());
                objBStudent.BGetExamSessionID(objBEStudent);
                BindSecurityQuestions();
                BindStep4Details();
                this.GetAllRules();
                GetProviderFile();



                //GetSessionID();
            }
            else
            {
                //Show errors if any
            }
            //Get exam details for browser-lockdown signal
            new CommonFunctions().setExamDetailsForExamityMeeting(Request.QueryString["TransID"].ToString(), hdnIsLockDown, hdnIsPasswordExists, hdnLmsDomain, hdnExamSecurity);

            ScriptManager.RegisterStartupScript(this, this.GetType(), "NotSaved", "document.getElementById('" + imgHead.ClientID.ToString() + "').focus();", true);
        }
Esempio n. 2
0
        protected void bindGOTOMeetingLink()
        {
            BEStudent objBEStudent = new BEStudent();
            BStudent  objBStudent  = new BStudent();

            objBEStudent.IntTransID = Convert.ToInt64(GetTransID());
            objBStudent.BGetExamSessionID(objBEStudent);
            lnk.Attributes.Add("onclick", "openwin('" + System.Configuration.ConfigurationManager.AppSettings["GOTOMeetingLink"].ToString() + objBEStudent.strSessionID);
        }
        public string GetSessionID()
        {
            BEStudent objBEStudent = new BEStudent();
            BStudent  objBStudent  = new BStudent();

            objBEStudent.IntTransID = Convert.ToInt64(GetTransID());
            objBStudent.BGetExamSessionID(objBEStudent);

            return(objBEStudent.strSessionID);
        }