Dart.PowerWEB.TextBox Namespace > HtmlBox Class : CompatibleBrowser Property |
Gets a value indicating if the browser was detected to be compatible with the HtmlBox.
[Visual Basic]
<BrowsableAttribute(False)>
<DescriptionAttribute("Returns a value which indicates whether or not the browser was detected as compatible with the HtmlBox.")>
Public ReadOnly Property CompatibleBrowser As Boolean
[C#]
[BrowsableAttribute(false)]
[DescriptionAttribute("Returns a value which indicates whether or not the browser was detected as compatible with the HtmlBox.")]
public bool CompatibleBrowser {get;}
[C++]
[BrowsableAttribute(false)]
[DescriptionAttribute("Returns a value which indicates whether or not the browser was detected as compatible with the HtmlBox.")]
public: __property bool get_CompatibleBrowser();
[C++/CLI]
[BrowsableAttribute(false)]
[DescriptionAttribute("Returns a value which indicates whether or not the browser was detected as compatible with the HtmlBox.")]
public:
property bool CompatibleBrowser {
bool get();
}
NOTE. This property has been superceded by HtmlBox.DetectedBrowserType and is available for backwards compatibility only. It returns a value based off od the value of DetectedBrowserType.
The editor is compatible with IE 5.5+ and Mozilla 1.3+. For all other browser types, this property will return false. Check this property if you need to take any specific action within your web page based on whether the HtmlBox will be rendered.
The HtmlBox control has automatic support for downlevel (non-compatible) browsers, which is controlled by the HtmlBox.DownlevelMode property. Set the HtmlBox.DownlevelMode property to DownlevelMode.Label to render a label to the user (accessable via the HtmlBox.DownlevelLabel property). This is useful for displaying a message to your non-compatible users such as "Upgrade your browser to IE 5.5+ or Mozilla 1.3+". Set the HtmlBox.DownlevelMode property to DownlevelMode.TextArea (the default value) to render an textarea to the user (accessable via the HtmlBox.DownlevelTextBox property). This will render an HTML textarea element, which will allow them to enter and post text just like the HtmlBox, with the exception that the text is plain text.
Platforms: Windows 98, Windows NT 4.0, Windows ME, Windows 2000, Windows XP, Windows Server 2003, Windows Vista
HtmlBox Class | HtmlBox Members
Send comments on this topic.
Documentation version 3.2.0.0.
© 2009 Dart Communications. All rights reserved.