PreFetch Property
Gets or sets whether the DialogPrompt control content should be synthesized and cached at the browser when the page is loaded. Read/write.
Usage
ASP.NET markup: | <speech:Prompt PreFetch="..." /> |
Get value: | Boolean = DialogPrompt.PreFetch; |
Set value: | DialogPrompt.PreFetch = Boolean; |
Data type: | System.Boolean |
Required: | No; Default: False |
Remarks
Default value is False.
The PreFetch property mirrors the prefetch attribute on the SALT prompt object.
Example
<form id="Form1" method="post" runat="server">
...
<speech:qa ID="ReadyDialogPrompt" AllowCommands="False" PlayOnce="true" runat="server" >
<prompt BargeIn="false" ID="DialogPrompt4" PreFetch="True"
InlinePrompt="Thank you. We hope you have a pleasant flight.">
</prompt>
...
</form>
See Also
DialogPrompt Class | DialogPrompt Constructor | DialogPrompt Members | DialogPrompt Properties | DialogPrompt Methods | DialogPrompt Events | DialogPrompt Remarks