Check whether the browser supports playing background sounds using the HTML element.

Chikul
Posted by Chikul under ASP.NET category on | Views : 1600
    Protected Sub btnWindowsOS_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnWindowsOS.Click
'Check whether the browser supports playing background sounds using the <bgsounds> HTML element.
If Request.Browser.BackgroundSounds = True Then
Label1.Text &= "<br /><br />Background Sounds supported "
Else
Label1.Text &= "<br /><br />Background Sounds not supported "
End If
End Sub

Comments or Responses

Login to post response