/// <summary>
 /// New answer button click.
 /// </summary>
 private void btnNewAnswer_Click(object sender, EventArgs e)
 {
     if (CheckModifyPermission(ItemID))
     {
         AnswerEdit.ItemID = 0;
         AnswerEdit.PollId = ItemID;
         DisplayControls("answersedit", false);
         AnswerEdit.LoadData();
     }
 }
 /// <summary>
 /// Answer Edit OnSave handler.
 /// </summary>
 private void AnswerEdit_OnSaved(object sender, EventArgs e)
 {
     // Handle events from visible controls only
     if (AnswerEdit.Visible)
     {
         AnswerEdit.PollId = ItemID;
         DisplayControls("answersedit", false);
         AnswerEdit.LoadData();
     }
 }