DataTableNavigator.ShortInitialTimeout Property
This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.
Gets or sets the time, in milliseconds, before the OnSilence event is raised. Read/write.
Namespace: Microsoft.Speech.Web.UI
Assembly: Microsoft.Speech.Web (in microsoft.speech.web.dll)
Syntax
'Declaration
<DefaultValueAttribute(0)> _
<SRCategoryAttribute("Category_Speech")> _
<BindableAttribute(True)> _
<SRDescriptionAttribute("All_InitialTimeout")> _
Public Property ShortInitialTimeout As Integer
[DefaultValueAttribute(0)]
[SRCategoryAttribute("Category_Speech")]
[BindableAttribute(true)]
[SRDescriptionAttribute("All_InitialTimeout")]
public int ShortInitialTimeout { get; set; }
Remarks
If ShortInitialTimeout is greater than 0, automatic navigation is on and OnSilence navigates to the next row of available data. If set to 0, automatic navigation is turned off.
The control throws an exception if ShortInitialTimeout is a negative value.
Example
<form id="Form1" method="post" runat="server">
...
<asp:textbox id="TextBox1" runat="server"></asp:textbox>
<speech:semanticmap id="SemanticMap1" runat="server" >
<speech:SemanticItem id="SemItemNav" runat="server"
TargetElement="TextBox1" TargetAttribute="value" BindOnChanged="True">
</speech:SemanticItem>
</speech:semanticmap>
<speech:DataTableNavigator
id="Navigator1"
QuestionPrompt="weather by state"
DataHeaderFields="city,state"
DataContentFields="low,high,conditions"
EndSilence="2500"
AccessMode="Select"
ShortInitialTimeout="2000"
SemanticItem="SemItemNav"
runat="server">
</speech:DataTableNavigator>
...
</form>
Thread Safety
All public static (Shared in Visual Basic) members of this type are thread-safe. Instance members are not guaranteed to be thread-safe.
Platforms
Development Platforms
Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003, Windows Vista Ultimate Edition, Windows Vista Business Edition, Windows Vista Enterprise Edition
Target Platforms
Windows Server 2003
See Also
Reference
DataTableNavigator Class
DataTableNavigator Members
Microsoft.Speech.Web.UI Namespace