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



Gets or sets the type of callbacks performed by the PowerWEB control.

Syntax

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

Property Value

A CallbackType that represents the mechanism used for callbacks by the PowerWEB control.

Remarks

The optimal approach is CallbackType.XmlHttp. The first fallback approach is CallbackType.Flash. The final fallback is CallbackType.IFrame.

Defaults to CallbackType.AutoDetect. On the initial page load, CallbackType is set to the most appropriate value based on the browser type detected.

Set to override when auto-detection is insufficient. For example, if the browser has ActiveX turned off, XmlHttp and Flash will fail. However, the PowerWEB controls will not be aware of this, because this setting cannot be detected server-side. A developer can determine if ActiveX is off and set to IFRAME to provide a decent callback approach.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

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