Request.Browser.Frames: browser supports frames (VB.net)
<%@ Page Language="vb" %> <html> <head> <title>ClientTarget property example</title> <script runat="server"> Sub Page_Load() Page.ClientTarget = "downlevel" Message.Text = "Page is set to render for the " & _ Page.ClientTarget & " alias.<br/>" Message.Text &= "Supported features:<br/>" Message.Text &= " - JavaScript: " & _ Request.Browser.JavaScript & "<br/>" Message.Text &= " - ActiveX Controls: " & _ Request.Browser.ActiveXControls & "<br/>" Message.Text &= " - Frames: " & _ Request.Browser.Frames & "<br/>" End Sub </script> </head> <body> <asp:label id="Message" runat="server"/> </body> </html>