Dart.PowerWEB.TextBox Namespace > HtmlBox Class : ErrorBehavior Property (HtmlBox) |
Gets or sets how errors are handled by the control.
[Visual Basic]
<DescriptionAttribute("Determines how unhandled exceptions are handled in a callback.")>
<DefaultValueAttribute()>
<CategoryAttribute("Behavior")>
Public Property ErrorBehavior As ErrorBehavior
[C#]
[DescriptionAttribute("Determines how unhandled exceptions are handled in a callback.")]
[DefaultValueAttribute()]
[CategoryAttribute("Behavior")]
public ErrorBehavior ErrorBehavior {get; set;}
[C++]
[DescriptionAttribute("Determines how unhandled exceptions are handled in a callback.")]
[DefaultValueAttribute()]
[CategoryAttribute("Behavior")]
public: __property ErrorBehavior get_ErrorBehavior();
public: __property void set_ErrorBehavior(
ErrorBehavior value
);
[C++/CLI]
[DescriptionAttribute("Determines how unhandled exceptions are handled in a callback.")]
[DefaultValueAttribute()]
[CategoryAttribute("Behavior")]
public:
property ErrorBehavior ErrorBehavior {
ErrorBehavior get();
void set (ErrorBehavior value);
}
An ErrorBehavior enumerated value. Defaults to ErrorBehavior.ShowInBrowser.
Set ErrorBehavior to specify whether an exception raised by the PowerWEB control should cause an error page, an alert box, or no indication to appear.
If set to ErrorBehavior.ShowAlert, set the alert message using the ErrorMessage property.
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.