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






Specifies whether the preview row should be loaded on demand.

Syntax

Visual Basic (Declaration) 
<DescriptionAttribute("Specifies whether the preview row should be loaded on demand.")>
<ISNet.Serialization.XmlSerializableAttribute()>
<DefaultValueAttribute()>
<NotifyParentPropertyAttribute(True)>
<ISNet.Serialization.BinarySerializableAttribute()>
Public Property LoadOnDemand As Boolean
Visual Basic (Usage)Copy Code
Dim instance As PreviewRowSettings
Dim value As Boolean
 
instance.LoadOnDemand = value
 
value = instance.LoadOnDemand
C# 
[DescriptionAttribute("Specifies whether the preview row should be loaded on demand.")]
[ISNet.Serialization.XmlSerializableAttribute()]
[DefaultValueAttribute()]
[NotifyParentPropertyAttribute(true)]
[ISNet.Serialization.BinarySerializableAttribute()]
public bool LoadOnDemand {get; set;}
Delphi 
public read-write property LoadOnDemand: Boolean; 
JScript 
DescriptionAttribute("Specifies whether the preview row should be loaded on demand.")
ISNet.Serialization.XmlSerializableAttribute()
DefaultValueAttribute()
NotifyParentPropertyAttribute()
ISNet.Serialization.BinarySerializableAttribute()
public function get,set LoadOnDemand : boolean
Managed Extensions for C++ 
[DescriptionAttribute("Specifies whether the preview row should be loaded on demand.")]
[ISNet.Serialization.XmlSerializableAttribute()]
[DefaultValueAttribute()]
[NotifyParentPropertyAttribute(true)]
[ISNet.Serialization.BinarySerializableAttribute()]
public: __property bool get_LoadOnDemand();
public: __property void set_LoadOnDemand( 
   bool value
);
C++/CLI 
[DescriptionAttribute("Specifies whether the preview row should be loaded on demand.")]
[ISNet.Serialization.XmlSerializableAttribute()]
[DefaultValueAttribute()]
[NotifyParentPropertyAttribute(true)]
[ISNet.Serialization.BinarySerializableAttribute()]
public:
property bool LoadOnDemand {
   bool get();
   void set (    bool value);
}

Remarks

In WebGrid.NET v5.0, users can configure WebGrid to skip row rendering in first load to reduce initial page output size. In this scenario, the preview row Expanded state is automatically set to False (Collapse). The preview row data will be retrieved through AJAX callback when you clicked on the expand icon.

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.