<%@ Page Language="VB" MasterPageFile="~/Site.master" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="CharterFileManagement_Default" %>

<%@ Register Src="Controls/Header.ascx" TagName="Header" TagPrefix="uc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="adminPageBody" Runat="Server">

    <link href="StyleSheet.css" type="text/css" rel="Stylesheet" />

    <div>
        <uc1:Header ID="Header1" runat="server" />
        <br />
        <table>
            <tr>
                <td colspan="2">
                    <asp:Label ID="binaryFileType" runat="server" Text="File Type:" Font-Bold="True"></asp:Label>&nbsp;&nbsp;
                    <asp:DropDownList ID="ddlBinaryFileType" runat="server" AutoPostBack="true">
                        <asp:ListItem Text="Flash" Value="Flash" Selected="True"></asp:ListItem>
                        <asp:ListItem Text="XML" Value="XML"></asp:ListItem>
                        <%--<asp:ListItem Text="FLV" Value="FLV"></asp:ListItem>--%>
                    </asp:DropDownList><br /><br />
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <asp:Label ID="fileListLabel" runat="server" Text="Existing Flash Files" Font-Bold="True"></asp:Label><br />
                </td>
            </tr>
            <tr>
                <td>
                    <asp:ListBox ID="fileListBox" runat="server" Rows="10" AutoPostBack="true"></asp:ListBox>
                    <asp:Label ID="lblViewSelectedFile" runat="server" Text="" Visible="true"></asp:Label>
                    <asp:Button ID="btnSiteSettings" runat="server" Text="Reset Cache'"  ToolTip="USE VERY SPARINGLY! Use this button after you update a file.  Beware since this button resets the Cache' on the whole site, there are performance issues with doing this."/><br />
                    <asp:Button ID="deleteButton" runat="server" EnableTheming="True" Text="Delete Selected File"/></td>
                <td>
                </td>
            </tr>
        </table>
        <br />
        <table>
            <tr>
                <td>
                    <table border="1">
                        <tr>
                            <td>
                                <asp:Label ID="uploadLabel" runat="server" Text="Add New File" Font-Bold="True"></asp:Label><br />
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:FileUpload ID="fileUpload" runat="server" Width="300px" /><br />
                                <asp:Button ID="uploadButton" runat="server" Text="Add New File" /></td>
                        </tr>
                    </table>                
                </td>
                <td>
                    <table border="1">
                        <tr>
                            <td>
                                <asp:Label ID="lblModifyExistingFile" runat="server" Text="Modify Existing File" Font-Bold="True"></asp:Label><br />
                            </td>
                        </tr>
                        <tr>
                            <td>                                
                                <asp:FileUpload ID="fuExistingFile" runat="server" Width="300px" /><br />
                                <asp:Button ID="btnModifyExistingFile" runat="server" Text="Modify Existing File" /></td>
                        </tr>
                    </table>   
                </td>
                
            </tr>
        </table>            
         <table>
            <tr>
                <td align="center">
                <br />
                <br />
                <br />
                <br />
                    <asp:Label ID="lblStatusMessage" runat="server" ></asp:Label>
                </td>
            </tr>      
                  
        </table>

        

        
        
    </div>

</asp:Content>