<%@ 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>
<link rel="Stylesheet" type="text/css" href="styles.css" />
<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?key=AIzaSyB9AGdrkxDdrPBf3IGTmXVsWQ6iE-ARAJg&sensor=false"></script>
<script type="text/javascript" src="scripts.js"></script>
</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="HiddenFieldCountries" />
<telerik:AjaxUpdatedControl ControlID="HiddenFieldData" />
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManager>
<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server">
</telerik:RadAjaxLoadingPanel>
<telerik:RadPivotGrid RenderMode="Lightweight" runat="server" ID="RadPivotGrid1" OnNeedDataSource="RadPivotGrid1_NeedDataSource"
AllowSorting="true" AllowPaging="true" EnableToolTips="true"
OnCellDataBound="RadPivotGrid1_CellDataBound">
<Fields>
<telerik:PivotGridColumnField DataField="Country"></telerik:PivotGridColumnField>
<telerik:PivotGridAggregateField DataField="Quantity" Caption="Quantity" UniqueName="Quantity"
Aggregate="Count" DataFormatString="{0:F2}">
</telerik:PivotGridAggregateField>
<telerik:PivotGridRowField DataField="Category" Caption="Category" UniqueName="Category"
DataFormatString="{0:F2}">
</telerik:PivotGridRowField>
</Fields>
</telerik:RadPivotGrid>
<br />
<div id="map"></div>
<asp:HiddenField ID="HiddenFieldCountries" runat="server" />
<asp:HiddenField ID="HiddenFieldData" runat="server" />
</div>
</form>
</body>
</html>