Check whether the Browser Supports ActiveX controls or Not in ASP Dot Net

Chikul
Posted by Chikul under ASP.NET category on | Views : 2329
whether the Browser Supports ActiveX controls or Not

    Protected Sub btnWindowsOS_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnWindowsOS.Click

If Request.Browser.ActiveXControls = True Then
Label1.Text = "<br /><br />This browser supports Active X Controls"
End If

End Sub

Comments or Responses

Login to post response