<%@ Page Language="c#" AutoEventWireup="false" CodeFile="DefaultCS.aspx.cs" Inherits="Telerik.PivotGrid.Examples.DragDropFields.DefaultCS" %>
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<!DOCTYPE html>
<html xmlns='http://www.w3.org/1999/xhtml'>
<head runat="server">
<title>Telerik ASP.NET Example</title>
</head>
<body>
<form id="form1" runat="server">
<telerik:RadScriptManager runat="server" ID="RadScriptManager1" />
<telerik:RadSkinManager ID="RadSkinManager1" runat="server" ShowChooser="true" />
<div class="demo-container no-bg">
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" DefaultLoadingPanelID="RadAjaxLoadingPanel1">
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="RadPivotGrid1">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="RadPivotGrid1" />
<telerik:AjaxUpdatedControl ControlID="RadHtmlChart1" />
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManager>
<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server">
</telerik:RadAjaxLoadingPanel>
<telerik:RadPivotGrid RenderMode="Lightweight" runat="server" ID="RadPivotGrid1" AllowFiltering="true" OnNeedDataSource="RadPivotGrid1_NeedDataSource"
EnableZoneContextMenu="true" AllowSorting="true" AllowPaging="true"
OnCellDataBound="RadPivotGrid1_CellDataBound" EmptyValue="0">
<Fields>
<telerik:PivotGridRowField DataField="Year">
</telerik:PivotGridRowField>
<telerik:PivotGridColumnField DataField="ProductName">
</telerik:PivotGridColumnField>
<telerik:PivotGridAggregateField DataField="TotalPrice" Aggregate="Sum" DataFormatString="{0:C}">
</telerik:PivotGridAggregateField>
</Fields>
<ClientSettings EnableFieldsDragDrop="true">
</ClientSettings>
</telerik:RadPivotGrid>
<br />
<br />
<telerik:RadHtmlChart ID="RadHtmlChart1" runat="server" Visible="true" Legend-Appearance-Position="Top"
PlotArea-YAxis-LabelsAppearance-DataFormatString="C" PlotArea-XAxis-LabelsAppearance-RotationAngle="45">
</telerik:RadHtmlChart>
</div>
</form>
</body>
</html>