HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/TDijk1/erp-apps.eu/wwwroot/ERPApps/ERPWebParts/Documents/AdNewForm.ascx
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="AdNewForm.ascx.cs" Inherits="ERPApps_ERPWebParts_Documents_AdNewForm" %>

<asp:Literal ID="lblError" runat="server" Visible="false" />

<asp:Literal ID="lblDebug" runat="server" Text="" Visible="false" />

<asp:Panel ID="calculatePanel" runat="server" Visible="true">
<div id="ad-wizard">
    <div class="wizard-step first">
        <asp:Literal ID="lblStep1" runat="server" />
        <cms:LocalizedLabel ID="lblNameError" runat="server" Visible="false" Text="Please provide a name" />

        <div class="wizard-form-field">
            <cms:LocalizedLabel runat="server" AssociatedControlID="editName" ResourceString="ERPApps.AdWizard.Name" />
            <asp:TextBox ID="editName" runat="server" visible="true" placeholder="name your ad" />
        </div>

        <cms:LocalizedLiteral runat="server" ResourceString="ERPApps.AdWizard.NameNote" />
    </div>

    <div class="wizard-step">
        <asp:Literal ID="lblStep2" runat="server" />

        <div id="ad-wizard-select-type" class="wizard-form-field">
            <cms:LocalizedLabel runat="server" AssociatedControlID="drpAdLocation" ResourceString="ERPApps.AdWizard.Type" />
            <cms:LocalizedDropDownList ID="drpAdLocation" runat="server" />
        </div>
        
        <div class="wizard-step-select wizard-step-industry wizard-form-field" id="panelIndustry" runat="server">
            <cms:LocalizedLabel runat="server" AssociatedControlID="drpAdIndustry" ResourceString="ERPApps.AdWizard.Industry" />
            <cms:LocalizedDropDownList ID="drpAdIndustry" runat="server" />
        </div>
        <div class="wizard-step-select wizard-step-process wizard-form-field" id="panelProcess" runat="server">
            <cms:LocalizedLabel runat="server" AssociatedControlID="drpAdProcess" ResourceString="ERPApps.AdWizard.Process" />
            <cms:LocalizedDropDownList ID="drpAdProcess" runat="server" />
        </div>
        <div class="wizard-step-select wizard-step-platform wizard-form-field" id="panelPlatform" runat="server">
            <cms:LocalizedLabel runat="server" AssociatedControlID="drpAdPlatform" ResourceString="ERPApps.AdWizard.Platform" />
            <cms:LocalizedDropDownList ID="drpAdPlatform" runat="server" />
        </div>
    </div>

    <div class="wizard-step">
        <asp:Literal ID="lblStep3" runat="server" />

        <div class="wizard-form-field">
            <cms:LocalizedLabel runat="server" AssociatedControlID="drpSolutionType" EnableViewState="false" ResourceString="ERPApps.AdWizard.SolutionType" />
            <cms:LocalizedDropDownList ID="drpSolutionType" runat="server" />
        </div>
    </div>

    <div class="wizard-step">
        <asp:Literal ID="lblStep4" runat="server" />

        <div class="wizard-form-field">
            <cms:LocalizedLabel runat="server" AssociatedControlID="drpPeriod" EnableViewState="false" ResourceString="ERPApps.AdWizard.Period" />
            <cms:LocalizedDropDownList ID="drpPeriod" runat="server" />
        </div>

        <p>
            <span class="btn-orangeSmall btn-calculate">
                <span>
                    <cms:LocalizedLinkButton ID="btnPrice" runat="server" ResourceString="ERPApps.AdWizard.ButtonCalculate" />
                </span>
            </span>
        </p>
    </div>
</div>
<script type="text/javascript">
    $(document).ready(function () {
        erp.adsWizard.onTypeSelectChange();
    });

    var prm = Sys.WebForms.PageRequestManager.getInstance();

    prm.add_endRequest(function (e) {
        // after ajax request
        erp.adsWizard.onTypeSelectChange();
        erp.adsWizard.initOnChange();

        if (!$('#ad-wizard-result').length)
        // not available -> no results
            return;

        var btn = $('.wizard-step .btn-calculate');
        btn.hide();
        $('.wizard-step select').change(function () {
            // start over
            btn.show();
            $('#ad-wizard-result').hide();
        });
    });
</script>

</asp:Panel>

<asp:Panel ID="notAvailablePanel" Visible="false" runat="server" >
    <asp:Literal ID="lblNotAvailable" runat="server" />
</asp:Panel>

<asp:Panel ID="orderPanel" Visible="false" runat="server">
    <div id="ad-wizard-result">
        <asp:Literal ID="lblPrice" runat="server" EnableViewState="false" />

        <asp:Literal ID="lblStep5" runat="server" EnableViewState="false" />

        <cms:CMSForm runat="server" ID="formElem" Visible="false" ShowOkButton="false" IsLiveSite="true" FormName="ERP.Ad.default" AlternativeFormFullName="ERP.Ad.NewAdWizard" />



        <div class="terms-conditions">
            <cms:LocalizedLabel ID="lblTermsRequired" ResourceString="ERPApps.AdWizard.AgreeTermsAndConditions" CssClass="EditingFormErrorLabel" Visible="false" runat="server" />
            <div id="register-form-terms-holder">
                <cms:LocalizedLiteral runat="server" ResourceString="ERPApps.AdWizard.TermsAndConditionsText" />
            </div>
            <div class="checkbox">
                <strong><cms:LocalizedCheckBox ID="chckTerms" runat="server" ResourceString="ERPApps.AdWizard.ConfirmTermsAndConditions" /></strong>
            </div>
        </div>

        <div class="center">
            <span class="btn">
                <span>
                    <cms:LocalizedLinkButton ID="btnSave" runat="server" ResourceString="ERPApps.AdWizard.ButtonCreate" />
                </span>
            </span>
            <span class="btn-orangeSmall">
                <span>
                    <cms:LocalizedLinkButton ID="btnAddToCart" runat="server" ResourceString="ERPApps.AdWizard.ButtonBuy" />
                </span>
            </span>
        </div>
    </div>
</asp:Panel>

<asp:Panel ID="donePanel" Visible="false" runat="server">
    <asp:Literal id="lblDone" runat="server" EnableViewState="false" />
</asp:Panel>