DisableColumnNavigation Property for French (Canada)
Gets or sets whether column navigation will be performed. Read/write.
Usage
ASP.NET markup: | <speech:DataTableNavigator DisableColumnNavigation="..." /> |
Get value: | Boolean = DataTableNavigator.DisableColumnNavigation; |
Set value: | DataTableNavigator.DisableColumnNavigation = Boolean; |
Data type: | System.Boolean |
Required: | No; Default: False |
Remarks
The DisableColumnNavigation property controls whether column names contained in the DataContentFields property can be spoken by the user in order to make the control navigate to those columns in the current data row and read the data contained in them.
When DisableColumnNavigation is False, the control reads the contents of a data column in the current data row if the user speaks the name of that column. When DisableColumnNavigation is True, the control returns a onnoreco event if the user speaks the name of a column.
Example
In the following example, the setting of the DisableColumnNavigation property prevents the control from navigating to the columns named "minimum" ("low"), "maximum" ("high"), and "conditions" ("conditions").
<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="météo par état"
DataHeaderFields="ville,état"
DataContentFields="minimum,maximum,conditions"
DisableColumnNavigation="True"
EndSilence="2500"
AccessMode="Select"
ShortInitialTimeout="2000"
SemanticItem="SemItemNav"
runat="server">
</speech:DataTableNavigator>
...
</form>
See Also
DataTableNavigator Class | DataTableNavigator Constructor | DataTableNavigator Members | DataTableNavigator Properties | DataTableNavigator Methods | DataTableNavigator Events | DataTableNavigator Remarks | DataTableNavigator Client Object