<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Pivot_Encuesta.aspx.vb" Inherits="SGHweb.Pivot_Encuesta" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Exportar Pivot</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <telerik:RadGrid ID="RadGrid1" runat="server" Culture="es-ES" 
            DataSourceID="SqlDataSource_Exportar" CellSpacing="0" GridLines="None" 
            Skin="Windows7">
            <ExportSettings ExportOnlyData="True" IgnorePaging="True" 
                OpenInNewWindow="True">
            </ExportSettings>
<MasterTableView  DataSourceID="SqlDataSource_Exportar" CommandItemDisplay="Top">
<CommandItemSettings ShowExportToWordButton="true" ShowExportToExcelButton="true"
                ShowExportToCsvButton="true" ShowExportToPdfButton="true" ShowAddNewRecordButton="false"
                 ShowRefreshButton="false"></CommandItemSettings>

<RowIndicatorColumn FilterControlAltText="Filter RowIndicator column">
<HeaderStyle Width="20px"></HeaderStyle>
</RowIndicatorColumn>

<ExpandCollapseColumn Visible="True" 
        FilterControlAltText="Filter ExpandColumn column" Created="True">
<HeaderStyle Width="20px"></HeaderStyle>
</ExpandCollapseColumn>

<EditFormSettings>
<EditColumn FilterControlAltText="Filter EditCommandColumn column"></EditColumn>
</EditFormSettings>

<PagerStyle PageSizeControlType="RadComboBox"></PagerStyle>
</MasterTableView>

<PagerStyle PageSizeControlType="RadComboBox"></PagerStyle>

<FilterMenu EnableImageSprites="False"></FilterMenu>
        </telerik:RadGrid>
    </div>
    <asp:SqlDataSource ID="SqlDataSource_Exportar" runat="server" 
            
        SelectCommand="SWP_Pivot_Encuestas" SelectCommandType="StoredProcedure">
        <SelectParameters>
            <asp:QueryStringParameter DefaultValue="0" Name="encuestaid" 
                QueryStringField="eid" Type="String" />
        </SelectParameters>
    </asp:SqlDataSource>
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
    </telerik:RadScriptManager>
    </form>
</body>
</html>
