Prompt Property
Gets or sets a PromptControlSettings control that sets property values of Prompt controls that reference it. Read/write.
Usage
Get value: | PromptControlSettings = SpeechControlSettingsItem.Prompt; |
Set value: | SpeechControlSettingsItem.Prompt = PromptControlSettings; |
Data type: | PromptControlSettings |
Required: | No |
Remarks
The PromptControlSettings control can set the following properties of the Prompt control:
The PromptControlSettings control can contain ControlSettings items for the following elements of the Prompt control:
- Params
- PromptDatabases
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
SpeechControlSettingsItem Class | SpeechControlSettingsItem Constructor | SpeechControlSettingsItem Members | SpeechControlSettingsItem Properties | SpeechControlSettingsItem Methods | SpeechControlSettingsItem Events | SpeechControlSettingsItem Remarks