OnClientError Property

  Microsoft Speech Technologies Homepage

Gets or sets the OnClientError property value of Prompt controls that reference the control. Read/write.

Usage

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

Remarks

For more information about the OnClientError property of the Prompt control, see OnClientError.

Example

<form id="Form1" method="post" runat="server">
  ...
  <speech:SpeechControlSettings ID="AllSettings" runat="server">
    <Items>
      <speech:SpeechControlSettingsItem ID="Settings1" runat="server">
        ...
        <QA ... />
          <Prompt
            BargeIn="True"
            Lang="en-US"
            OnClientBargeIn="MyClientBargeIn"
            OnClientError="MyClientError"
            PreFetch="False"
            Async="True"
            PreFlush="True"
            Type="audio/x-wav" >
            <Params>
              <Param name="BargeInType" value="Speech"/>
            </Params>
            <PromptDatabases/>
          </Prompt>
        </QA>
        ...
      </speech:SpeechControlSettingsItem>
    </Items>
  </speech:SpeechControlSettings>
  ...
  <speech:QA Settings="Settings1" runat="server">
    <speech:Prompt ... />
  </speech:QA>
  ...
</form>

See Also

PromptControlSettings Class | PromptControlSettings Constructor | PromptControlSettings Members | PromptControlSettings Properties | PromptControlSettings Methods