Enabled Property
Gets or sets whether sound recording is enabled. Read/write.
Usage
ASP.NET markup: | <speech:Record Enabled="..." /> |
Get value: | System.Boolean = Record.Enabled; |
Set value: | Record.Enabled = System.Boolean; |
Data type: | System.Boolean |
Required: | No; Default: False |
Remarks
Declarative use of the Enabled property sets the property value when the control is rendered on the page. Once the page has been created, the Enabled property can be changed through scripting.
Example
<form id="Form1" method="post" runat="server">
...
<speech:QA ID="qaDest" SpeechIndex="4" runat="server">
<Reco Beep="True" >
<Record ID="recordDest" Enabled="True" runat="server"/>
</Reco>
<Prompt InlinePrompt="And what is your destination?" />
<Answers>
<speech:Answer XPathTrigger="/SML/DestCity" SemanticItem="siDest" runat="server"/>
</Answers>
</speech:QA>
...
</form>
See Also
Record Class | Record Constructor | Record Members | Record Properties | Record Methods | Record Events | Record Remarks