TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
prashant indapure
NA
19
0
Play audio on button Click event in asp.net web form?
Sep 4 2009 1:22 AM
Hi friend
I want play audio file on button click event..
I write code below which not play audio file .It just fire button event.
protected void Button1_Click1(object sender, EventArgs e)
{
System.Text.StringBuilder sb = new System.Text.StringBuilder();
string src = "D:\\wav Files\\aadar.wav";
//for IE
sb.Append("<object classid='clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95'");
sb.Append("<param name='FileName' value='" + src + "'>");
sb.Append("<param name='AutoStart' value='" + 1 + "'>");
sb.Append("</object>");
Response.Write(sb.ToString());
}
can anyone tell whats wring with this code.
Thanks and Regards
pash
Reply
Answers (
0
)
How can get control ID when it is within UpdatePanel, and original its visible is false?
Mvc