title: Custom Validator firing but it does not update the ValidationSummary
body: <p>Hi I am working on a custom form field validator, it seems like the custom validator is working by not allowing it to continue to the next page, but it doesn't update the Validation Summary nor does it display the asterisk and the labels that i've made visable. I also have other validators like RequiredFieldValidator on the same field. My ValidationGroup is set, as is the Text and IsValid. I even wrote and set a dummy client side validation method in javascript as some workarounds suggests.</p>
  
  <p>here is the validation summary code in asp.net</p>
  
  <pre><code>&lt;asp:ValidationSummary ID="ValidatorSummary" runat="server" ValidationGroup="Step2" /&gt;
  </code></pre>
  
  <p>here is the custom validator and the required field one</p>
  
  <pre><code>&lt;asp:CustomValidator ID="AddressVerification" runat="server" ErrorMessage="Please enter a valid address." Display="Dynamic" ValidationGroup="Step2" OnServerValidate="AddressVerification_ServerValidate" ClientValidationFunction="CustomValidatorDummy" Text="*" Enabled="true" EnableClientScript="true"&gt;&lt;/asp:CustomValidator&gt;
  &lt;asp:RequiredFieldValidator ID="RFValidatorHomeAddress" runat="server" ErrorMessage="Please enter home address." Text="*" Display="Dynamic" ValidationGroup="Step2" ControlToValidate="txtHomeAddress"&gt;&lt;/asp:RequiredFieldValidator&gt;
  </code></pre>
  
  <p>here is the custom validation method in the code behind</p>
  
  <pre><code>protected void AddressVerification_ServerValidate(object sender, ServerValidateEventArgs e)
  {
  //lets just say it doesn't validate and sets the IsValid to false
  lblUspsValidatorResHomeCity.Visible = true;
  lblUspsValidatorResHomeState.Visible = true;
  lblUspsValidatorResHomeZip.Visible = true;
  e.IsValid = false;
  }
  </code></pre>
  
  <p>please advise, thanks.</p>
  
  <p>EDIT:
  Answered - as bitxwise mentioned. the validation summary should be placed inside an update panel as well. Thanks!</p>
  
  <p>Like so:</p>
  
  <pre><code>&lt;asp:UpdatePanel ID="UpdatePanelValidationSummaryHome" ChildrenAsTriggers="false" UpdateMode="Conditional"
  runat="server"&gt;
  &lt;ContentTemplate&gt;
      &lt;asp:ValidationSummary ID="AddressHomeValidationSummary" runat="server" ValidationGroup="AddressHomeValidationGroup"
          CssClass="errors" /&gt; 
  &lt;/ContentTemplate&gt;
  </code></pre>
  
  <p></p>
  
  <p>and then calling the update:</p>
  
  <pre><code>UpdatePanelValidationSummaryHome.Update();
  </code></pre>