Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
![]() |
Gets or sets the language of the DialogPrompt control content. Read/write.
Usage
| ASP.NET markup: | <speech:Prompt Lang="..." /> |
| Get value: | String = DialogPrompt.Lang; |
| Set value: | DialogPrompt.Lang = String; |
| Data type: | String |
| Required: | No |
Remarks
The possible values for the Lang property appear in the lang definition of the Request for Comment (RFC). For example, a value of "en-US" denotes U.S. English. If the author does not specify a value for the Lang property, the platform defaults to an internal value.
The Lang property mirrors the lang 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 Lang="en-US" ID="DialogPrompt1"
InlinePrompt="Thank you. We hope you have a pleasant flight.">
</prompt>
<speech:qa>
...
</form>
See Also
DialogPrompt Class | DialogPrompt Constructor | DialogPrompt Members | DialogPrompt Properties | DialogPrompt Methods | DialogPrompt Events | DialogPrompt Remarks
.jpg)