SemanticItem Property for French (Canada)
Gets or sets the ID of the SemanticItem control receiving the Social Security number value. Read/write.
Usage
ASP.NET markup: | <speech:SocialSecurityNumber SemanticItem="..." /> |
Get value: | String = SocialSecurityNumber.SemanticItem; |
Set value: | SocialSecurityNumber.SemanticItem = String; |
Data type: | String |
Required: | Yes |
Remarks
To protect data that is collected by this control, set the SensitiveData property of the associated SemanticItem control to a value of True.
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:semanticmap id="SemanticMap1" runat="server">
<speech:SemanticItem id="SemItemSSN" runat="server" BindOnChanged="True"
TargetElement="TextBoxYear" TargetAttribute="value"
SensitiveData="True">
</speech:SemanticItem>
</speech:semanticmap>
<speech:SocialSecurityNumber id="SSN1" runat="server"
QuestionPrompt="quel est votre numéro d'assurance sociale?"
Separator="-"
SemanticItem="SemItemSSN">
</speech:SocialSecurityNumber>
<asp:TextBox id="TextBox1" runat="server"></asp:TextBox>
...
</form>
See Also
SocialSecurityNumber Class | SocialSecurityNumber Constructor | SocialSecurityNumber Members | SocialSecurityNumber Properties | SocialSecurityNumber Methods | SocialSecurityNumber Events | SocialSecurityNumber Remarks