QA Property
Gets or sets a QAControlSettings control that sets property values of QA controls that reference it. Read/write.
Usage
Get value: | QAControlSettings = SpeechControlSettingsItem.QA; |
Set value: | SpeechControlSettingsItem.QA = QAControlSettings; |
Data type: | QAControlSettings |
Required: | No |
Remarks
The QAControlSettings control can set the following properties of the QA control:
- AcceptRejectThreshold
- DenyRejectThreshold
- FirstInitialTimeout
- OnClientActive
- OnClientComplete
- OnClientDisconnected
- OnClientListening
- PlayOnce
- XPathAcceptConfirms
- XPathDenyConfirms
The QAControlSettings control can contain ControlSettings items for the following elements of the QA control:
- Prompt
- Reco
- Dtmf
- Answer controls in the Answers collection.
- Answer controls in the ExtraAnswers collection.
- Answer controls in the Confirms collection.
Example
<form id="Form1" method="post" runat="server">
...
<speech:SpeechControlSettings ID="AllSettings" runat="server">
<Items>
<speech:SpeechControlSettingsItem ID="Settings1" runat="server">
...
<QA
FirstInitialTimeout="0"
OnClientActive="MyClientActive"
OnClientComplete="MyClientComplete"
OnClientListening="MyClientListening"
OnClientDisconnected="MyClientDisconnected"
PlayOnce="False"
XPathAcceptConfirms="SML/Yes"
XPathDenyConfirms="SML/No"
AcceptRejectThreshold="0.6"
DenyRejectThreshold="0.5">
<Prompt ... />
<Reco ... >
<Grammar ... />
</Reco>
<Dtmf/>
<Answers>
<Answer ... />
</Answers>
<ExtraAnswers>
<Answer ... />
</ExtraAnswers>
<Confirms>
<Answer ... />
</Confirms>
</QA>
...
</speech:SpeechControlSettingsItem>
</Items>
</speech:SpeechControlSettings>
...
<speech:QA Settings="Settings1" runat="server">
<!-- QA contents --!>
</speech:QA>
...
</form>
See Also
SpeechControlSettingsItem Class | SpeechControlSettingsItem Constructor | SpeechControlSettingsItem Members | SpeechControlSettingsItem Properties | SpeechControlSettingsItem Methods | SpeechControlSettingsItem Events | SpeechControlSettingsItem Remarks