AutoPostBack Property
Gets or sets whether the control posts back to the server when recording is complete. Read/write.
Usage
ASP.NET markup: | <speech:RecordSound AutoPostBack="..." /> |
Get value: | System.Boolean = RecordSound.AutoPostBack; |
Set value: | RecordSound.AutoPostBack = System.Boolean; |
Data type: | System.Boolean |
Required: | No; Default: False |
Remarks
Postback sends the recorded sound file to the server. This must take place before an application attempts to play the file.
The RecordSound control conforms to the ASP.NET event model. For more information on events, autopostback and event delegation in ASP.NET, see ASP.NET Server Control Event Model.
Example
<form id="Form1" method="post" runat="server">
...
<speech:SemanticMap runat="server">
<speech:SemanticItem ID="siRecordedFile" runat="server" />
</speech:SemanticMap>
<speech:RecordSound
Beep="True"
AutoPostBack="True"
EndSilence=500
StopOnDtmf=DtmfSquare
SavePartialRecord="True"
SemanticItem="siRecordedFile"
PlaybackUrlBase="http://www.cpandl.com/playback/"
SavePath="d:\vdirs\playback"
runat="server">
<Prompt Bargein="false"
InlinePrompt="Please leave your message after the beep and
press the pound sign when you are done.">
</Prompt>
</speech:RecordSound>
...
</form>
See Also
RecordSound Class | RecordSound Constructor | RecordSound Members | RecordSound Properties | RecordSound Methods | RecordSound Events | RecordSound Remarks