Event args class that contains save information about a Survey.
Inheritance: System.EventArgs
Ejemplo n.º 1
0
 /// <summary>
 /// Raises the <see cref="SurveyCompleted"/> event.
 /// </summary>
 /// <param name="e">The <see cref="Engage.Survey.UI.SavedEventArgs"/> instance containing the event data.</param>
 protected virtual void OnSurveyCompleted(SavedEventArgs e)
 {
     if (this.SurveyCompleted != null)
     {
         this.SurveyCompleted(this, e);
     }
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Handles the <see cref="Engage.Survey.UI.SurveyControl.SurveyCompleted"/> event of the <see cref="SurveyControl"/> control.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="SavedEventArgs"/> instance containing the event data.</param>
 private void SurveyControl_SurveyCompleted(object sender, SavedEventArgs e)
 {
     this.Response.SetCookie(new HttpCookie(this.SurveyTakenCookieName, e.ResponseHeaderId.ToString(CultureInfo.InvariantCulture)));
     this.SendNotifications(e.ResponseHeaderId);
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Raises the <see cref="SurveyCompleted"/> event.
 /// </summary>
 /// <param name="e">The <see cref="Engage.Survey.UI.SavedEventArgs"/> instance containing the event data.</param>
 protected virtual void OnSurveyCompleted(SavedEventArgs e)
 {
     if (this.SurveyCompleted != null)
     {
         this.SurveyCompleted(this, e);
     }
 }