<%@ Page Title="" Language="C#" MasterPageFile="~/Application.Master" AutoEventWireup="true" CodeBehind="Company.aspx.cs" Inherits="ICDAS_3_0_Web_App.Administration.Company" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <%@ Register Src="~/User_Controls/ucSearchGrid.ascx" TagPrefix="ucSearchGrid" TagName="ucSearchGrid" %>
    <%@ Register Src="~/User_Controls/ucToolBar.ascx" TagPrefix="ucToolBar" TagName="ucToolBar" %>
    <%@ Register Src="~/User_Controls/ucDropDown.ascx" TagPrefix="ucDropDown" TagName="ucDropDown" %>
</asp:Content>
<asp:Content ID="cotMain" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:UpdatePanel ID="upnlwzCompany" UpdateMode="Always" runat="server">
        <ContentTemplate>
            <div class="row">
                <div class="col-md-12 col-sm-12 col-xs-12">
                    <div class="x_panel">
                        <div class="x_content">
                            <asp:HiddenField ID="hdnRecordId" Value="0" runat="server" />
                            <asp:HiddenField ID="hdnRecordIds" Value="" runat="server" />
                            <asp:HiddenField ID="hdnRowIndex" Value="0" runat="server" />
                            <asp:HiddenField ID="hdnAttachFileValue" runat="server" Value="" />
                            <asp:HiddenField ID="hdnAttachPostedFile" runat="server" Value="" />
                            <div class="x_title">
                                <h4>
                                    <asp:Label ID="lblFormTitle" runat="server"></asp:Label></h4>
                                <div class="clearfix"></div>
                            </div>
                            <div id="wizard" class="form_wizard wizard_horizontal">
                                <ul class="wizard_steps">
                                    <li>
                                        <a runat="server" id="aStep1" class="selected">
                                            <span class="step_no">1</span>
                                            <%--<span class="step_descr">Step 1<br />--%>
                                            <small>Search Records</small>
                                            </span>
                                        </a>
                                    </li>
                                    <li>
                                        <a runat="server" id="aStep2" class="disabled">
                                            <span class="step_no">2</span>
                                            <small>Manage Records</small>
                                            </span>
                                        </a>
                                    </li>
                                    <li id="lStep3" runat="server">
                                        <a runat="server" id="aStep3" class="disabled">
                                            <span class="step_no">3</span>
                                            <small>Manage Logos</small>
                                            </span>
                                        </a>
                                    </li>
                                </ul>
                            </div>

                            <div class="col-xs-12 col-sm-12 col-lg-12">
                                <ucToolBar:ucToolBar runat="server" ID="ucToolBar" DisplaySaveAs="N" />
                            </div>
                            <div class="col-xs-12 col-sm-12 col-lg-12">
                                <asp:Wizard ID="wzMain" CssClass="col-sm-12" DisplaySideBar="false" OnActiveStepChanged="wzMain_ActiveStepChanged"
                                    runat="server" class="form_wizard wizard_horizontal">
                                    <WizardSteps>
                                        <asp:WizardStep ID="Step0" runat="server">
                                            <ucSearchGrid:ucSearchGrid runat="server" ID="ucSearchGrid" />
                                        </asp:WizardStep>
                                        <asp:WizardStep ID="Step1" runat="server">
                                            <div class="row">
                                                <asp:Panel ID="pnlCompanyGroup" runat="server" Visible="false">
                                                    <div class="col-xs-12 col-sm-12 col-lg-8">
                                                        <div class="input-group">
                                                            <span class="input-group-addon">Group*</span>
                                                            <ucDropDown:ucDropDown runat="server" ID="ddlCompanyGroup" />
                                                        </div>
                                                    </div>
                                                </asp:Panel>
                                                <div class="col-xs-12 col-sm-12 col-lg-8">
                                                    <div class="input-group">
                                                        <asp:Label ID="lblCompanyName" runat="server" Text="Company*" CssClass="input-group-addon"></asp:Label>
                                                        <asp:TextBox ID="txtCompanyName" MaxLength="100" runat="server" class="form-control" AutoCompleteType="Disabled" autocomplete="off"
                                                            placeholder="Enter Company" required />
                                                    </div>
                                                </div>
                                                <div class="col-xs-12 col-sm-12 col-lg-4">
                                                    <div class="input-group">
                                                        <span class="input-group-addon">Code</span>
                                                        <asp:TextBox ID="txtCompanyCode" MaxLength="10" runat="server" class="form-control" AutoCompleteType="Disabled" autocomplete="off"
                                                            placeholder="Enter Code" required />
                                                    </div>
                                                </div>
                                            </div>
                                            <asp:Panel ID="pnlMaxLevel" runat="server">
                                                <div class="row">
                                                    <div class="col-xs-12 col-sm-12 col-lg-8">
                                                        <div class="input-group">
                                                            <span class="input-group-addon">Details</span>
                                                            <asp:TextBox ID="txtCompanyAddress" MaxLength="255" runat="server" TextMode="MultiLine" Rows="4" class="form-control" AutoCompleteType="Disabled" autocomplete="off"
                                                                placeholder="Enter Address" />
                                                        </div>
                                                    </div>
                                                    <div class="col-xs-12 col-sm-12 col-lg-4">
                                                        <div class="input-group">
                                                            <span class="input-group-addon">Status</span>
                                                            <asp:RadioButtonList ID="optRecordStatus" runat="server" CssClass="form-control" RepeatDirection="Horizontal">
                                                                <asp:ListItem Value="0" Selected="True" style="margin-right: 20px">Active</asp:ListItem>
                                                                <asp:ListItem Value="1" style="margin-right: 30px">Not Active</asp:ListItem>
                                                            </asp:RadioButtonList>

                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="row">
                                                    <div class="col-xs-12 col-sm-12 col-lg-8">
                                                        <div class="input-group">
                                                            <span class="input-group-addon">Geographical Info*</span>
                                                            <ucDropDown:ucDropDown runat="server" ID="ddlGeographicalGroup" />
                                                        </div>
                                                    </div>
                                                    <div class="col-xs-12 col-sm-12 col-lg-4">
                                                        <div class="input-group">
                                                            <span class="input-group-addon">Zip Code</span>
                                                            <asp:TextBox ID="txtPincode" MaxLength="10" runat="server" class="form-control" AutoCompleteType="Disabled" autocomplete="off"
                                                                placeholder="Enter Zip Code" />
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="row">
                                                    <div class="col-xs-12 col-sm-12 col-lg-6">
                                                        <div class="input-group">
                                                            <span class="input-group-addon">Phone</span>
                                                            <asp:TextBox ID="txtTelephone" MaxLength="100" runat="server" class="form-control" AutoCompleteType="Disabled" autocomplete="off"
                                                                placeholder="Enter Phone No." />
                                                        </div>
                                                    </div>
                                                    <div class="col-xs-12 col-sm-12 col-lg-6">
                                                        <div class="input-group">
                                                            <span class="input-group-addon">Fax</span>
                                                            <asp:TextBox ID="txtFax" MaxLength="100" runat="server" class="form-control" AutoCompleteType="Disabled" autocomplete="off"
                                                                placeholder="Enter Fax No." />
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="row">
                                                    <div class="col-xs-12 col-sm-12 col-lg-6">
                                                        <div class="input-group">
                                                            <span class="input-group-addon">Email</span>
                                                            <asp:TextBox ID="txtEmail" MaxLength="100" runat="server" class="form-control" AutoCompleteType="Disabled" autocomplete="off"
                                                                placeholder="Enter Email Address" />
                                                        </div>
                                                    </div>
                                                    <div class="col-xs-12 col-sm-12 col-lg-6">
                                                        <div class="input-group">
                                                            <span class="input-group-addon">Web</span>
                                                            <asp:TextBox ID="txtWeb" MaxLength="100" runat="server" class="form-control" AutoCompleteType="Disabled" autocomplete="off"
                                                                placeholder="Enter Web Address" />
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="row">
                                                    <div class="col-xs-12 col-sm-12 col-lg-6">
                                                        <div class="input-group">
                                                            <span class="input-group-addon">Registry 1</span>
                                                            <asp:TextBox ID="txtDetails1" MaxLength="100" runat="server" class="form-control" AutoCompleteType="Disabled" autocomplete="off"
                                                                placeholder="Enter Rgister Details 1 e.g. GST No." />
                                                        </div>
                                                    </div>
                                                    <div class="col-xs-12 col-sm-12 col-lg-6">
                                                        <div class="input-group">
                                                            <span class="input-group-addon">Registry 2</span>
                                                            <asp:TextBox ID="txtDetails2" MaxLength="100" runat="server" class="form-control" AutoCompleteType="Disabled" autocomplete="off"
                                                                placeholder="Enter Rgister Details 2 e.g. PAN No." />
                                                        </div>
                                                    </div>
                                                </div>
                                                <asp:Panel ID="pnlRegistry2" runat="server" Visible="false">
                                                    <div class="row">
                                                        <div class="col-xs-12 col-sm-12 col-lg-6">
                                                            <div class="input-group">
                                                                <span class="input-group-addon">Registry 3</span>
                                                                <asp:TextBox ID="txtDetails3" MaxLength="100" runat="server" class="form-control" AutoCompleteType="Disabled" autocomplete="off"
                                                                    placeholder="Enter Rgister Details 3 e.g. CIN No." />
                                                            </div>
                                                        </div>
                                                        <div class="col-xs-12 col-sm-12 col-lg-6">
                                                            <div class="input-group">
                                                                <span class="input-group-addon">Registry 4</span>
                                                                <asp:TextBox ID="txtDetails4" MaxLength="100" runat="server" class="form-control" AutoCompleteType="Disabled" autocomplete="off"
                                                                    placeholder="Enter Rgister Details 4" />
                                                            </div>
                                                        </div>
                                                    </div>
                                                </asp:Panel>
                                                <asp:Panel ID="pnlRegistry3" runat="server" Visible="false">
                                                    <div class="row">
                                                        <div class="col-xs-12 col-sm-12 col-lg-6">
                                                            <div class="input-group">
                                                                <span class="input-group-addon">Registry 5</span>
                                                                <asp:TextBox ID="txtDetails5" MaxLength="100" runat="server" class="form-control" AutoCompleteType="Disabled" autocomplete="off"
                                                                    placeholder="Enter Rgister Details 5" />
                                                            </div>
                                                        </div>
                                                        <div class="col-xs-12 col-sm-12 col-lg-6">
                                                            <div class="input-group">
                                                                <span class="input-group-addon">Registry 6</span>
                                                                <asp:TextBox ID="txtDetails6" MaxLength="100" runat="server" class="form-control" AutoCompleteType="Disabled" autocomplete="off"
                                                                    placeholder="Enter Rgister Details 6" />
                                                            </div>
                                                        </div>
                                                    </div>
                                                </asp:Panel>
                                                <asp:Panel ID="pnlRegistry4" runat="server" Visible="false">
                                                    <div class="row">
                                                        <div class="col-xs-12 col-sm-12 col-lg-6">
                                                            <div class="input-group">
                                                                <span class="input-group-addon">Registry 7</span>
                                                                <asp:TextBox ID="txtDetails7" MaxLength="100" runat="server" class="form-control" AutoCompleteType="Disabled" autocomplete="off"
                                                                    placeholder="Enter Rgister Details 7" />
                                                            </div>
                                                        </div>
                                                        <div class="col-xs-12 col-sm-12 col-lg-6">
                                                            <div class="input-group">
                                                                <span class="input-group-addon">Registry 8</span>
                                                                <asp:TextBox ID="txtDetails8" MaxLength="100" runat="server" class="form-control" AutoCompleteType="Disabled" autocomplete="off"
                                                                    placeholder="Enter Rgister Details 8" />
                                                            </div>
                                                        </div>
                                                    </div>
                                                </asp:Panel>

                                                <asp:Panel ID="pnlRegistry5" runat="server" Visible="false">
                                                    <div class="row">
                                                        <div class="col-xs-12 col-sm-12 col-lg-6">
                                                            <div class="input-group">
                                                                <span class="input-group-addon">Registry 9</span>
                                                                <asp:TextBox ID="txtDetails9" MaxLength="100" runat="server" class="form-control" AutoCompleteType="Disabled" autocomplete="off"
                                                                    placeholder="Enter Rgister Details 9" />
                                                            </div>
                                                        </div>
                                                        <div class="col-xs-12 col-sm-12 col-lg-6">
                                                            <div class="input-group">
                                                                <span class="input-group-addon">Registry 10</span>
                                                                <asp:TextBox ID="txtDetails10" MaxLength="100" runat="server" class="form-control" AutoCompleteType="Disabled" autocomplete="off"
                                                                    placeholder="Enter Rgister Details 10" />
                                                            </div>
                                                        </div>
                                                    </div>
                                                </asp:Panel>
                                                <asp:Panel ID="pnlRegistry6" runat="server" Visible="false">
                                                    <div class="row">
                                                        <div class="col-xs-12 col-sm-12 col-lg-6">
                                                            <div class="input-group">
                                                                <span class="input-group-addon">Registry 11</span>
                                                                <asp:TextBox ID="txtDetails11" MaxLength="100" runat="server" class="form-control" AutoCompleteType="Disabled" autocomplete="off"
                                                                    placeholder="Enter Rgister Details 11" />
                                                            </div>
                                                        </div>
                                                        <div class="col-xs-12 col-sm-12 col-lg-6">
                                                            <div class="input-group">
                                                                <span class="input-group-addon">Registry 12</span>
                                                                <asp:TextBox ID="txtDetails12" MaxLength="100" runat="server" class="form-control" AutoCompleteType="Disabled" autocomplete="off"
                                                                    placeholder="Enter Rgister Details 12" />
                                                            </div>
                                                        </div>
                                                    </div>
                                                </asp:Panel>
                                            </asp:Panel>
                                            <asp:Panel ID="Panel1" runat="server">
                                                <div class="row">
                                                    <div class="col-xs-12 col-sm-12 col-lg-12">
                                                    </div>
                                                </div>
                                            </asp:Panel>
                                        </asp:WizardStep>
                                        <asp:WizardStep ID="Step2" runat="server">
                                            <div class="row">
                                                <div class="col-xs-12 col-sm-12 col-lg-6">
                                                    <div class="input-group">
                                                        <asp:Label ID="lblCompanyDisplayName" runat="server" Text="Company*" CssClass="input-group-addon"></asp:Label>
                                                        <asp:TextBox ID="txtCompanyDisplayName" MaxLength="100" runat="server" CssClass="form-control" AutoCompleteType="Disabled" autocomplete="off"
                                                            ReadOnly="true" />
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="row">
                                                <div class="col-xs-12 col-sm-12 col-lg-6">
                                                    <div class="input-group">
                                                        <span class="input-group-addon">Logo (W x H)
                                                            <br />
                                                            (150 x 200) px</span>
                                                        <ajaxToolkit:AjaxFileUpload ID="fuplLogosmall" MaximumNumberOfFiles="1" AllowedFileTypes="gif,png,jpg" runat="server" OnUploadComplete="fuplLogosmall_UploadComplete" />
                                                    </div>
                                                </div>
                                                <div class="col-xs-12 col-sm-12 col-lg-6">
                                                    <div class="input-group">
                                                        <span class="input-group-addon">Logo
                                                            <br />
                                                            <br />
                                                            <asp:LinkButton runat="server" CssClass="btn btn-info" ID="btnLogoRefresh" OnClick="btnLogoRefresh_Click" ToolTip="CLICK REFRESH INCASE IMAGE IS NOT UPDATED"><i class="fa fa-refresh"></i></asp:LinkButton></span>
                                                        <asp:Image ID="imgLogosmall" runat="server" Height="150px" Width="150px" CssClass="form-control" />
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="row">
                                                <div class="col-xs-12 col-sm-12 col-lg-6">
                                                    <div class="input-group">
                                                        <span class="input-group-addon">Banner (W x H)
                                                            <br />
                                                            (550 x 200) px</span>
                                                        <ajaxToolkit:AjaxFileUpload ID="fuplLogobig" MaximumNumberOfFiles="1" AllowedFileTypes="gif,png,jpg" runat="server" OnUploadComplete="fuplLogobig_UploadComplete" />
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="row">
                                                <div class="col-xs-12 col-sm-12 col-lg-12">
                                                    <div class="input-group">
                                                        <span class="input-group-addon">Banner
                                                            <br />
                                                            <br />
                                                            <asp:LinkButton runat="server" CssClass="btn btn-info" ID="btnBannerRefresh" OnClick="btnBannerRefresh_Click" ToolTip="CLICK REFRESH INCASE IMAGE IS NOT UPDATED"><i class="fa fa-refresh"></i></asp:LinkButton></span>
                                                        <asp:Image ID="imgLogobig" runat="server" Height="150px" CssClass="form-control" />
                                                    </div>
                                                </div>
                                            </div>
                                        </asp:WizardStep>
                                    </WizardSteps>
                                    <StartNavigationTemplate>
                                        <asp:Button ID="NextButton" Visible="false" runat="server" Text="Next" CommandName="MoveNext" CssClass="btn btn-primary btn-sm" />
                                    </StartNavigationTemplate>
                                    <StepNavigationTemplate>
                                        <asp:Button ID="btnStepPrevious" formnovalidate="true" runat="server" ToolTip="CONTINUE TO PREVIOUS SCREEN WITHOUT SAVING RECORDS" CausesValidation="false" Text="Previous" CssClass="btn btn-success btn-sm" OnClick="btnStepPrevious_Click" />
                                        <asp:Button ID="btnStepNext" formnovalidate="true" runat="server" ToolTip="CONTINUE TO NEXT SCREEN WITHOUT SAVING RECORDS" Text="Continue" CssClass="btn btn-primary btn-sm" OnClick="btnStepNext_Click" />
                                    </StepNavigationTemplate>
                                    <FinishNavigationTemplate>
                                        <br />
                                        <asp:Button ID="btnPrevious" runat="server" formnovalidate="true" Text="Previous" CssClass="btn btn-success btn-sm" ToolTip="MOVE BACK TO PREVIOUS SCREEN" CommandName="MovePrevious" />
                                    </FinishNavigationTemplate>
                                </asp:Wizard>
                            </div>
                        </div>
                    </div>

                </div>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>

