Settings Property
Gets or sets the ID of a SpeechControlSettingsItem that initializes property values of the control. Read/write.
Usage
ASP.NET markup: | <speech:CustomValidator Settings="..." /> |
Get value: | String = CustomValidator.Settings; |
Set value: | CustomValidator.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
CustomValidator Class | CustomValidator Constructor | CustomValidator Members | CustomValidator Properties | CustomValidator Methods | CustomValidator Events | CustomValidator Remarks