Share via


Prompt Remarks

  Microsoft Speech Technologies Homepage

The Prompt control is a server-side representation of the SALT prompt element. The client object of the Prompt Basic Speech Control is a SALT prompt element.

All properties of the SALT prompt element are represented in the Prompt Basic Speech Control except the src and reason properties.

All events on the SALT prompt element are represented in the Prompt Basic Speech Control.

All methods on the SALT prompt element pertain to the client browser, and are not represented in the Prompt Basic Speech Control.

The Prompt Basic Speech Control is not activated by Runspeech. Application authors must explicitly activate the Prompt control by means of scripts that call the Start method of the underlying SALT prompt element.

Contents

Contents of the Prompt control can include the following elements.

  • InlineContent
    Prompt text and/or one or more Content and Value controls that define the prompt output. The Content controls specify prerecorded prompt content. The Value controls specify values from HTML elements on the page. The text may contain HTML-encoded markup elements.
  • Params
    An optional ParamCollection object containing one or more param elements. Param elements in the Prompt control configure features such as BargeIn and confidentiality of user data.

Markup

<speech:Prompt runat="server" ... />
  <InlineContent>
    prompt text
    <speech:Content ... ></speech:Content>
    prompt text
    <speech:Value ... ></speech:Value>
    prompt text
  </InlineContent>
  <Params>
    <speech:Param name="..." value="..." />
  </Params>
</speech:Prompt>

See Also

Prompt Class  |  Prompt Constructor  |  Prompt Members  |  Prompt Properties  |  Prompt Methods  |  Prompt Events