Separator Property for French (Canada)
Gets or sets the character that separates the segments of the SocialSecurityNumber control. Read/write.
Usage
ASP.NET markup: | <speech:SocialSecurityNumber Separator="..." /> |
Get value: | String = SocialSecurityNumber.Separator; |
Set value: | SocialSecurityNumber.Separator = String; |
Data type: | String |
Required: | No |
Remarks
The string specified in Separator property (such as "-") will be inserted between the fields of the Social Security number.
The Separator character is not used in the grammar.
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