Reco Property
Gets or sets a RecoControlSettings control that sets property values of Reco controls that reference it. Read/write.
Usage
Get value: | RecoControlSettings = SpeechControlSettingsItem.Reco; |
Set value: | SpeechControlSettingsItem.Reco = RecoControlSettings; |
Data type: | RecoControlSettings |
Required: | No |
Remarks
The RecoControlSettings control can set the following properties of the Reco control:
- BabbleTimeout
- Beep
- EndSilence
- InitialTimeout
- Lang
- MaxTimeout
- OnClientError
- OnClientNoReco
- OnClientSilence
- OnClientSpeechDetected
- Reject
The RecoControlSettings control can contain ControlSettings items for the following elements of the Reco control:
- Params
- Grammars
- RecordSound (Use "Record" tag.)
Example
<form id="Form1" method="post" runat="server">
...
<speech:SpeechControlSettings ID="AllSettings" runat="server">
<Items>
<speech:SpeechControlSettingsItem ID="Settings1" runat="server">
...
<QA ... >
...
<Reco
BabbleTimeout="5000"
EndSilence="1000"
InitialTimeout="0"
Lang="en-US"
MaxTimeout="10000"
OnClientError="MyClientError"
OnClientNoReco="MyClientNoReco"
OnClientSilence="MyClientSilence"
OnClientSpeechDetected="MyClientSpeechDetected"
Reject="0.5">
<Params>
<Param ... />
<Params>
<Grammar ... />
<Record ... />
</Reco>
...
</QA>
...
</speech:SpeechControlSettingsItem>
</Items>
</speech:SpeechControlSettings>
...
<speech:QA Settings="Settings1" runat="server">
<speech:Reco ... />
</speech:QA>
...
</form>
See Also
SpeechControlSettingsItem Class | SpeechControlSettingsItem Constructor | SpeechControlSettingsItem Members | SpeechControlSettingsItem Properties | SpeechControlSettingsItem Methods | SpeechControlSettingsItem Events | SpeechControlSettingsItem Remarks