<%@ Page Title="" Language="C#" AutoEventWireup="false" MasterPageFile="~/EmptyAjaxMaster.Master"
    CodeBehind="ADImportPage.aspx.cs" Inherits="MKinsight.Online.UIServices.ADImportPage" %>

<%@ Register Src="../UIControls/ActiveDirectory/ActiveDirectory.ascx" TagName="ActiveDirectory"
    TagPrefix="uc5" %>
<%@ Register Src="../UIControls/MessageBox.ascx" TagName="MessageBox" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="h" runat="server">
    <script type="text/javascript">

        function cb() {
            parent.$.colorbox.close();
            window.parent.location.href = window.parent.location.href;
		}

    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cm" runat="server">
    <div>

        <uc1:MessageBox ID="u_M" runat="server" />

    </div>
    <asp:MultiView ID="mv" runat="server">
        <asp:View ID="vAC" runat="server">
            <asp:Panel ID="pnl_Select" runat="server">
                <div>
                </div>

                <asp:RadioButtonList ID="rbl_Types" runat="server" AutoPostBack="true">
                </asp:RadioButtonList>
                <hr class="ee" />
            </asp:Panel>
            <uc5:ActiveDirectory ID="usc_AC" runat="server" />
            <div>
                <hr class="ee" />
            </div>
            <div class="dltr">
                <asp:Button ID="btn_Import" Text="Import" runat="server" />
                &nbsp;<asp:Button ID="btn_Close" runat="server" OnClientClick="cb();return false;" />
            </div>
        </asp:View>
        <asp:View ID="vDone" runat="server">
            <div align="center">
                <h3>
                    <asp:LinkButton ID="btn_Back" runat="server" OnClientClick="cb();return false;">Click here to go Users page</asp:LinkButton></h3>
                <br />
                <br />
            </div>
            <div align="center">
                <asp:Table ID="tbl_Users" runat="server">
                </asp:Table>
            </div>
        </asp:View>
    </asp:MultiView>
</asp:Content>
