<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="../PA2Master.master" CodeBehind="~/PatientAccess/Documents/DocumentList.aspx.cs" Inherits="Axium.Web.Documents.DocumentList" %>
<%@ MasterType VirtualPath="../PA2Master.master" %> 
<%@ Register Src="~/PatientAccess/Controls/DocumentList.ascx" TagPrefix="ax" TagName="DocumentList" %>
<%@ Register Src="~/PatientAccess/Controls/Pagination.ascx" TagPrefix="ax" TagName="Pagination" %>
<%@ Register TagPrefix="axi" TagName="Copyright" Src="~/PatientAccess/Controls/CopyrightControl.ascx" %>

<asp:Content ID="HeaderContent" ContentPlaceHolderID="Header" runat="server">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>
    <link rel="stylesheet" href="../Includes/Css/PA2.0/DocumentList.css">
    <link rel="stylesheet" href="../Includes/Css/PA2.0/PaCards.css">
    <script src="../Includes/Scripts/downloadDocument.js" type="text/javascript"></script>
    <script src="../Includes/Scripts/PA2.0/DocumentList.js" type="text/javascript"></script>
    <script src="../Includes/Scripts/FileSaver.js" type="text/javascript"></script>
</asp:Content>


<asp:Content ID="ContainerContent" ContentPlaceHolderID="Container" runat="server">
    <form runat="server" class="form-container">
        <input id="hdnPatientId" type="hidden" runat="server"/>
        <asp:HiddenField ID="HdnDownloadedDocumentId" runat="server" ClientIDMode="Static" />
        <div id="DocumentList" class="container pl-0 ml-0 bg-transparent">
            <asp:ScriptManager ID="ScriptManager" runat="server"></asp:ScriptManager>
            <div id="main-container" class="">
                <asp:Repeater runat="server" ID="DocumentListRepeater" OnItemDataBound="DataBound">
                    <ItemTemplate>
                        <ax:DocumentList runat="server" ID="DocumentList"/>
                    </ItemTemplate>
                </asp:Repeater>
                <asp:Panel ID="NoItem" runat="server" CssClass="noItem"></asp:Panel>
                <asp:HiddenField runat="server" ID="FileContent" clientIdmode="Static" Value="0" />       
            </div>
         </div>
    <ax:Pagination ID="Pagination" runat="server" />
    </form>
    <axi:Copyright ID="Copyright" runat="server" />
</asp:Content>
