Answers Property
Gets or sets the property values in the Answers element of QA controls that reference the control. Read/write.
Usage
ASP.NET markup: | <speech:QAControlSettings Answers="..." /> |
Get value: | AnswerControlSettings = QAControlSettings.Answers; |
Set value: | QAControlSettings.Answers = AnswerControlSettings; |
Data type: | AnswerControlSettings |
Required: | No |
Remarks
For more information about the Answers property of the QA control, see AnswerCollection.
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
QAControlSettings Class | QAControlSettings Constructor | QAControlSettings Members | QAControlSettings Properties | QAControlSettings Methods