AllowNumeralDates Property for French (Canada)
Gets or sets whether dates in numerical format are accepted. Read/write.
Usage
ASP.NET markup: | <speech:Date AllowNumeralDates="..." /> |
Get value: | Boolean = Date.AllowNumeralDates; |
Set value: | Date.AllowNumeralDates = Boolean; |
Data type: | System.Boolean |
Required: | No; Default: False |
Remarks
If AllowNumeralDates is set to True, the control accepts dates in a format like "eleven five sixty-six."
Example
<form id="Form1" method="post" runat="server">
...
<speech:semanticmap id="SemanticMap1" runat="server">
<speech:SemanticItem ID="DaySemItem" TargetAttribute="value"
TargetElement="tbDay" runat="server">
</speech:SemanticItem>
<speech:SemanticItem ID="MonthSemItem" TargetAttribute="Text"
BindAt="server" TargetElement="tbMonth" runat="server">
</speech:SemanticItem>
<speech:SemanticItem ID="YearSemItem" TargetAttribute="value"
BindOnChanged="True" TargetElement="tbYear" runat="server">
</speech:SemanticItem>
</speech:semanticmap>
<speech:date
id="Date1"
QuestionPrompt="quand est-ce que vous aimeriez voyager?"
DateContext="Future"
AllowHolidays="True"
AllowNumeralDates="True"
AllowRelativeDates="True"
DaySemanticItem="DaySemItem"
MonthSemanticItem="MonthSemItem"
YearSemanticItem="YearSemItem"
SpeechIndex="1000"
OnClientActive="MyClientActive"
runat="server">
</speech:date>
<asp:textbox id="tbDay" runat="server"></asp:textbox>
<asp:TextBox id="tbMonth" runat="server"></asp:TextBox>
<asp:TextBox id="tbYear" runat="server"></asp:TextBox>
...
</form>
See Also
Date Class | Date Constructor | Date Members | Date Properties | Date Methods | Date Events | Date Remarks