Click here to Skip to main content
15,889,595 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: About using MsgBox() in web Pin
Ali Al Omairi(Abu AlHassan)4-Mar-11 11:32
professionalAli Al Omairi(Abu AlHassan)4-Mar-11 11:32 
GeneralRe: About using MsgBox() in web Pin
Pete O'Hanlon3-Mar-11 5:59
mvePete O'Hanlon3-Mar-11 5:59 
GeneralRe: About using MsgBox() in web Pin
Ali Al Omairi(Abu AlHassan)4-Mar-11 11:24
professionalAli Al Omairi(Abu AlHassan)4-Mar-11 11:24 
GeneralRe: About using MsgBox() in web Pin
Pete O'Hanlon5-Mar-11 10:03
mvePete O'Hanlon5-Mar-11 10:03 
GeneralRe: About using MsgBox() in web Pin
Ali Al Omairi(Abu AlHassan)6-Mar-11 1:52
professionalAli Al Omairi(Abu AlHassan)6-Mar-11 1:52 
GeneralRe: About using MsgBox() in web Pin
Bernhard Hiller3-Mar-11 20:31
Bernhard Hiller3-Mar-11 20:31 
GeneralRe: About using MsgBox() in web Pin
Ali Al Omairi(Abu AlHassan)4-Mar-11 11:35
professionalAli Al Omairi(Abu AlHassan)4-Mar-11 11:35 
QuestionUnable to play sound using Object tag in ASP.NET Pin
AmbiguousName2-Mar-11 10:37
AmbiguousName2-Mar-11 10:37 
hello guys.. I have a gridview in which I show wave file paths and a button control to Play them. Now everything is fine like im getting records (using RowCommand function of GridView) and showing paths. But I am unable to play the sound. I am using <object> tag embedded in ASP.NET using Literal control. Here is what I am doing.
<script runat="server">
      void OnRowCommand(object sender, GridViewCommandEventArgs e)
      {
          if (e.CommandName.Equals("Play Now"))
          {
              int index = Convert.ToInt32(e.CommandArgument); //this will get rowid from gridview
              GridViewRow row = gridCalls.Rows[index];
              txt1.Text = row.Cells[5].Text; // second column in the sql server database

              this.myLiteral.Text = "<html><body><object>";
              this.myLiteral.Text += "<param name='autostart' value='true'>";
              this.myLiteral.Text += "<param name='src' value='Likh Raha.mp3'>";
              this.myLiteral.Text += "<param name='autoplay' value='true'>";
              this.myLiteral.Text += "<param name='controller' value='true'>";
              this.myLiteral.Text += "<embed src='Likh Raha.mp3' controller='true' autoplay='true' autostart='True' type='audio/wav' />";
              this.myLiteral.Text += "</object></body></html>";
          }
      }
  </script>

AnswerRe: Unable to play sound using Object tag in ASP.NET Pin
JV99993-Mar-11 4:41
professionalJV99993-Mar-11 4:41 
QuestionBase64 converter Pin
swissmiss862-Mar-11 10:14
swissmiss862-Mar-11 10:14 
AnswerRe: Base64 converter Pin
TheGreatAndPowerfulOz2-Mar-11 11:58
TheGreatAndPowerfulOz2-Mar-11 11:58 
GeneralRe: Base64 converter Pin
swissmiss863-Mar-11 5:33
swissmiss863-Mar-11 5:33 
QuestionSession- passing and changing value between forms Pin
jaffa2-Mar-11 5:08
jaffa2-Mar-11 5:08 
AnswerRe: Session- passing and changing value between forms Pin
Piccadilly Yum Yum3-Mar-11 4:00
Piccadilly Yum Yum3-Mar-11 4:00 
QuestionAccess is denied while going to create folder in program file through vb.net Pin
Hesmsys2-Mar-11 0:45
Hesmsys2-Mar-11 0:45 
AnswerRe: Access is denied while going to create folder in program file through vb.net Pin
phil.o2-Mar-11 1:57
professionalphil.o2-Mar-11 1:57 
AnswerRe: Access is denied while going to create folder in program file through vb.net Pin
Bernhard Hiller2-Mar-11 4:09
Bernhard Hiller2-Mar-11 4:09 
AnswerRe: Access is denied while going to create folder in program file through vb.net Pin
MikkelAndersen2-Mar-11 4:24
MikkelAndersen2-Mar-11 4:24 
QuestionFORM Submit email not working using ASP Pin
GreatScott11-Mar-11 14:03
GreatScott11-Mar-11 14:03 
AnswerRe: FORM Submit email not working using ASP Pin
pmpdesign2-Mar-11 18:27
pmpdesign2-Mar-11 18:27 
AnswerRe: FORM Submit email not working using ASP Pin
Om Prakash Pant7-Mar-11 18:26
Om Prakash Pant7-Mar-11 18:26 
QuestionHandling milliseconds in .Net Pin
indian1431-Mar-11 5:32
indian1431-Mar-11 5:32 
AnswerRe: Handling milliseconds in .Net Pin
Viral Upadhyay1-Mar-11 8:17
Viral Upadhyay1-Mar-11 8:17 
AnswerRe: Handling milliseconds in .Net Pin
meeram3952-Mar-11 0:22
meeram3952-Mar-11 0:22 
QuestionUploading photos to Flickr Pin
yetrus1-Mar-11 2:47
yetrus1-Mar-11 2:47 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.