Dtmf Property
Gets or sets a DtmfControlSettings control that sets property values of Dtmf controls that reference it. Read/write.
Usage
Get value: | DtmfControlSettings = SpeechControlSettingsItem.Dtmf; |
Set value: | SpeechControlSettingsItem.Dtmf = DtmfControlSettings; |
Data type: | DtmfControlSettings |
Required: | No |
Remarks
The DtmfControlSettings control can set the following properties of the Dtmf control:
- InterDigitTimeout
- PreFlush
- EndSilence
- InitialTimeout
- OnClientError
- OnClientKeyPress
- OnClientSilence
- OnClientNoReco
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
SpeechControlSettingsItem Class | SpeechControlSettingsItem Constructor | SpeechControlSettingsItem Members | SpeechControlSettingsItem Properties | SpeechControlSettingsItem Methods | SpeechControlSettingsItem Events | SpeechControlSettingsItem Remarks