Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
![]() |
Gets or sets the ID of a SpeechControlSettingsItem that initializes property values of the control. Read/write.
Usage
| ASP.NET markup: | <speech:CompareValidator Settings="..." /> |
| Get value: | String = CompareValidator.Settings; |
| Set value: | CompareValidator.Settings = String; |
| Data type: | String |
| Required: | No |
Remarks
Application authors can create a SpeechControlSettingsItem control for each application modality that requires a different set of Speech Controls properties. The Settings property specifies the SpeechControlSettingsItem control to be used.
Example
<form id="Form1" method="post" runat="server">
...
<Speech:SpeechControlSettings id="SpeechControlSettings" runat="server">
<Items>
<Speech:SpeechControlSettingsItem ID="QASettings" runat="server">
<QA FirstInitialTimeout="2000" >
<Prompt BargeIn="False"></Prompt>
</QA>
<CompareValidator AutoPostBack="True" ></CompareValidator>
<CustomValidator AutoPostBack="True" ></CustomValidator>
</Speech:SpeechControlSettingsItem>
</Items>
</Speech:SpeechControlSettings>
<asp:panel id="SpeechPanel" runat="server">
<Speech:QA id="RecPrompt1QA" Settings="QASettings" runat="server">
<Prompt BargeIn="False" ID="Prompt1"></Prompt>
</Speech:QA>
</asp:panel>
...
</form>
See Also
CompareValidator Class | CompareValidator Constructor | CompareValidator Members | CompareValidator Properties | CompareValidator Methods | CompareValidator Events | CompareValidator Remarks
.jpg)