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



Gets or sets the message that is displayed if an error occurs and ErrorBehavior is ErrorBehavior.ShowAlert.

Syntax

Visual Basic (Declaration) 
<DescriptionAttribute("The message that is displayed when ErrorBehavior is ShowAlert.")>
<CategoryAttribute("Behavior")>
<DefaultValueAttribute()>
Public Property ErrorMessage As String
Visual Basic (Usage)Copy Code
Dim instance As LiveImageButton
Dim value As String
 
instance.ErrorMessage = value
 
value = instance.ErrorMessage
C# 
[DescriptionAttribute("The message that is displayed when ErrorBehavior is ShowAlert.")]
[CategoryAttribute("Behavior")]
[DefaultValueAttribute()]
public string ErrorMessage {get; set;}
C++/CLI 
[DescriptionAttribute("The message that is displayed when ErrorBehavior is ShowAlert.")]
[CategoryAttribute("Behavior")]
[DefaultValueAttribute()]
public:
property String^ ErrorMessage {
   String^ get();
   void set (    String^ value);
}

Property Value

A message to display when an error occurs.

Remarks

Set ErrorMessage to specify the contents of the Alert. Alternatively, set ErrorBehavior to ErrorBehavior.ShowInBrowser to see specific error information.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

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