Play sound on Event
-
Hi all, Does anybody know a way of playing a sound when an event occurs. Please don't give me the embed and GDSOUND (or whatever) stuff... I need something that can play a sound when an updatepanel refreshes, or a timertick event occurs, or any event occurs... I found this LiveSound stuff, but that's WAY too expensive ... ANY help would be much appreciated, cause I can't find anything ... and i've been looking for a few days now ... I'll do ANYTHING for a way to do it .... C# please... Kind regards, Hugo
-
Hi all, Does anybody know a way of playing a sound when an event occurs. Please don't give me the embed and GDSOUND (or whatever) stuff... I need something that can play a sound when an updatepanel refreshes, or a timertick event occurs, or any event occurs... I found this LiveSound stuff, but that's WAY too expensive ... ANY help would be much appreciated, cause I can't find anything ... and i've been looking for a few days now ... I'll do ANYTHING for a way to do it .... C# please... Kind regards, Hugo
check on below link may it usefull for you http://www.w3schools.com/media/media_browsersounds.asp[^]
-
check on below link may it usefull for you http://www.w3schools.com/media/media_browsersounds.asp[^]
I've seen this before ... I think I might just user the old school method and go with something like:
StringBuilder SetSoundScript = new StringBuilder();
SetScrollPositionScript.AppendLine("<script language='javascript' event='onload' for='window'>");
// Do some sound stuff here on certain events ....
SetScrollPositionScript.AppendLine("</script>");ClientScript.RegisterClientScriptBlock(typeof(String), "setSound", SetSoundScript.ToString());
I HATE THIS WAY ! Why can't LiveControls just be FREE !