Intersoft WebCombo Documentation
UseCachedDataOnFirstLoad Property
See Also  Send Feedback
ISNet.WebUI.WebCombo Namespace > WebCombo Class : UseCachedDataOnFirstLoad Property






Specifies whether the cached data source will always be used on first page load. Specifies whether the cached data source will always be used on first page load.

Syntax

Visual Basic (Declaration) 
<DefaultValueAttribute()>
<ISNet.Serialization.XmlSerializableAttribute()>
<ISNet.Serialization.BinarySerializableAttribute()>
<NotifyParentPropertyAttribute(True)>
<CategoryAttribute("Data")>
<DescriptionAttribute("Specifies whether the cached data source will always be used on first page load.")>
Public Property UseCachedDataOnFirstLoad As Boolean
Visual Basic (Usage)Copy Code
Dim instance As WebCombo
Dim value As Boolean
 
instance.UseCachedDataOnFirstLoad = value
 
value = instance.UseCachedDataOnFirstLoad
C# 
[DefaultValueAttribute()]
[ISNet.Serialization.XmlSerializableAttribute()]
[ISNet.Serialization.BinarySerializableAttribute()]
[NotifyParentPropertyAttribute(true)]
[CategoryAttribute("Data")]
[DescriptionAttribute("Specifies whether the cached data source will always be used on first page load.")]
public bool UseCachedDataOnFirstLoad {get; set;}
Delphi 
public read-write property UseCachedDataOnFirstLoad: Boolean; 
JScript 
DefaultValueAttribute()
ISNet.Serialization.XmlSerializableAttribute()
ISNet.Serialization.BinarySerializableAttribute()
NotifyParentPropertyAttribute()
CategoryAttribute("Data")
DescriptionAttribute("Specifies whether the cached data source will always be used on first page load.")
public function get,set UseCachedDataOnFirstLoad : boolean
Managed Extensions for C++ 
[DefaultValueAttribute()]
[ISNet.Serialization.XmlSerializableAttribute()]
[ISNet.Serialization.BinarySerializableAttribute()]
[NotifyParentPropertyAttribute(true)]
[CategoryAttribute("Data")]
[DescriptionAttribute("Specifies whether the cached data source will always be used on first page load.")]
public: __property bool get_UseCachedDataOnFirstLoad();
public: __property void set_UseCachedDataOnFirstLoad( 
   bool value
);
C++/CLI 
[DefaultValueAttribute()]
[ISNet.Serialization.XmlSerializableAttribute()]
[ISNet.Serialization.BinarySerializableAttribute()]
[NotifyParentPropertyAttribute(true)]
[CategoryAttribute("Data")]
[DescriptionAttribute("Specifies whether the cached data source will always be used on first page load.")]
public:
property bool UseCachedDataOnFirstLoad {
   bool get();
   void set (    bool value);
}

Remarks

The default value of this property is False, which means WebGrid disable the use cached data on first load. When set to True, InitializeDataSource event will not be fired even on first page load if the DataSource is still in cache. Set this property to True will improve the performance significantly and is highly recommended for page that display static/unconditional data, such as all customers data. For page that displays grid data based on a condition or criteria, it is best to set this property to False.

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.