<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="ViewUploadDocuments.aspx.vb" Inherits="FinIQWebApp.ViewUploadDocuments" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <style>
        .visibility {
        display:none !important;
        }
    </style>

    <link href="../App_Themes/Style1.css" rel="stylesheet" />
</head>
    
<body>
    <form id="form1" runat="server">

           <div style="height:50px;margin-left:3px">
        <asp:Label ID="lbl" runat="server" CssClass="lbl" ForeColor="#333333"  Font-Size="14px" Text ="Following documents are attached:"></asp:Label>
    </div>
          <div>
        <asp:Label ID="lblerror" runat="server" CssClass="lblerror" Text=""></asp:Label>
    </div>
            <div>
    

        <table>
               <tr>
                 <td style="text-align:center; width: 451px;">  
                   
                     <asp:GridView ID="GridViewAttachedDocument" CssClass ="Grid " runat="server" AutoGenerateColumns="false" EmptyDataText = "No files uploaded" Width="650px">
     <RowStyle CssClass="GridItem" />
                                <HeaderStyle CssClass="GridHeader" />
                                <FooterStyle CssClass="GridFooter" />
                                <PagerStyle CssClass="GridPager" />
                         <Columns>
        <asp:BoundField   DataField ="SrNo" HeaderText="Sr. No." />
       <%-- <asp:BoundField DataField="DGT_ID" HeaderText="Attched Document Id"  Visible="true" />--%>
         <asp:BoundField DataField="DGT_ID" HeaderText="Attached Document Id" ItemStyle-CssClass="visibility" HeaderStyle-CssClass="visibility" ControlStyle-CssClass="visibility"   />
        <asp:BoundField   DataField ="VersionDetails" HeaderText="Version Details" />
        <asp:BoundField   DataField ="AttachedBy" HeaderText="Attached By" />
        <asp:BoundField   DataField ="AttachedAt" HeaderText="Attached At" />
        <asp:TemplateField>
            <ItemTemplate>
                <asp:LinkButton ID="lnkDownload" Text = "View Termsheet"  runat="server" CommandArgument='<%# Container.DataItemIndex %>'  CommandName="DownLoad"   ></asp:LinkButton> 
         </ItemTemplate>
        </asp:TemplateField>
       
    </Columns>
</asp:GridView>
   
                 </td>       
            </tr>
        </table> 

    </div>
    </form>
</body>
</html>
