<%@ Page Title="" Language="C#" MasterPageFile="~/Main.Master" AutoEventWireup="true" CodeBehind="Instrument_Config.aspx.cs" Inherits="Neclog_3_0.Instrument_Config" %>

<%@ Register Src="~/UserControls/ucSearchControl.ascx" TagName="ucSearchControl" TagPrefix="ucSearch" %>
<%@ Register TagPrefix="OBgrid" Namespace="Obout.Grid" Assembly="obout_Grid_NET" %>
<%@ Register TagPrefix="HtmlColor" Namespace="UNLV.IAP.WebControls" Assembly="UNLV.IAP.WebControls.HtmlColorDropDown" %>
<%@ Register Src="~/UserControls/ucAdminLoginControl.ascx" TagPrefix="ucRpt" TagName="ucAdminLoginControl" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script type="text/javascript">
        function grdSearch_OnClientDblClick(recordIndex) {
            grdSearch_OnInternalClientDblClick(recordIndex);
            var cObj = document.getElementById("<%= btnEdit.ClientID%>");
            cObj.click();
        }
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <div class='divtable'>
        <asp:HiddenField ID="hdnRecordKeyId" runat="server" />
        <asp:HiddenField ID="hdnBranchId" runat="server" />
        <asp:HiddenField ID="hdnBusinessUnitId" runat="server" />
        <asp:HiddenField ID="hdnEquipmentId" runat="server" />
        <asp:HiddenField ID="hdnLoginComments" runat="server" />
        <asp:HiddenField ID="hdnstatus" runat="server" />
        <asp:HiddenField ID="hdnEquipmentType" runat="server" />
        <asp:HiddenField ID="hdnEquipmentMode" runat="server" />
        <asp:HiddenField ID="hdnInstrumentCreationLicense" runat="server" />
        <div class='form-box'>
            <div class="box box-success">
                <div class="box-header with-border">
                    <div class='row'>
                        <div class='col-md-7'>
                            <asp:Label ID="lblTitle" runat="server" class="box-title"></asp:Label>
                            <asp:HiddenField ID="hdnHeaderNote" Value="0" runat="server" />
                            <asp:HiddenField ID="hdnFooterNote" Value="0" runat="server" />
                        </div>
                        <div class='col-md-5' align="right">
                            <asp:UpdatePanel runat="server" UpdateMode="Always">
                                <ContentTemplate>
                                    <asp:Button ID="btnSearch" runat="server" Text="Find" OnClick="SearchData" CssClass="myButton" CausesValidation="false" ToolTip="Find" />&nbsp;
                                    <asp:Button ID="btnAdd" runat="server" Text="Add" OnClick="AddData" CssClass="myButton" CausesValidation="false" ToolTip="Add" />&nbsp;
                                    <asp:Button ID="btnEdit" runat="server" Text="Edit" OnClick="btnEdit_Click" CssClass="myButton" ToolTip="Edit" />&nbsp;
                                    <asp:Button ID="btnDelete" runat="server" Text="Delete" OnClick="btnDelete_Click" OnClientClick="return validateDelete();" CssClass="myButton" CausesValidation="false" ToolTip="Delete" />&nbsp;
                                    <asp:Button ID="btnPrint" runat="server" Text="Print" OnClick="btnPrint_Click" CssClass="myButton" CausesValidation="false" ToolTip="Print" />
                                </ContentTemplate>
                                <Triggers>
                                    <asp:PostBackTrigger ControlID="btnPrint" />
                                </Triggers>
                            </asp:UpdatePanel>
                        </div>
                    </div>
                </div>
                <!-- /.box-header -->
                <!-- form start -->

                <div class="form-horizontal">
                    <div class="box-body" id="divFormContent" runat="server">
                        <div class="form-group">
                            <asp:Wizard ID="Wizard1" runat="server" Width="98%" HeaderText="" OnNextButtonClick="Wizard1_NextButtonClick"
                                DisplaySideBar="true" StartNextButtonType="Button">
                                <WizardSteps>
                                    <asp:WizardStep ID="Step0" StepType="Start" runat="server" AllowReturn="true">
                                        <div class="form-group">
                                            <asp:UpdatePanel ID="UpdatePanel2" runat="server" UpdateMode="Always">
                                                <ContentTemplate>
                                                    <div class="form-group">
                                                        <asp:Label ID="Label1" runat="server" Text="Instrument Name*" class="col-sm-2 control-label"></asp:Label>
                                                        <div class="col-sm-5">
                                                            <asp:TextBox runat="server" ID="txtEquipmentName" MaxLength="30" class="form-control" />
                                                        </div>
                                                        <div class="col-sm-5">
                                                            <asp:RequiredFieldValidator runat="server" ControlToValidate="txtEquipmentName"
                                                                CssClass="text-alert" ErrorMessage="Instrument Name field is required." />
                                                        </div>
                                                    </div>
                                                    <div class="form-group">
                                                        <asp:Label ID="Label3" runat="server" Text="Type*" class="col-sm-2 control-label"></asp:Label>
                                                        <div class="col-sm-3">
                                                            <asp:DropDownList ID="cmbInstrumentType" runat="server" class="form-control"></asp:DropDownList>
                                                        </div>
                                                        <div class="col-sm-5">
                                                            <asp:RequiredFieldValidator runat="server" ControlToValidate="cmbInstrumentType"
                                                                CssClass="text-alert" ErrorMessage="Instrument Type field is required." InitialValue="0" />
                                                        </div>
                                                    </div>
                                                    <asp:Panel ID="pnlIPAddress" runat="server">
                                                        <div class="form-group">
                                                            <asp:Label ID="Label2" runat="server" Text="Instrument IP*" class="col-sm-2 control-label"></asp:Label>
                                                            <div class="col-sm-3">
                                                                <asp:TextBox runat="server" ID="txtInstrumentIP" onkeypress="return onlyIPAddress(event, this);" MaxLength="15" placeholder="000.000.000.000" class="form-control" />
                                                            </div>
                                                            <div class="col-sm-5">
                                                                <asp:RequiredFieldValidator runat="server" ControlToValidate="txtInstrumentIP"
                                                                    CssClass="text-alert" ErrorMessage="Instrument IP field is required." />
                                                                <asp:RegularExpressionValidator ErrorMessage="Enter valid IP address." ValidationExpression="\b(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\b"
                                                                    CssClass="text-alert" ControlToValidate="txtInstrumentIP" runat="server" />
                                                            </div>
                                                        </div>
                                                    </asp:Panel>
                                                    <div class="form-group">
                                                        <asp:Label ID="Label7" runat="server" Text="Serial No.*" class="col-sm-2 control-label"></asp:Label>
                                                        <div class="col-sm-3">
                                                            <asp:TextBox runat="server" ID="txtSerialNo" MaxLength="50" class="form-control" />
                                                        </div>
                                                        <div class="col-sm-5">
                                                            <asp:RequiredFieldValidator runat="server" ControlToValidate="txtSerialNo"
                                                                CssClass="text-alert" ErrorMessage="Serial No. field is required." />
                                                        </div>
                                                    </div>
                                                    <div class="form-group">
                                                        <asp:Label ID="Label19" runat="server" Text="Log Interval*" class="col-sm-2 control-label"></asp:Label>
                                                        <div class="col-sm-2">
                                                            <asp:TextBox runat="server" onkeypress="return onlyNumbers(event, this);" ID="txtLogInterval" MaxLength="3" class="form-control" />
                                                        </div>
                                                        <div class="col-sm-3">
                                                            <asp:Label ID="Label20" runat="server" Text="in min ( Min 1 to Max 480 )" class="control-label"></asp:Label>
                                                        </div>
                                                        <div class="col-sm-5">
                                                            <asp:RequiredFieldValidator runat="server" ControlToValidate="txtLogInterval"
                                                                CssClass="text-alert" ErrorMessage="Log Interval field is required." />
                                                            <asp:RangeValidator ID="txtRangeLogInterval" ErrorMessage="Enter value between 1 to 480" ControlToValidate="txtLogInterval" runat="server"
                                                                MinimumValue="1" MaximumValue="480" Type="Integer" CssClass="text-alert" />
                                                        </div>
                                                    </div>
                                                    <div class="form-group">
                                                        <asp:Label ID="Label4" runat="server" Text="Active Probes*" class="col-sm-2 control-label"></asp:Label>
                                                        <div class="col-sm-2">
                                                            <asp:DropDownList ID="cmbActiveChannel" runat="server" class="form-control">
                                                                <asp:ListItem Value="1" Selected="True">01</asp:ListItem>
                                                                <asp:ListItem Value="2">02</asp:ListItem>
                                                                <asp:ListItem Value="3">03</asp:ListItem>
                                                                <asp:ListItem Value="4">04</asp:ListItem>
                                                                <asp:ListItem Value="5">05</asp:ListItem>
                                                                <asp:ListItem Value="6">06</asp:ListItem>
                                                                <asp:ListItem Value="7">07</asp:ListItem>
                                                                <asp:ListItem Value="8">08</asp:ListItem>
                                                                <asp:ListItem Value="9">09</asp:ListItem>
                                                                <asp:ListItem Value="10">10</asp:ListItem>
                                                                <asp:ListItem Value="11">11</asp:ListItem>
                                                                <asp:ListItem Value="12">12</asp:ListItem>
                                                                <asp:ListItem Value="13">13</asp:ListItem>
                                                                <asp:ListItem Value="14">14</asp:ListItem>
                                                                <asp:ListItem Value="15">15</asp:ListItem>
                                                                <asp:ListItem Value="16">16</asp:ListItem>
                                                            </asp:DropDownList>
                                                        </div>
                                                    </div>
                                                    <div class="form-group">
                                                        <asp:Label ID="Label6" runat="server" Text="Mode" class="col-sm-2 control-label"></asp:Label>
                                                        <div class="col-sm-5">
                                                            <asp:DropDownList ID="ddlMode" runat="server" class="form-control">
                                                                <asp:ListItem Value="0">Offline</asp:ListItem>
                                                                <asp:ListItem Value="1" Selected="True">Online</asp:ListItem>
                                                            </asp:DropDownList>
                                                        </div>
                                                        <div class="col-sm-5">
                                                        </div>
                                                    </div>
                                                    <div class="form-group">
                                                        <asp:Label ID="Label5" runat="server" Text="Status" class="col-sm-2 control-label"></asp:Label>
                                                        <div class="col-sm-5">
                                                            <asp:RadioButton ID="rbtStatusActive" runat="server" Checked="true" Text="Active" GroupName="Status" />&nbsp;&nbsp;&nbsp;
                                                            <asp:RadioButton ID="rbtStatusInactive" runat="server" Text="Not Active" GroupName="Status" />
                                                        </div>
                                                        <div class="col-sm-5">
                                                        </div>
                                                    </div>
                                                </ContentTemplate>
                                            </asp:UpdatePanel>
                                        </div>
                                    </asp:WizardStep>
                                    <asp:WizardStep ID="Step1" StepType="Step" runat="server" AllowReturn="false">
                                        <div style="height: 67vh">
                                            <ucRpt:ucAdminLoginControl runat="server" ID="ucAdminLoginMasterData" />
                                        </div>
                                    </asp:WizardStep>
                                    <asp:WizardStep ID="Step2" StepType="Step" runat="server" AllowReturn="false">
                                        <div class="form-group" style="height: 70vh;" align="center">
                                            <img alt="Prcessing" src="~/../Images/ProgressBar_Instrument.gif" />
                                            <asp:Timer ID="tmrInstrumentConfig" runat="server" Enabled="false" Interval="1000" OnTick="tmrInstrumentConfig_Tick">
                                            </asp:Timer>
                                        </div>
                                    </asp:WizardStep>
                                    <asp:WizardStep ID="Step3" StepType="Step" runat="server" AllowReturn="true">
                                        <div class="form-group">
                                            <div class="col-sm-3">
                                                <asp:TextBox runat="server" ID="txtSInstrumentName" ReadOnly="true" class="form-control" ToolTip="Instrument Name" />
                                            </div>
                                            <div class="col-sm-2">
                                                <asp:TextBox runat="server" ID="txtSInstrumentIP" ReadOnly="true" class="form-control" ToolTip="Instrument IP" />
                                            </div>
                                            <div class="col-sm-2">
                                                <asp:TextBox runat="server" ID="txtSLogInterval" ReadOnly="true" class="form-control" ToolTip="Log Interval" />
                                            </div>
                                            <div class="col-sm-2">
                                                <asp:TextBox runat="server" ID="txtSActiveProbe" ReadOnly="true" class="form-control" ToolTip="Active Probes" />
                                            </div>
                                            <div class="col-sm-2">
                                                <asp:Button ID="btnInstrumentWriteLog" runat="server" Text="Instrument Log" OnClick="btnInstrumentWriteLog_Click" CssClass="myButton" CausesValidation="false" ToolTip="Instrument Log" />
                                            </div>
                                        </div>
                                        <div class="form-group" style="overflow-y: scroll; height: 60vh;">
                                            <OBgrid:Grid ID="grdInstrumentParameter" runat="server" CallbackMode="false" Width="99%" ShowTotalNumberOfPages="false" AllowAddingRecords="false" ViewStateMode="Enabled" AllowRecordSelection="false" AllowPaging="false"
                                                AutoGenerateColumns="false" FolderStyle="~/App_Include/StyleSheet/Grid/" AllowPageSizeSelection="false" OnRowDataBound="grdInstrumentParameter_RowDataBound">
                                                <Columns>
                                                    <OBgrid:Column Visible="false" DataField="EquipmentMasterParameterId" Index="0" runat="server"></OBgrid:Column>
                                                    <OBgrid:Column TemplateId="tplSelect" HeaderTemplateId="tplHSelect" HeaderAlign="left" HeaderText="" Width="7%" Index="1" runat="server"></OBgrid:Column>
                                                    <OBgrid:Column TemplateId="tplName" HeaderAlign="center" DataField="ParameterName" Width="30%" HeaderText="Name" Index="2" runat="server"></OBgrid:Column>
                                                    <OBgrid:Column TemplateId="tplUnit" HeaderAlign="center" DataField="ParameterUnit" Width="12%" HeaderText="Unit" Index="3" runat="server"></OBgrid:Column>
                                                    <OBgrid:Column TemplateId="tplResolution" HeaderAlign="center" DataField="ParameterResolution" Width="12%" HeaderText="Resolution" Index="4" runat="server"></OBgrid:Column>
                                                    <OBgrid:Column TemplateId="tplGraphColor" HeaderAlign="center" DataField="ParameterColor" Width="20%" HeaderText="Graph Color" Index="5" runat="server"></OBgrid:Column>
                                                    <OBgrid:Column TemplateId="tplLowerLimit" HeaderAlign="center" DataField="ParameterLowerLimit" Width="15%" HeaderText="Lower Limit" Index="6" runat="server"></OBgrid:Column>
                                                    <OBgrid:Column TemplateId="tplUpperLimit" HeaderAlign="center" DataField="ParameterUpperLimit" Width="15%" HeaderText="Upper Limit" Index="7" runat="server"></OBgrid:Column>
                                                    <OBgrid:Column Visible="false" TemplateId="tplAxis" HeaderAlign="center" DataField="ParameterAxis" Width="15%" HeaderText="Axis" Index="8" runat="server"></OBgrid:Column>
                                                    <OBgrid:Column Visible="false" DataField="ParameterNo" Index="9" runat="server"></OBgrid:Column>
                                                </Columns>
                                                <Templates>
                                                    <OBgrid:GridTemplate ID="tplHSelect" ControlID="chkSelect">
                                                        <Template>
                                                            <asp:CheckBox ID="chkHSelect" OnCheckedChanged="chkHSelect_CheckedChanged" AutoPostBack="true" runat="server" />
                                                        </Template>
                                                    </OBgrid:GridTemplate>
                                                    <OBgrid:GridTemplate ID="tplSelect" ControlID="chkSelect">
                                                        <Template>
                                                            <asp:CheckBox ID="chkSelect" runat="server" />
                                                        </Template>
                                                    </OBgrid:GridTemplate>
                                                    <OBgrid:GridTemplate ID="tplName" ControlID="txtName">
                                                        <Template>
                                                            <asp:TextBox ID="txtName" Width="100%" runat="server"></asp:TextBox>
                                                        </Template>
                                                    </OBgrid:GridTemplate>
                                                    <OBgrid:GridTemplate ID="tplUnit" ControlID="ddlUnit">
                                                        <Template>
                                                            <asp:DropDownList ID="ddlUnit" Width="100%" runat="server">
                                                            </asp:DropDownList>
                                                        </Template>
                                                    </OBgrid:GridTemplate>
                                                    <OBgrid:GridTemplate ID="tplResolution" ControlID="txtResolution">
                                                        <Template>
                                                            <asp:DropDownList ID="ddlResolution" Width="100%" runat="server">
                                                                <asp:ListItem Value="0">1</asp:ListItem>
                                                                <asp:ListItem Value="1">0.1</asp:ListItem>
                                                                <asp:ListItem Value="2">0.01</asp:ListItem>
                                                                <asp:ListItem Value="3">0.001</asp:ListItem>
                                                            </asp:DropDownList>
                                                        </Template>
                                                    </OBgrid:GridTemplate>
                                                    <OBgrid:GridTemplate ID="tplGraphColor" ControlID="ddlGraphColor">
                                                        <Template>
                                                            <HtmlColor:HtmlColorDropDown ID="ddlGraphColor" EnableViewState="true" runat="server" Width="100%" >
                                                            </HtmlColor:HtmlColorDropDown>
                                                        </Template>
                                                    </OBgrid:GridTemplate>
                                                    <OBgrid:GridTemplate ID="tplLowerLimit" ControlID="txtLowerLimit">
                                                        <Template>
                                                            <asp:TextBox ID="txtLowerLimit" Width="100%" runat="server" />
                                                        </Template>
                                                    </OBgrid:GridTemplate>
                                                    <OBgrid:GridTemplate ID="tplUpperLimit" ControlID="txtUpperLimit">
                                                        <Template>
                                                            <asp:TextBox ID="txtUpperLimit" Width="100%" runat="server" />
                                                        </Template>
                                                    </OBgrid:GridTemplate>
                                                    <OBgrid:GridTemplate ID="tplAxis" ControlID="ddlAxis">
                                                        <Template>
                                                            <asp:DropDownList ID="ddlAxis" Width="100%" runat="server">
                                                                <asp:ListItem Value="0">Primary</asp:ListItem>
                                                                <asp:ListItem Value="1">Secondary</asp:ListItem>
                                                            </asp:DropDownList>
                                                        </Template>
                                                    </OBgrid:GridTemplate>
                                                </Templates>
                                            </OBgrid:Grid>
                                        </div>
                                    </asp:WizardStep>
                                    <asp:WizardStep ID="Step4" StepType="Step" runat="server" AllowReturn="false">
                                        <div style="height: 67vh">
                                            <ucRpt:ucAdminLoginControl runat="server" ID="UcAdminLoginInstrumentParameter" />
                                        </div>
                                    </asp:WizardStep>
                                    <asp:WizardStep ID="Step5" StepType="Step" runat="server" AllowReturn="false">
                                        <div class="form-group" style="height: 70vh;" align="center">
                                            <img alt="Prcessing" src="~/../Images/AnimatedProgressBar1.gif" />
                                            <asp:Timer ID="tmrInstrumentSetting" runat="server" Enabled="false" Interval="1000" OnTick="tmrInstrumentSetting_Tick">
                                            </asp:Timer>
                                        </div>
                                    </asp:WizardStep>
                                    <asp:WizardStep ID="Step6" StepType="Step" runat="server" AllowReturn="true">
                                        <div class="form-group">
                                            <div class="col-sm-3">
                                                <asp:TextBox runat="server" ID="txtPInstrumentName" ReadOnly="true" class="form-control" ToolTip="Instrument Name" />
                                            </div>
                                            <div class="col-sm-2">
                                                <asp:TextBox runat="server" ID="txtPInstrumentIP" ReadOnly="true" class="form-control" ToolTip="Instrument IP" />
                                            </div>
                                            <div class="col-sm-2">
                                                <asp:TextBox runat="server" ID="txtPLogInterval" ReadOnly="true" class="form-control" ToolTip="Log Interval" />
                                            </div>
                                            <div class="col-sm-2">
                                                <asp:TextBox runat="server" ID="txtPActiveProbe" ReadOnly="true" class="form-control" ToolTip="Active Probes" />
                                            </div>
                                        </div>
                                        <div class="form-group" style="overflow-y: scroll; overflow-x: hidden; height: 60vh;">
                                            <asp:UpdateProgress ID="UpdateProgress1" runat="server" AssociatedUpdatePanelID="uplChildBody">
                                                <ProgressTemplate>
                                                    <div class="pagemodal">
                                                        <img alt="" src="../Images/AnimatedProgressBar.gif" class="pageloading" />
                                                    </div>
                                                </ProgressTemplate>
                                            </asp:UpdateProgress>
                                            <asp:UpdatePanel runat="server">
                                                <ContentTemplate>
                                                    <asp:Timer ID="tmrInstrumentWriteEventUpdate" ViewStateMode="Enabled" Enabled="false" Interval="2000" OnTick="tmrInstrumentWriteEventUpdate_Tick" runat="server"></asp:Timer>
                                                </ContentTemplate>
                                            </asp:UpdatePanel>
                                            <OBgrid:Grid ID="grdInstrumentWriteEvent" AllowPaging="false" ShowTotalNumberOfPages="false" runat="server" AllowAddingRecords="false" Width="99%" ViewStateMode="Enabled" AllowRecordSelection="false"
                                                AutoGenerateColumns="false" AllowPageSizeSelection="false" FolderStyle="~/App_Include/StyleSheet/Grid/" OnRowDataBound="grdInstrumentWriteEvent_RowDataBound">
                                                <Columns>
                                                    <OBgrid:Column Visible="false" DataField="EquipmentMasterWriteId" Index="0" runat="server"></OBgrid:Column>
                                                    <OBgrid:Column TemplateId="tplSelect1" Visible="false" HeaderTemplateId="tplHSelect1" HeaderAlign="left" HeaderText="" Width="4%" Index="1" runat="server"></OBgrid:Column>
                                                    <OBgrid:Column TemplateId="tplWriteDateTime" HeaderAlign="center" Align="center" Width="15%" DataField="LogDatetime" HeaderText="Write Date Time" Index="2" runat="server"></OBgrid:Column>
                                                    <OBgrid:Column TemplateId="tplParameterLabel" HeaderAlign="center" Width="30%" DataField="SettingParameterLabel" HeaderText="Parameter Label" Index="3" runat="server"></OBgrid:Column>
                                                    <OBgrid:Column TemplateId="tplParameterValue" HeaderAlign="center" Align="center" Width="14%" DataField="SettingParameterValue" HeaderText="Parameter Value" Index="5" runat="server"></OBgrid:Column>
                                                    <OBgrid:Column TemplateId="tplStatus" HeaderAlign="center" Align="center" DataField="Status" Width="9%" HeaderText="Status" Index="6" runat="server"></OBgrid:Column>
                                                    <OBgrid:Column TemplateId="tplStatusDescription" HeaderAlign="center" Width="33%" DataField="StatusDescription" HeaderText="Status Description" Index="7" runat="server"></OBgrid:Column>
                                                </Columns>
                                                <Templates>
                                                    <OBgrid:GridTemplate ID="tplHSelect1" ControlID="chkSelect">
                                                        <Template>
                                                            <asp:CheckBox ID="chkHSelect1" OnCheckedChanged="chkHSelect1_CheckedChanged" AutoPostBack="true" runat="server" />
                                                        </Template>
                                                    </OBgrid:GridTemplate>
                                                    <OBgrid:GridTemplate ID="tplSelect1" ControlID="chkSelect">
                                                        <Template>
                                                            <asp:CheckBox ID="chkSelect" runat="server" />
                                                        </Template>
                                                    </OBgrid:GridTemplate>
                                                    <OBgrid:GridTemplate ID="tplWriteDateTime" ControlID="lblWriteDateTime">
                                                        <Template>
                                                            <asp:Label ID="lblWriteDateTime" Width="100%" runat="server" />
                                                        </Template>
                                                    </OBgrid:GridTemplate>
                                                    <OBgrid:GridTemplate ID="tplParameterLabel" ControlID="lblParameterLabel">
                                                        <Template>
                                                            <asp:TextBox ID="lblParameterLabel" Width="100%" runat="server" Enabled="false" />
                                                        </Template>
                                                    </OBgrid:GridTemplate>
                                                    <OBgrid:GridTemplate ID="tplParameterValue" ControlID="lblParameterValue">
                                                        <Template>
                                                            <asp:Label ID="lblParameterValue" Width="100%" runat="server" />
                                                        </Template>
                                                    </OBgrid:GridTemplate>
                                                    <OBgrid:GridTemplate ID="tplStatus" ControlID="lblStatus">
                                                        <Template>
                                                            <asp:Label ID="lblStatus" Width="100%" runat="server" />
                                                        </Template>
                                                    </OBgrid:GridTemplate>
                                                    <OBgrid:GridTemplate ID="tplStatusDescription" ControlID="lblStatusDescription">
                                                        <Template>
                                                            <asp:TextBox ID="lblStatusDescription" Width="100%" runat="server" Enabled="false" />
                                                        </Template>
                                                    </OBgrid:GridTemplate>
                                                </Templates>
                                            </OBgrid:Grid>
                                            <div class="form-group" align="center">
                                                <asp:Button ID="btnCancel" runat="server" Text="Cancel" OnClick="btnCancel_Click1" CssClass="myButton" CausesValidation="false" ToolTip="Cancel" />
                                            </div>
                                        </div>
                                    </asp:WizardStep>
                                </WizardSteps>
                                <SideBarButtonStyle ForeColor="White" />
                                <StepNavigationTemplate>
                                    <div style="float: right; padding-right: 3%">
                                        <asp:Button ID="btnNext" runat="server" Text="Save & Continue" CssClass="myButton" CommandName="MoveNext" ToolTip="Save & Continue" />
                                        <asp:Button ID="btnCancel" runat="server" Text="Back" CssClass="myButton" CommandName="Back" OnClick="btnCancel_Click" ToolTip="Back" />
                                    </div>
                                </StepNavigationTemplate>
                                <StartNavigationTemplate>
                                    <div style="float: right; padding-right: 3%">
                                        <asp:Button ID="StartNextButton" runat="server" CommandName="MoveNext" Text="Save & Continue" ToolTip="Save & Continue"
                                            CssClass="myButton" />
                                    </div>
                                </StartNavigationTemplate>
                                <FinishNavigationTemplate>
                                    <asp:Button ID="btnFinish" runat="server" Text="Home"
                                        CssClass="myButton" CausesValidation="false"
                                        CommandName="MoveComplete" />

                                </FinishNavigationTemplate>
                                <HeaderStyle ForeColor="White" HorizontalAlign="Center" Font-Size="18px" Font-Bold="True"
                                    BackColor="#fc8d25" BorderStyle="Solid" BorderColor="#E6E2D8" BorderWidth="2px" />
                            </asp:Wizard>
                        </div>
                    </div>
                </div>
                <div class="box-body" id="divSearchContent" runat="server" visible="false">
                    <ucSearch:ucSearchControl ID="ucSearch" runat="server" strSearchProcedurename="EquipmentMaster_Search"
                        strDelePrecedure="EquipmentMaster_Delete" strDeletekeys="0,-1" strDeleteColName="@hdnRecordKeyId,@sssUserId" blnOutParameter="true" strColWidth="0,30,20,13,12,10,10" />
                </div>
            </div>
        </div>
    </div>
</asp:Content>
