ValidationEvent Property

  Microsoft Speech Technologies Homepage

Gets or sets the ValidationEvent property value of CustomValidator controls that reference the control. Read/write.

Usage

ASP.NET markup: <speech:CustomValidatorControlSettings ValidationEvent="..." />
Get value: String = CustomValidatorControlSettings.ValidationEvent;
Set value: CustomValidatorControlSettings.ValidationEvent = String;
Data type: String
Required: No

Remarks

For more information about the ValidationEvent property of the CustomValidator control, see BaseValidator.ValidationEvent.

Example

<form id="Form1" method="post" runat="server">
  ...
  <speech:SpeechControlSettings ID="AllSettings" runat="server">
    <Items>
      <speech:SpeechControlSettingsItem ID="Settings1" runat="server">
        ...
        <CustomValidator 
          ValidationEvent="onchanged">
          <Prompt ... >
          </Prompt>
        </CustomValidator>
        ...
      </speech:SpeechControlSettingsItem>
    </Items>
  </speech:SpeechControlSettings>
  ...
  <speech:CustomValidator Settings="Settings1" runat="server">
    <!-- CustomValidator contents --!>
  </speech:CustomValidator>
  ...
</form>

See Also

CustomValidatorControlSettings Class | CustomValidatorControlSettings Constructor | CustomValidatorControlSettings Members | CustomValidatorControlSettings Properties | CustomValidatorControlSettings Methods