在asp.net中的gridview的行更新上播放声音 [英] Play sound on a row update of a gridview in asp.net

查看:76
本文介绍了在asp.net中的gridview的行更新上播放声音的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我想在gridview的每一行更新中播放提示音,以通知更新.我在HTML5中尝试了音频标签.但是它也显示播放器.我只想要声音.

Hi,
I want to play a beep sound in each row update of a gridview to notify the updations. I tried audio tag in HTML5. But it displays the player also. I want only a sound. Is their any methods to implement this?

推荐答案

这是播放声音的方法:
http://www.w3schools.com/html/html_sounds.asp [
This is how you can play the sound:
http://www.w3schools.com/html/html_sounds.asp[^].

Quite apparently, you want to do it on the client side, hence JavaScript.

However, don''t do it. It will irritate most users.

—SA


这篇关于在asp.net中的gridview的行更新上播放声音的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆