Пример #1
0
 protected void ResponseSubmitButton_Click(object sender, EventArgs e)
 {
     this.ResponseEmailRequired1.Validate();
     if (this.Page.IsValid)
     {
         if (CommerceHelper.SendAdResponse(this.ProductID, base.Server.HtmlEncode(this.ResponseContactNameTextBox.Text), base.Server.HtmlEncode(this.ResponseContactEmailTextBox.Text), base.Server.HtmlEncode(this.ResponseCommentsTextBox.Text)))
         {
             this.SetActivePanel(this.EmailSentPanel);
         }
         else
         {
             this.SetActivePanel(this.EmailNotSentPanel);
         }
     }
 }