<%@ Page Title="" Language="C#" MasterPageFile="~/Wijmo.Master" AutoEventWireup="true" CodeBehind="ColumnsVirtualScrolling.aspx.cs" Inherits="ControlExplorer.C1GridView.ColumnsVirtualScrolling" %>
<%@ Register Assembly="C1.Web.Wijmo.Controls.4" Namespace="C1.Web.Wijmo.Controls.C1GridView" TagPrefix="wijmo" %>

<asp:Content ID="Content1" ContentPlaceHolderID="Head" runat="server">
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
	<asp:ScriptManager runat="server" ID="ScriptManager1"></asp:ScriptManager>
	
	<wijmo:C1GridView ID="C1GridView1" runat="server" Height="400px" Width="800px">
		<CallbackSettings Action="Scrolling" />
		<ScrollingSettings Mode="Both">
			<VirtualizationSettings Mode="Both" /> 
		</ScrollingSettings>
	</wijmo:C1GridView>
</asp:Content>

<asp:Content ID="Content4" ContentPlaceHolderID="Description" runat="server">
  <p>
	The <strong>C1GridView</strong> supports both columns and rows virtual scrolling to speed up rendering when large amount of data is used.

	<p>
		 The following properties are used in this sample:
	</p>
	<ul>
		<li><strong>ScrollingSettings.VirtualizationSettings.Mode</strong> - to enable both the columns and rows virtual scrolling.</li>
		<li><strong>CallbackSettings.Action</strong> - to enable the virtual scrolling mode in which new portions of data items will be requested from the server via callbacks (when this mode is used some features like column grouping are not supported).</li>
	</ul>
  </p>
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="ControlOptions" runat="server">
</asp:Content>
