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



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

Syntax

Visual Basic (Declaration) 
<BrowsableAttribute(False)>
<DefaultValueAttribute()>
Public Property CallbackType As CallbackType
Visual Basic (Usage)Copy Code
Dim instance As LiveHyperLink
Dim value As CallbackType
 
instance.CallbackType = value
 
value = instance.CallbackType
C# 
[BrowsableAttribute(false)]
[DefaultValueAttribute()]
public CallbackType CallbackType {get; set;}
C++/CLI 
[BrowsableAttribute(false)]
[DefaultValueAttribute()]
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.