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 the SemanticItem control that receives the number value. Read/write.
Usage
| ASP.NET markup: | <speech:NaturalNumber SemanticItem="..." /> |
| Get value: | String = NaturalNumber.SemanticItem; |
| Set value: | NaturalNumber.SemanticItem = String; |
| Data type: | String |
| Required: | Yes |
Remarks
The control throws an ArgumentNullException if this property is not specified or an ArgumentException if this property does not specify a valid SemanticItem on the page.
Example
<form id="Form1" method="post" runat="server">
...
<speech:NaturalNumber
id="NaturalNumber1"
QuestionPrompt="combiens de personnes sont avec vous?"
LowerBound="1"
UpperBound="99"
SemanticItem="SemanticItem1"
ConfirmRejectThreshold="0.2"
FirstInitialTimeout="2500"
runat="server">
</speech:NaturalNumber>
<speech:SemanticMap id="SemanticMap1" runat="server">
<speech:SemanticItem runat="server" TargetAttribute="value" ID="SemanticItem1"
TargetElement="TextBox1">
</speech:SemanticItem>
</speech:SemanticMap>
<asp:TextBox id="TextBox1" runat="server"></asp:TextBox>
...
</form>
See Also
NaturalNumber Class | NaturalNumber Constructor | NaturalNumber Members | NaturalNumber Properties | NaturalNumber Methods | NaturalNumber Events | NaturalNumber Remarks | NaturalNumber Client Object
.jpg)