FirstInitialTimeout Property for French (Canada)
Gets or sets the FirstInitialTimeout property of QA controls that are created by the control. Read/write.
Usage
ASP.NET markup: | <speech:CreditCardNumber FirstInitialTimeout="..." /> |
Get value: | Int = CreditCardNumber.FirstInitialTimeout; |
Set value: | CreditCardNumber.FirstInitialTimeout = Int; |
Data type: | Int |
Required: | No |
Remarks
If set to 0, QA controls that use short time-out confirmation revert to using explicit confirmation.
The control throws an exception for negative values of FirstInitialTimeout.
When the CreditCardNumber control is in ShortTimeout Confirmation mode, it accepts silence as confirmation of the credit card type entered by the user, but does not accept silence as confirmation of the credit card number. The control requires explicit confirmation of the credit card number regardless of the setting of the FirstInitialTimeout property.
Example
The following example demonstrates the FirstInitialTimeout property of the CreditCardNumber Application Speech Control.
<form id="Form1" method="post" runat="server">
...
<speech:SemanticMap ID="SemanticMap" runat="server">
<speech:SemanticItem
ID="siCCard" runat="server"
TargetAttribute="value"
TargetElement="tbClientCCNum"
BindOnChanged="false"
AutoPostBack="true">
</speech:SemanticItem>
</speech:SemanticMap>
<asp:label runat="server">CC number</asp:Label>
<asp:TextBox ID="tbClientCCNum" Runat="server"></asp:TextBox><br>
<speech:AnswerCall SpeechIndex="10" ID="AnswerCall1" runat="server">
</speech:AnswerCall>
<speech:CreditCardNumber
SpeechIndex="20"
QuestionPrompt="rentrer les 16 chiffres de votre numéro de carte de crédit s'il-vous-plaît"
FirstInitialTimeout="1000"
AllowAmex="true"
AllowDinersClub="true"
AllowDiscover="true"
AllowMasterCard="true"
SemanticItem="siCCard"
runat="server" ID="Creditcardnumber1">
</speech:CreditCardNumber>
...
</form>
See Also
ApplicationControl Class | ApplicationControl Constructor | ApplicationControl Members | ApplicationControl Properties | ApplicationControl Methods | ApplicationControl Events | ApplicationControl Remarks