C#/ASP.NET - Play dynamically generated WAV file on client click
<p>I'm trying to play a WAV file that I generate dynamically in a HTTP handler and setting the NavigateUrl property of HyperLink control:</p>

<pre><code>&lt;asp:HyperLink runat="server" NavigateUrl="~/ServeAudio.ashx" Text="Play Sound" ImageUrl="~/images/speaker_louder_32.png"
                        ToolTip="Play Sound"&gt;&lt;/asp:HyperLink&gt;
</code></pre>

<p>But when I click on that link, it opens Windows Media Player - I don't want that.  I just want the sound to play.</p>

<p>I have also tried using a few of the jQuery plugins and they seem to work if I have have a fixed URL to a WAV file but they don't work if I set the URL to my HTTP handler.</p>

<p>Any ideas?  Thanks in advance.</p>
