I wrote a windows application in C# that I am trying to duplicate as a web application.
I need to have a sound play in response to a buttom click. This is a reading/phonics program. The text value changes on the button as the student is learning different sounds and words. I need to be able to point at the sound on the server based on the text value of the button and have it play without navigating away from page.
I tried the following and it worked fine while testing it on my computer but when I uploaded it to the hosting server it no longer worked.
I would call the PlaySounds() from the button click event where I had built the name of the file and passed it in as a string.
I suspect that this code is trying to play the sound on the server and not at the client. Is there an easy way to do this? (I am quite new at web applications.)
Go to the complete details ...