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

<%@ 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="refres" />
        </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:UpdatePanel ID="updateform" runat="server" UpdateMode="Always">
            <ContentTemplate>
                <telerik:RadGrid ID="grdGalleries" runat="server" AutoGenerateColumns="false" AllowSorting="True" GridLines="None" AllowPaging="True" PageSize="15">
                    <MasterTableView>
                        <ExpandCollapseColumn Visible="False" />
                        <RowIndicatorColumn Visible="False" />
                        <Columns>
                            <telerik:GridBoundColumn DataField="Description" UniqueName="Description">
                                <ItemStyle HorizontalAlign="Left" Width="640" />
                                <HeaderStyle HorizontalAlign="Left" />
                            </telerik:GridBoundColumn>
                        </Columns>
                    </MasterTableView>
                    <ClientSettings AllowColumnHide="false" Selecting-AllowRowSelect="true"
                        Scrolling-AllowScroll="false"
                        Scrolling-UseStaticHeaders="true">
                    </ClientSettings>
                    <ExportSettings ExportOnlyData="True" FileName="Galleries" IgnorePaging="True" OpenInNewWindow="True" />
                </telerik:RadGrid>
                <asp:HiddenField ID="PostBackHidden" runat="server" />
                <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>
