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






Specify the number of rows to retrieve when PagingMode is set to VirtualLoad.

Syntax

Visual Basic (Declaration) 
<DefaultValueAttribute()>
<DescriptionAttribute("Specify the number of rows to retrieve when PagingMode is set to VirtualLoad")>
<ISNet.Serialization.XmlSerializableAttribute()>
<ISNet.Serialization.BinarySerializableAttribute()>
<NotifyParentPropertyAttribute(True)>
Public Property VirtualPageSize As Integer
Visual Basic (Usage)Copy Code
Dim instance As LayoutSet
Dim value As Integer
 
instance.VirtualPageSize = value
 
value = instance.VirtualPageSize
C# 
[DefaultValueAttribute()]
[DescriptionAttribute("Specify the number of rows to retrieve when PagingMode is set to VirtualLoad")]
[ISNet.Serialization.XmlSerializableAttribute()]
[ISNet.Serialization.BinarySerializableAttribute()]
[NotifyParentPropertyAttribute(true)]
public int VirtualPageSize {get; set;}
Delphi 
public read-write property VirtualPageSize: Integer; 
JScript 
DefaultValueAttribute()
DescriptionAttribute("Specify the number of rows to retrieve when PagingMode is set to VirtualLoad")
ISNet.Serialization.XmlSerializableAttribute()
ISNet.Serialization.BinarySerializableAttribute()
NotifyParentPropertyAttribute()
public function get,set VirtualPageSize : int
Managed Extensions for C++ 
[DefaultValueAttribute()]
[DescriptionAttribute("Specify the number of rows to retrieve when PagingMode is set to VirtualLoad")]
[ISNet.Serialization.XmlSerializableAttribute()]
[ISNet.Serialization.BinarySerializableAttribute()]
[NotifyParentPropertyAttribute(true)]
public: __property int get_VirtualPageSize();
public: __property void set_VirtualPageSize( 
   int value
);
C++/CLI 
[DefaultValueAttribute()]
[DescriptionAttribute("Specify the number of rows to retrieve when PagingMode is set to VirtualLoad")]
[ISNet.Serialization.XmlSerializableAttribute()]
[ISNet.Serialization.BinarySerializableAttribute()]
[NotifyParentPropertyAttribute(true)]
public:
property int VirtualPageSize {
   int get();
   void set (    int value);
}

Remarks

One of WebGrid's key feature is its ability to retrieve data on demand. This property work in conjunction when PagingMode is set to VirtualLoad. The VirtualLoad feature enables the control to transparently retrieve more data that defined in this property as users scroll forward.

VirtualLoad paging mode is designed to work best in large DataSource web applications with performance as its key design consideration.

Default value is 50.

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.