Check whether the browser supports HTML frames or not.

Chikul
Posted by Chikul under ASP.NET category on | Views : 1453
    Protected Sub btnBrowser_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnBrowser.Click
Label1.Text = ""
'Check whether the browser supports HTML frames or not.
If Request.Browser.Frames = True Then
Label1.Text &= "<br /><br />Frames are supported "
Else
Label1.Text &= "<br /><br />Frames are not supported "
End If

End Sub

Comments or Responses

Login to post response