Intersoft WebGrid Documentation
EnableV3XAPISupport Property
See Also  Send Feedback
ISNet.WebUI.WebGrid Namespace > WebGrid Class : EnableV3XAPISupport Property






Gets the value of a property that indicates whether WebGrid V3.x APIs are supported, and enables backward compatibility with V3.x client side API.

Syntax

Visual Basic (Declaration) 
<CategoryAttribute("Behavior")>
<ISNet.Serialization.XmlSerializableAttribute()>
<DescriptionAttribute("Enables backward compatibility with V3.x client side API.")>
<DefaultValueAttribute()>
<NotifyParentPropertyAttribute(True)>
<ISNet.Serialization.BinarySerializableAttribute()>
Public Property EnableV3XAPISupport As Boolean
Visual Basic (Usage)Copy Code
Dim instance As WebGrid
Dim value As Boolean
 
instance.EnableV3XAPISupport = value
 
value = instance.EnableV3XAPISupport
C# 
[CategoryAttribute("Behavior")]
[ISNet.Serialization.XmlSerializableAttribute()]
[DescriptionAttribute("Enables backward compatibility with V3.x client side API.")]
[DefaultValueAttribute()]
[NotifyParentPropertyAttribute(true)]
[ISNet.Serialization.BinarySerializableAttribute()]
public bool EnableV3XAPISupport {get; set;}
Delphi 
public read-write property EnableV3XAPISupport: Boolean; 
JScript 
CategoryAttribute("Behavior")
ISNet.Serialization.XmlSerializableAttribute()
DescriptionAttribute("Enables backward compatibility with V3.x client side API.")
DefaultValueAttribute()
NotifyParentPropertyAttribute()
ISNet.Serialization.BinarySerializableAttribute()
public function get,set EnableV3XAPISupport : boolean
Managed Extensions for C++ 
[CategoryAttribute("Behavior")]
[ISNet.Serialization.XmlSerializableAttribute()]
[DescriptionAttribute("Enables backward compatibility with V3.x client side API.")]
[DefaultValueAttribute()]
[NotifyParentPropertyAttribute(true)]
[ISNet.Serialization.BinarySerializableAttribute()]
public: __property bool get_EnableV3XAPISupport();
public: __property void set_EnableV3XAPISupport( 
   bool value
);
C++/CLI 
[CategoryAttribute("Behavior")]
[ISNet.Serialization.XmlSerializableAttribute()]
[DescriptionAttribute("Enables backward compatibility with V3.x client side API.")]
[DefaultValueAttribute()]
[NotifyParentPropertyAttribute(true)]
[ISNet.Serialization.BinarySerializableAttribute()]
public:
property bool EnableV3XAPISupport {
   bool get();
   void set (    bool value);
}

Example

 

Remarks

Intersoft Solutions has recognized that developers might have several commercial web applications built upon the WebGrid components and might have limited time in converting the client side syntax to the new version.

Therefore every Intersoft Solutions' component new version should be backward compatible, or at least provide a quick way to solve the breaking changes. Fortunately, it’s quite easy to enable the previous version’s client side API support by simply adding the line (shown in the example above) to the web.config (for application-wide configuration). However, it’s highly recommended that developers migrate the existing applications to use the new version’s API for better programmability.

The EnableV3XAPISupport property is set to false by default.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

©2012 Intersoft Solutions Corp. All Rights Reserved.