/// <summary>
 /// Check if any answer has sent a message to display
 /// </summary>
 private void DisplayAnswerMessages()
 {
     if (this._answerMessages.Count > 0)
     {
         StringBuilder builder  = new StringBuilder();
         StringBuilder builder2 = new StringBuilder();
         for (int i = 0; i < this._answerMessages.Count; i++)
         {
             AnswerItemMessageEventArgs args = (AnswerItemMessageEventArgs)this._answerMessages[i];
             if (args.MessageType == AnswerMessageType.Information)
             {
                 builder2.Append(args.Message);
                 if ((i + 1) < this._answerMessages.Count)
                 {
                     builder2.Append("<br />");
                 }
             }
             else
             {
                 builder.Append(args.Message);
                 if ((i + 1) < this._answerMessages.Count)
                 {
                     builder.Append("<br />");
                 }
             }
         }
         if (builder.Length > 0)
         {
             base.QuestionTable.Rows[0].ControlStyle.CopyFrom(this.ValidationMessageStyle);
             if (base.QuestionTable.Rows[0].Cells[0].Controls.Count > 0)
             {
                 base.QuestionTable.Rows[0].Cells[0].Controls.Add(new LiteralControl("<br />" + builder.ToString()));
             }
             else
             {
                 base.QuestionTable.Rows[0].Cells[0].Controls.Add(new LiteralControl(builder.ToString()));
             }
         }
         if (builder2.Length > 0)
         {
             base.QuestionTable.Rows[1].ControlStyle.CopyFrom(this.ConfirmationMessageStyle);
             if (base.QuestionTable.Rows[1].Cells[0].Controls.Count > 0)
             {
                 base.QuestionTable.Rows[1].Cells[0].Controls.Add(new LiteralControl("<br />" + builder2.ToString()));
             }
             else
             {
                 base.QuestionTable.Rows[1].Cells[0].Controls.Add(new LiteralControl(builder2.ToString()));
             }
         }
     }
 }
 /// <summary>
 /// Event to trigger if any messages must be send
 /// to the container
 /// </summary>
 /// <param name="e"></param>
 protected virtual void OnAnswerMessage(AnswerItemMessageEventArgs e)
 {
     base.RaiseBubbleEvent(this, e);
 }
 /// <summary>
 /// Event to trigger if any messages must be send
 /// to the container
 /// </summary>
 /// <param name="e"></param>
 protected virtual void OnAnswerMessage(AnswerItemMessageEventArgs e)
 {
     base.RaiseBubbleEvent(this, e);
 }