<%@ Page Title="" Language="C#" MasterPageFile="~/EmptyAjaxMaster.Master" AutoEventWireup="true" CodeBehind="FolderPropertiesDialog.aspx.cs" Inherits="MKInsight.Online.ActionTracking.DocumentLibrary.FolderPropertiesDialog" %>

<%@ Register Src="~/UIControls/Interface/TextBoxEx.ascx" TagPrefix="uc1" TagName="TextBoxEx" %>
<%@ Register Src="~/UIControls/Interface/MultilineTextBoxEx.ascx" TagPrefix="uc1" TagName="MultilineTextBoxEx" %>
<%@ Register Src="~/UIControls/Interface/SimpleSectionBreak.ascx" TagPrefix="uc1" TagName="SimpleSectionBreak" %>

<%@ Register src="../UIControls/MessageBox.ascx" tagname="MessageBox" tagprefix="uc2" %>

<asp:Content ID="Content1" ContentPlaceHolderID="h" runat="server">
    <style>
        .ico {
            border: 1px solid white;
            padding:3px;
        }

            .ico:hover {
                border: 1px solid #A8B7D6;
                padding:3px;
            }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cm" runat="server">

    <uc2:MessageBox ID="u_M" runat="server" />
    
    <asp:Panel ID="tbP" runat="server" CssClass="toolbar">

        <asp:LinkButton runat="server" ID="tbl_Details" Style="background: url(../images/detail32.png); background-position-y: 2px; background-repeat: no-repeat;">
            <asp:Label ID="tbl_DetailsLabel" runat="server"></asp:Label>

        </asp:LinkButton>

        <asp:LinkButton runat="server" ID="tbl_Permission" Style="background: url(../images/config32.png); background-position-y: 2px; background-repeat: no-repeat;">
            <asp:Label ID="tbl_PermissionLabel" runat="server"></asp:Label>

        </asp:LinkButton>
                

    </asp:Panel>

    <asp:MultiView ID="mv" runat="server">
        <asp:View ID="v_Detail" runat="server">
            <table>
                <tr>
                    <td>
                        <uc1:TextBoxEx runat="server" ID="u_Name" />
                    </td>
                </tr>
                <tr>
                    <td>
                        <uc1:MultilineTextBoxEx runat="server" ID="u_Des" />
                    </td>
                </tr>
                <tr>
                    <td>
                        <uc1:SimpleSectionBreak runat="server" ID="u_Icon" />
                    </td>
                </tr>
                <tr>
                    <td style="width: 300px;">

                        <asp:ListView ID="lst_Icon" runat="server" DataKeyNames="ID">
                            <ItemTemplate>

                                <asp:ImageButton ID="btn_Icon" runat="server" CssClass="ico" ImageUrl='<%# "../images/LibraryFolders/" + Eval("Name") %>' CommandArgument='<%# Eval("ID") %>' OnClick="btn_Icon_Click" />

                            </ItemTemplate>
                        </asp:ListView>
                    </td>
                </tr>
            </table>

        </asp:View>
        <asp:View ID="v_Per" runat="server">
        </asp:View>
    </asp:MultiView>
</asp:Content>
