Request.Browser.ActiveXControls: client supports activex? (VB.net) : Browser « Request « ASP.Net






Request.Browser.ActiveXControls: client supports activex? (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>
           
       








Related examples in the same category

1.Assign value to browser title bar (C#)
2.Use Browser property in Request object (C#)
3.Is your browser a beta one (VB.net)
4.Browser name, major version and minor version (VB.net)
5.Request.Browser.Frames: browser supports frames (VB.net)
6.Check Browser version and vendor(C#)
7.Check Browser version and name (VB.net)
8.Get Browser Information: AOL, JavaScript enabled, Browser type and tables enabled (VB.net)