Esempio n. 1
0
        protected void btnUpdateQuestionSubmit_Click(object sender, EventArgs e)
        {
            Label          lblUpdatedBy   = this.Master.FindControl("lblLoggedInUser") as Label;
            ClassQuestions updateQuestion = new ClassQuestions();

            updateQuestion.UpdateQuestion(this, lblUpdatedBy);
            string messageString = txUpdateQuestionId.Text + " has successfully updated.";

            ClientScript.RegisterStartupScript(this.GetType(), "Successful", "alert('" + messageString + "'); window.location='Questions.aspx';", true);
        }