PowerWEB LiveControls for ASP.NET
BrowserType Property
See Also  Send comments on this topic.
Dart.LiveControls Namespace > LiveImage Class : BrowserType Property



Gets or sets the type of browser as detected by the PowerWEB control.

Syntax

Visual Basic (Declaration) 
<DefaultValueAttribute()>
<BrowsableAttribute(False)>
Public Property BrowserType As BrowserType
Visual Basic (Usage)Copy Code
Dim instance As LiveImage
Dim value As BrowserType
 
instance.BrowserType = value
 
value = instance.BrowserType
C# 
[DefaultValueAttribute()]
[BrowsableAttribute(false)]
public BrowserType BrowserType {get; set;}
C++/CLI 
[DefaultValueAttribute()]
[BrowsableAttribute(false)]
public:
property BrowserType BrowserType {
   BrowserType get();
   void set (    BrowserType value);
}

Property Value

A BrowserType that represents the browser rendering the PowerWEB control.

Remarks

This property is set when the PowerWEB control is initialized, based on the user-agent header sent by the browser. BrowserType can also be set to override the detected value with a custom browser detection algorithm.

Note This property is global to all PowerWEB controls. Any change to an individual PowerWEB control will automatically be applied to all PowerWEB controls on the form. It is not possible to have PowerWEB controls with different BrowserType values on the same form.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

Documentation Version 4.0.2
© 2012 Dart Communications. All Rights Reserved.