ExtensionSemanticItem Property for French (Canada)
Gets or sets the ID of the SemanticItem control receiving the U.S. ZIP Code extension value. Read/write.
Usage
ASP.NET markup: | <speech:ZipCode ExtensionSemanticItem="..." /> |
Get value: | String = ZipCode.ExtensionSemanticItem; |
Set value: | ZipCode.ExtensionSemanticItem = String; |
Data type: | String |
Required: | No |
Remarks
If not specified, the control does not accept an extension.
The control throws an ArgumentException if this property does not specify a valid SemanticItem on the page.
Example
<form id="Form1" method="post" runat="server">
...
<speech:ZipCode id="ZipCode1" runat="server"
QuestionPrompt="dites-moi votre Code Postal s'il-vous-plaît"
ZipcodeSemanticItem="siZip"
ExtensionSemanticItem="siExt">
</speech:ZipCode>
<asp:TextBox id="TextBox1" runat="server"></asp:TextBox>
<asp:TextBox id="TextBox2" runat="server"></asp:TextBox>
<speech:SemanticMap id="SemanticMap1" runat="server">
<speech:SemanticItem ID="siZip" BindOnChanged="True" runat="server"
TargetAttribute="TextBox1" TargetElement="value" >
</speech:SemanticItem>
<speech:SemanticItem ID="siExt" BindOnChanged="True" runat="server"
TargetAttribute="TextBox2" TargetElement="value" >
</speech:SemanticItem>
</speech:SemanticMap>
...
</form>
See Also
ZipCode Class | ZipCode Constructor | ZipCode Members | ZipCode Properties | ZipCode Methods | ZipCode Events | ZipCode Remarks