Partilhar via


OnClientSilence Property

  Microsoft Speech Technologies Homepage

Gets or sets the OnClientSilence property value of Dtmf controls that reference the control. Read/write.

Usage

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

Remarks

For more information about the OnClientSilence property of the Dtmf control, see Dtmf.OnClientSilence.

Example

<form id="Form1" method="post" runat="server">
  ...
  <speech:SpeechControlSettings ID="AllSettings" runat="server">
    <Items>
      <speech:SpeechControlSettingsItem ID="Settings1" runat="server">
        ...
        <QA ... >
          ...
          <Dtmf
            InterDigitTimeout="2000"
            PreFlush="True"
            EndSilence="2000"
            InitialTimeout="1000"
            OnClientError="MyClientError"
            OnClientKeyPress="MyClientKeyPress"
            OnClientNoReco="MyClientNoReco"
            OnClientSilence="MyClientSilence">
          </Dtmf>
        <QA/>
        ...
      </speech:SpeechControlSettingsItem>
    </Items>
  </speech:SpeechControlSettings>
  ...
  <speech:QA Settings="Settings1" runat="server">
    <Dtmf ... >
      <!-- Dtmf contents --!>
    </Dtmf>
  </speech:Dtmf>
  ...
</form>

See Also

DtmfControlSettings Class | DtmfControlSettings Constructor | DtmfControlSettings Members | DtmfControlSettings Properties | DtmfControlSettings Methods