<%@ Page Language="vb" AutoEventWireup="false" MasterPageFile="~/WFAdmin/AdmMaster.Master" CodeBehind="Poll.aspx.vb" Inherits="WebFoundations.WFPortal.BaseModules.UI.Poll"
    Title="Untitled Page" %>

<%@ Register Src="~/WFControls/WFPagePicker.ascx" TagName="WFPagePicker" TagPrefix="uc1" %>
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<%@ Register TagPrefix="wff" Namespace="WebFoundations.ServerControls" Assembly="WebFoundations.ServerControls" %>

<asp:Content ContentPlaceHolderID="ActionContent" runat="server">
    <ul>
        <li>
            <asp:HyperLink ID="lnkadd" runat="server" CssClass="add" />
        </li>
        <li>
            <asp:HyperLink ID="lnkedit" runat="server" CssClass="edit" />
        </li>
        <li>
            <asp:HyperLink ID="lnkdelete" runat="server" CssClass="delete" />
        </li>
        <li>
            <asp:HyperLink ID="lnkrefresh" runat="server" CssClass="refresh" />
        </li>
        <li>
            <asp:LinkButton ID="lnkExport" runat="server" CssClass="export" />
        </li>
    </ul>

</asp:Content>

<asp:Content ContentPlaceHolderID="FilterContent" runat="server">
    <uc1:WFPagePicker ID="portalpicker" runat="server" Width="199" AddSelect="false"
        AdminMode="true" AutoSelectLast="true" ShowArea="true" ShowPage="false" NoLabels="false" />
    <asp:Button ID="btnbuscar" runat="server" CssClass="search" ValidationGroup="SEARCH" />
</asp:Content>

<asp:Content ContentPlaceHolderID="MainContent" runat="server">
    <div>
        <asp:UpdateProgress ID="UpdateProgress1" runat="server" AssociatedUpdatePanelID="updateform">
            <ProgressTemplate>
                <div class="up-loading"></div>
            </ProgressTemplate>
        </asp:UpdateProgress>
        <asp:UpdatePanel ID="updateform" runat="server" UpdateMode="Always">
            <ContentTemplate>
                <telerik:RadGrid ID="grdPoll" runat="server"
                    AutoGenerateColumns="false"
                    AllowSorting="True"
                    GridLines="None" AllowPaging="True"
                    PageSize="15">
                    <MasterTableView>
                        <ExpandCollapseColumn Visible="False">
                            <HeaderStyle Width="19px" />
                        </ExpandCollapseColumn>
                        <RowIndicatorColumn Visible="False">
                            <HeaderStyle Width="20px" />
                        </RowIndicatorColumn>
                        <Columns>
                            <telerik:GridBoundColumn DataField="Question" HeaderText="Question" UniqueName="Question">
                                <ItemStyle HorizontalAlign="Left" Width="640" />
                                <HeaderStyle HorizontalAlign="Left" />
                            </telerik:GridBoundColumn>
                        </Columns>
                    </MasterTableView>
                    <ClientSettings AllowColumnsReorder="True">
                        <Selecting AllowRowSelect="True" />
                        <Scrolling AllowScroll="True" UseStaticHeaders="True" />
                    </ClientSettings>
                    <ExportSettings ExportOnlyData="True" FileName="Locations" IgnorePaging="True" OpenInNewWindow="True" />
                </telerik:RadGrid>
                <asp:HiddenField ID="PostBackHidden" runat="server"></asp:HiddenField>
                <asp:HiddenField ID="AreaId" runat="server" />
            </ContentTemplate>
        </asp:UpdatePanel>
    </div>
    <wff:WindowManager ID="EditWindow" runat="server">
        <Windows>
            <telerik:RadWindow ID="EditDialog" runat="server" Height="600px" Width="950px" ReloadOnShow="true" Modal="true" />
        </Windows>
    </wff:WindowManager>
</asp:Content>
