Web Forms :: Play Sound On Button Click?
Feb 8, 2010
Is there any good way of playing a sound when clicking a button on my web page?? It works great on my local mashine but won't work on the server! I don't want any windows media player or any other window to pop up! Just to play a wav sound!
This is the code that works on my local mashine!
[Code]....
View 5 Replies
Similar Messages:
Apr 18, 2010
how to play wave sound and video by asp.net c#
View 2 Replies
Feb 7, 2011
i have tryed belowe code to play sound file and it has working perfectly when i run it in debug mode but after i host it is not working
using IIS 6 and VS 2008
[Code]....
View 7 Replies
Mar 26, 2011
1) user A inputs some data into webpage "a.aspx". When he clicks save button, data is insert into table A and table B.
2) another user B is accessing webpage "b.aspx" or could be away from his desk. To inform user B that he has new incoming data (upon insert into table B from step 1), I was thinking to play a sound to get user B attention that he has new incoming data.
Can I achieve this (play sound) in coding (without interfering with what user B is currently doing)?
View 2 Replies
Nov 22, 2013
how to play .mp3 sound in page load?as background music.
View 1 Replies
Dec 5, 2012
I want to implement sound effect as background in my own website.It should start while opening the website.can u plz give me regarding code in asp.net(c#).
View 1 Replies
Jun 30, 2010
i use vs 2008 ,
i have timer in my web page,at first i use this code to play the sound(i use this
method in other function):
[Code]....
the problem is that sound file is repeated every one second with my timer.
but this problem did not happen if i use cod(NO1)
View 3 Replies
Jun 29, 2010
I have ap age I wrote that is a dashboard, so I have the whole page refresh itself rather frequently so the data doesn't get stale. The guys in our dispatch though who are using have lot's of audible alerts, so they keep their volumes way up, and even if it is in the background, the page makes a noise every time it refreshes, and it is driving some of them nuts I guess.
View 1 Replies
May 24, 2010
how can i add audio play button to play mp3 file
View 3 Replies
Dec 30, 2010
I'm trying to play a WAV file that I generate dynamically in a HTTP handler and setting the NavigateUrl property of HyperLink control:
<asp:HyperLink runat="server" NavigateUrl="~/ServeAudio.ashx" Text="Play Sound" ImageUrl="~/images/speaker_louder_32.png"
ToolTip="Play Sound"></asp:HyperLink>
But when I click on that link, it opens Windows Media Player - I don't want that. I just want the sound to play.
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.
View 1 Replies
May 4, 2010
want animation that whenever user input data in form and click on submit then there play animation please wait
View 2 Replies
Jul 2, 2011
I would like also to know the way to have an embedded video in my site that will not have the play buttons and play again and again. Is there a way to do that??
View 2 Replies
Dec 28, 2010
For example, i browse the web page in browser, at first, i clink "home", home page is show out, then i click the "Contact us", then the "contact us" web page is showing out, BUT the problem is come out when i try to click the home page again, the home page doesn't come out and still at the contact us page...any1 know WHY?Thank you for helping...
View 4 Replies
Mar 27, 2010
On my Search page, I have a search textbox, four drop-down lists and a "Search" button. If I use only the drop-down lists and click the "Search" button, results are immediately returned. However, if I enter text into the textbox and click the "Search" button, nothing happens until I click the "Search" button a SECOND time.The processes that occur for the latter scenario are as follows:Text entered into textbox, and Search button clicked:On FIRST click attempt:
1. Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load for Search.aspx is called
2. Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load for Main.Master.vb is called
3. Process stops! No results
On SECOND click attempt:
1. Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load for Search.aspx is called
2. Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load for Main.Master.vb is called
3. Protected Sub SearchSubmit(ByVal sender As Object, ByVal e As EventArgs) Handles btSearch.Click for Search.aspx is called
4. Search continues and completes.
So, why will the 3rd step not kick in until clicking Search for a second time
[Code]....
If I reach this last Sub, everything else beyond this works fine.
View 3 Replies
Sep 24, 2010
I got the following code with the help of raghav khunger and I wanna add a play and stop button on it to cycle the pictures orderly and stop them. how can I do that?
[Code]....
View 6 Replies
Mar 24, 2011
I have to click twice on button control to fire an event.
View 6 Replies
Oct 25, 2010
i want to add a confirmation msg when click a button to delete my record, i cannot add the on client click msg on design page, due to i need do the checking for the checkbox before pop up the confirmation onclientclick msg.
[Code]....
View 5 Replies
Apr 29, 2010
I find a special circumstances as follows:
My web form contains a postback button. The button will postback and call a server-side method. The method will process something that may spend about 20 seconds. However, user may try to click the button several times within the waiting period. The sequential clicking may cause the first running method incomplete and stop, since the second click postback will dominate the method and start again. How can I solve it?
PS: It can not use client side script to disable the button, because it requires to use some server-side validation within the method.
View 5 Replies
Dec 21, 2010
I want a confirmation password message box on a click button event. if password is correct then it will perform some business rule action. other wise it will show a message you are authorised for it.the button will be server side control at the webpage home.aspx
View 2 Replies
Apr 3, 2010
I have a Master page and a user control on it.and i have a ASP Button on Usercontrol,the has to fire when ever i click on thats the default behaviour ..Now when the home page of my website loads and then i click on the button ,It works perfectly fine but when i navigate to other pages which have same master page the and then click on button the button does no trick!!
View 7 Replies
Feb 19, 2010
is it possible to disable right mouse button click event of a link button. i know to disable it in entire page..but i want to disble it for some controls only.
View 4 Replies
May 13, 2012
I have few controls which r validated for blank on a page having 5 buttons
I want the validation to take place only on save button click & not on any other button
<asp:ValidationSummary ID="ValidationSummary1" HeaderText="You must enter a value in the following fields:"
EnableClientScript="true" ShowMessageBox="true" ShowSummary="false" DisplayMode="BulletList"
runat="server" />
View 1 Replies
Oct 21, 2015
How do i hide button Add after data submission and display button cancel.
View 1 Replies
Jan 10, 2014
I am using a web form in vs2010 and in my form am having a gridview with button on footer. I have written the code to create a new row while click the button. If I click the button i got the following error
"unable to cast object of type 'system.web.ui.webcontrols.textbox' to type 'mysite.textbox"....
Below is the button click code.
private void AddNewRow() {
int rowIndex = 0;
if (ViewState["CurrentTable"] != null) {
dtCurrentTable = (DataTable)ViewState["CurrentTable"];
DataRow drCurrentRow = null;
if (dtCurrentTable.Rows.Count > 0)
[Code] ....
View 1 Replies
Jan 16, 2010
[Code]....
[Code]....
The whole thing is in a form, and it doesnt postback when this button is clicked. Im no good with javascript, but i got a feeling thats not the problem.
View 5 Replies