<%@ page language="C#" masterpagefile="~/MasterPage.master" autoeventwireup="true" inherits="Configuration_Panels_PanelsInsertUpdate, CardAccess.Web.UI_deploy" title="Panel Insert Update" theme="Office2007Black" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <script id="igClientScript" type="text/javascript">
        function CheckAction(oToolbar, oButton, oEvent) {
            //Add code to handle your event here.
            if (oButton.getItem().get_text() == '<%=this.Cancel%>') {
            }
            else if (oButton.getItem().get_text() == '<%=this.Save %>') {
                var relID = document.getElementById("<%=txtPanelName.ClientID %>");
                var relName = relID.value;

                var cboStationName = $find("<%=cboStationName.ClientID %>");
                var indexCboStationName = cboStationName.get_selectedItemIndex();
                var valCboStationName;
                if (indexCboStationName >= 0) {
                    valCboStationName = cboStationName.get_selectedItem().get_value();
                }

                var combo = $find("<%=cboComPort.ClientID %>");
                var index = combo.get_selectedItemIndex();
                var comVal;
                if (index >= 0) {
                    comVal = combo.get_selectedItem().get_value();
                }

                if (valCboStationName == undefined || valCboStationName.length <= 0) {
                    alert("<%=this.ComServerRequired%>");
                    oButton.set_cancel(true);
                }
                else if (comVal == undefined || comVal.length <= 0) {
                    alert("<%=this.ComportRequired%>");
                    oButton.set_cancel(true);
                }
                else if (relName.trim().length <= 0) {
                    alert("<%= this.PanelNameRequired %>");
                    oButton.set_cancel(true);
                }
            }
        }
        function ClientCallback(result, context) {
            if (result == "1") {
                alert('<%=PanelExistMessage %>');
                $find('<%=nePanelNo.ClientID %>').set_text(panelno_oldvalue);
                $find('<%=nePanelNo.ClientID %>').setFocus();
            }
        }
        var panelno_oldvalue;
        var nePanelNo;
        function neReaderNo_ValueChange(oEdit, oldValue, oEvent) {
            nePanelNo = oEdit.get_value();
            panelno_oldvalue = oldValue.get_oldValue();
            var sendingargument = "";
            sendingargument = oEdit.get_text();
            WebForm_DoCallback('__Page', sendingargument, ClientCallback, null, null, false);
        }

        function chkUsingElevatorReaders_Click() {
            if ($('input[@id=<%=chkUsingElevatorReaders.ClientID %>]').is(':checked')) {
                var EnableSoftwareElevCtrl = '<%=EnableSoftwareElevCtrl %>';
                if (EnableSoftwareElevCtrl == 'True') {
                    document.getElementById("<%=gbEleControlType.ClientID %>").style.display = 'block';
                }
                alert("<%=ElevatorReadersChecked %>");
            }
            else {
                document.getElementById("<%=gbEleControlType.ClientID %>").style.display = 'none';
                alert("<%=ElevatorReadersUnchecked %>");
            }
        }
    </script>
    <asp:UpdatePanel ID="upEditorToolbar" runat="server" UpdateMode="Conditional">
        <ContentTemplate>
            <AEL:ConfigurationEditorToolBar ID="ConfigurationEditorToolBar1" runat="server" ClientSideEvent_Click="CheckAction"
                OnCancel="editorToolbar_OnCancel" OnSave="ConfigurationEditorToolBar1_OnSave">
            </AEL:ConfigurationEditorToolBar>
        </ContentTemplate>
    </asp:UpdatePanel>
    <div>
        <table cellpadding="0" cellspacing="0" style="width: 100%;">
            <tr>
                <td>
                    <asp:UpdatePanel ID="WebAsyncRefreshPanel1" runat="server">
                        <ContentTemplate>
                            <ig:WebTab ID="tbPanel" runat="server" SelectedTab="0" Style="width: 100% !important;
                                min-width: 100% !important;">
                                <Tabs>
                                    <ig:ContentTabItem Text="General" Style="min-height: 350px;">
                                        <Template>
                                            <table cellpadding="0" cellspacing="3" width="100%">
                                                <tr valign="top">
                                                    <td style="width: 350px;">
                                                        <table cellpadding="1" cellspacing="2" width="100%">
                                                            <tr>
                                                                <td style="width: 125px;">
                                                                    <asp:Label ID="lblPanelNo" Text="Panel #" runat="server"></asp:Label>
                                                                </td>
                                                                <td style="width: auto;">
                                                                    <ig:WebNumericEditor ID="nePanelNo" runat="server" Width="200px" NullText="0">
                                                                        <ClientEvents ValueChanged="neReaderNo_ValueChange" />
                                                                        <Buttons SpinButtonsDisplay="OnRight" CustomButtonDisplay="None">
                                                                        </Buttons>
                                                                    </ig:WebNumericEditor>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td>
                                                                    <asp:Label ID="lblPanelName" Text="Panel Name" runat="server"></asp:Label>
                                                                </td>
                                                                <td>
                                                                    <ig:WebTextEditor ID="txtPanelName" runat="server" Width="198px">
                                                                    </ig:WebTextEditor>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td>
                                                                    <asp:Label ID="lblPartitionGroup" Text="Partition Group" runat="server"></asp:Label>
                                                                </td>
                                                                <td>
                                                                    <ig:WebDropDown ID="cboPartitionGroup" runat="server" DisplayMode="DropDownList"
                                                                        Width="200px" EnableDropDownAsChild="false" EnableMultipleSelection="True" MultiSelectValueDelimiter=" | ">
                                                                        <ClientEvents />
                                                                    </ig:WebDropDown>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td>
                                                                    <asp:Label ID="lblPanelType" Text="Panel Type" runat="server"></asp:Label>
                                                                </td>
                                                                <td>
                                                                    <ig:WebDropDown ID="cboPanelType" runat="server" DisplayMode="DropDownList" Width="200px"
                                                                        EnableDropDownAsChild="false" AutoPostBack="true" OnSelectionChanged="cmbPanelType_SelectedRowChanged">
                                                                    </ig:WebDropDown>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td colspan="2">
                                                                    <asp:CheckBox ID="chkCabinetLock" runat="server" Text="Support Cabinet Locks" Visible="false" />
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td>
                                                                    <asp:Label ID="lblNAPCOPanelLink" Text="NAPCO Panel Link" runat="server"></asp:Label>
                                                                </td>
                                                                <td>
                                                                    <ig:WebDropDown ID="cboNapcoPanelLink" runat="server" DisplayMode="DropDownList"
                                                                        EnableDropDownAsChild="false" Width="200px">
                                                                    </ig:WebDropDown>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td>
                                                                    <asp:Label ID="lblDeviceHolidayCalendar" Text="Device Holiday Calendar" runat="server"></asp:Label>
                                                                </td>
                                                                <td>
                                                                    <ig:WebDropDown ID="cboDeviceHolidayCalendar" runat="server" DisplayMode="DropDownList"
                                                                        EnableDropDownAsChild="false" Width="200px">
                                                                    </ig:WebDropDown>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td colspan="2">
                                                                    <igmisc:WebGroupBox ID="gboConnection" runat="server" Text="Connection" Width="329px"
                                                                        BackColor="Transparent">
                                                                        <Template>
                                                                            <table cellpadding="1" cellspacing="2" width="100%">
                                                                                <tr>
                                                                                    <td style="width: 117px; padding-left: 5px;">
                                                                                        <asp:Label ID="lblPanelAddress" Text="Panel Address" runat="server"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <ig:WebNumericEditor ID="nePanelAddress" runat="server" Width="190px" DataMode="Int"
                                                                                            NullText="1">
                                                                                            <Buttons SpinButtonsDisplay="OnRight" CustomButtonDisplay="None">
                                                                                            </Buttons>
                                                                                        </ig:WebNumericEditor>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td style="padding-left: 5px;">
                                                                                        <asp:Label ID="lblStationName" Text="Station Name" runat="server"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <ig:WebDropDown ID="cboStationName" runat="server" DisplayMode="DropDownList" Width="190px"
                                                                                            EnableDropDownAsChild="false" AutoPostBack="true" OnSelectionChanged="cboStationName_SelectedRowChanged">
                                                                                        </ig:WebDropDown>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td style="padding-left: 5px;">
                                                                                        <asp:Label ID="lblComPort" Text="Com Port" runat="server"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <ig:WebDropDown ID="cboComPort" runat="server" DisplayMode="DropDownList" Width="190px"
                                                                                            EnableDropDownAsChild="false" AutoPostBack="true" OnSelectionChanged="cboComPort_SelectedRowChanged">
                                                                                        </ig:WebDropDown>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblIPAddress" runat="server" Text="Label"></asp:Label>
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </Template>
                                                                    </igmisc:WebGroupBox>
                                                                    <br />
                                                                    <igmisc:WebGroupBox ID="gbPanelZone" runat="server" Text="Panel Zone" Width="329px"
                                                                        Height="38" BackColor="Transparent">
                                                                        <Template>
                                                                            <div style="padding-left: 5px; padding-top: 5px;">
                                                                                <asp:Label ID="lblPanelZone" runat="server" Text=""></asp:Label>
                                                                            </div>
                                                                        </Template>
                                                                    </igmisc:WebGroupBox>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </td>
                                                    <td style="width: auto;">
                                                        <table>
                                                            <tr>
                                                                <td>
                                                                    <asp:CheckBox ID="chkEnabled" runat="server" Text="Enabled" />
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td>
                                                                    <asp:CheckBox ID="chkInteractiveBadges" runat="server" Text="Interactive Badges" />
                                                                    <asp:Panel ID="pnlLockUpateSch" runat="server" GroupingText="Lock Update Schedule"
                                                                        Visible="false">
                                                                        <table border="0" cellpadding="0" cellspacing="0">
                                                                            <tr>
                                                                                <td style="width: 85px;">
                                                                                    <asp:RadioButton ID="rdoManually" runat="server" Text="Manually" GroupName="grpLockUpdate" /><br />
                                                                                    <br />
                                                                                    <asp:RadioButton ID="rdoRealTime" runat="server" Text="Real-Time" GroupName="grpLockUpdate" />
                                                                                </td>
                                                                                <td>
                                                                                    <asp:Panel ID="pnlLockInfo" runat="server" GroupingText="Lock Info" Visible="false">
                                                                                        <table border="0" cellpadding="0" cellspacing="0">
                                                                                            <tr>
                                                                                                <td style="width: 200px;">
                                                                                                    <asp:Label ID="lblType" runat="server" Text="Type"></asp:Label><br />
                                                                                                    <br />
                                                                                                    <asp:Label ID="lblSN" runat="server" Text="S/N"></asp:Label>
                                                                                                    <br />
                                                                                                    <br />
                                                                                                    <asp:Label ID="lblBatteryLevel" runat="server" Text="Battery level : ?"></asp:Label>
                                                                                                </td>
                                                                                            </tr>
                                                                                        </table>
                                                                                    </asp:Panel>
                                                                                </td>
                                                                            </tr>
                                                                        </table>
                                                                    </asp:Panel>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td>
                                                                    <asp:CheckBox ID="chkRepeatOfflineAlert" runat="server" Text="Repeat Off-Line Alert" />
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td>
                                                                    <asp:CheckBox ID="chkUsingElevatorReaders" runat="server" Text="Using Elevator Readers"
                                                                        AutoPostBack="false" onClick="chkUsingElevatorReaders_Click()" />
                                                                    <br />
                                                                    <igmisc:WebGroupBox ID="gbEleControlType" runat="server" Text="Elevator Control Type"
                                                                        Width="329px" Height="38" BackColor="Transparent">
                                                                        <Template>
                                                                            <ig:WebDropDown ID="ddEleControlType" runat="server" DisplayMode="DropDownList" Width="190px" DropDownContainerHeight="60px"
                                                                                EnableDropDownAsChild="false">
                                                                            </ig:WebDropDown>
                                                                        </Template>
                                                                    </igmisc:WebGroupBox>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td>
                                                                    <asp:CheckBox ID="chkEnablePassword" runat="server" Text="Enable Password" />
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td>
                                                                    <asp:CheckBox ID="chkDegradeMode" runat="server" Text="Degrade Mode ON" />
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td>
                                                                    <asp:CheckBox ID="chkRemoteClock" runat="server" Text="Enable Remote Clock" />
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td>
                                                                    <asp:Panel ID="gbXactRetrieval" runat="server" GroupingText="Event Retrieval Schedule"
                                                                        Visible="false">
                                                                        <asp:RadioButton ID="rbImmediate" runat="server" Text="Immediately" GroupName="grpRetrievalSch" />
                                                                        <asp:RadioButton ID="rbDaily" runat="server" Text="Daily" GroupName="grpRetrievalSch" />
                                                                        <asp:RadioButton ID="rbWeekly" runat="server" Text="Weekly" GroupName="grpRetrievalSch" />
                                                                        <asp:RadioButton ID="rbOnDemand" runat="server" Text="On Demand" GroupName="grpRetrievalSch" />
                                                                    </asp:Panel>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                        <igmisc:WebGroupBox ID="gboInitializationParameters" runat="server" Text="Initialization Parameters"
                                                            Width="320px" BackColor="Transparent">
                                                            <Template>
                                                                <table cellpadding="1" cellspacing="3" width="100%">
                                                                    <tr>
                                                                        <td colspan="2">
                                                                            &nbsp;
                                                                        </td>
                                                                        <td style="width: 50px;">
                                                                            <div style="text-align: center; text-decoration: underline;">
                                                                                <asp:Label ID="lblActual" runat="server" Text="Actual"></asp:Label></div>
                                                                        </td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td style="width: 150px; padding-left: 5px;">
                                                                            <asp:Label ID="lblTransactionBufferSize" runat="server" Text="Transaction Buffer Size"></asp:Label>
                                                                        </td>
                                                                        <td style="width: 120px;">
                                                                            <ig:WebNumericEditor ID="seTransBuffSize" runat="server" Width="120">
                                                                                <Buttons SpinButtonsDisplay="OnRight" CustomButtonDisplay="None">
                                                                                </Buttons>
                                                                            </ig:WebNumericEditor>
                                                                        </td>
                                                                        <td style="text-align: center">
                                                                            <asp:Label ID="lblTransactionBufferSize_Actual" runat="server" Text="0">RR</asp:Label>
                                                                        </td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td style="padding-left: 5px">
                                                                            <asp:Label ID="lblTimeScheduleBlocks" runat="server" Text="Time Schedule Blocks"></asp:Label>
                                                                        </td>
                                                                        <td colspan="2">
                                                                            <ig:WebNumericEditor ID="seTimeSchedBlocks" runat="server" Width="120" NullText="0">
                                                                                <Buttons SpinButtonsDisplay="OnRight" CustomButtonDisplay="None">
                                                                                </Buttons>
                                                                            </ig:WebNumericEditor>
                                                                        </td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td style="padding-left: 5px">
                                                                            <asp:Label ID="lblMaxAccessGroups" runat="server" Text="Max Access Groups"></asp:Label>
                                                                        </td>
                                                                        <td>
                                                                            <ig:WebNumericEditor ID="seMaxAccessGroups" runat="server" Width="120">
                                                                                <Buttons SpinButtonsDisplay="OnRight" CustomButtonDisplay="None">
                                                                                </Buttons>
                                                                            </ig:WebNumericEditor>
                                                                        </td>
                                                                        <td style="text-align: center">
                                                                            <asp:Label ID="lblMaxAccessGroups_Actual" runat="server" Text="0">RR</asp:Label>
                                                                        </td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td style="padding-left: 5px;">
                                                                            <asp:Label ID="lblMaxActivityLinks" runat="server" Text="Max Activity Links"></asp:Label>
                                                                        </td>
                                                                        <td>
                                                                            <ig:WebNumericEditor ID="seMaxActivityLinks" runat="server" Width="120">
                                                                                <Buttons SpinButtonsDisplay="OnRight" CustomButtonDisplay="None">
                                                                                </Buttons>
                                                                            </ig:WebNumericEditor>
                                                                        </td>
                                                                        <td style="text-align: center">
                                                                            <asp:Label ID="lblMaxActivityLinks_Actual" runat="server" Text="0">RR</asp:Label>
                                                                        </td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td style="padding-left: 5px;">
                                                                            <asp:Label ID="lblMaxBadges" runat="server" Text="Max Badges (Est):"></asp:Label>
                                                                        </td>
                                                                        <td align="center">
                                                                            <asp:Label ID="lblMaxBadgeValue" runat="server" Text="100"></asp:Label>
                                                                        </td>
                                                                        <td>
                                                                            &nbsp;
                                                                        </td>
                                                                    </tr>
                                                                </table>
                                                            </Template>
                                                        </igmisc:WebGroupBox>
                                                    </td>
                                                </tr>
                                            </table>
                                        </Template>
                                    </ig:ContentTabItem>
                                    <ig:ContentTabItem Text="Priorities">
                                        <Template>
                                            <table style="height: 340px;" width="100%">
                                                <tr valign="Top">
                                                    <td>
                                                        <igmisc:WebGroupBox ID="wgbPriorities" runat="server" Text="Priorities" Width="500px"
                                                            BackColor="Transparent">
                                                            <Template>
                                                                <table>
                                                                    <tr>
                                                                        <td>
                                                                            &nbsp
                                                                        </td>
                                                                        <td>
                                                                            &nbsp
                                                                        </td>
                                                                        <td width="150px" align="center">
                                                                            <asp:Label ID="lblRequiresOperatorResponse" runat="server" Text="Requires Operator Response"></asp:Label>
                                                                            <br />
                                                                            <hr style="height: 1px" />
                                                                        </td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td>
                                                                            <asp:Label ID="lblOffOnLine" runat="server" Text="Off/On Line:"></asp:Label>
                                                                        </td>
                                                                        <td style="width: 120px;">
                                                                            <ig:WebNumericEditor ID="spnOnOffLinePriority" MaxLength="2" runat="server">
                                                                                <Buttons SpinButtonsDisplay="OnRight" CustomButtonDisplay="None">
                                                                                </Buttons>
                                                                            </ig:WebNumericEditor>
                                                                        </td>
                                                                        <td align="center">
                                                                            <asp:CheckBox ID="chkOnOffLinePriority" runat="server" Checked="false" Text="Yes" />
                                                                        </td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td style="width: 120px;">
                                                                            <asp:Label ID="lblDownloads" runat="server" Text="Downloads:"></asp:Label>
                                                                        </td>
                                                                        <td>
                                                                            <ig:WebNumericEditor ID="spnDownLoadsPriority" MaxLength="2" runat="server">
                                                                                <Buttons SpinButtonsDisplay="OnRight" CustomButtonDisplay="None">
                                                                                </Buttons>
                                                                            </ig:WebNumericEditor>
                                                                        </td>
                                                                        <td width="150px" align="center">
                                                                            <asp:CheckBox ID="chkDownLoadsPriority" runat="server" Checked="false" Text="Yes" />
                                                                        </td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td>
                                                                            <asp:Label ID="lblAcPowerFail" runat="server" Text="AC Power Fail:"></asp:Label>
                                                                        </td>
                                                                        <td>
                                                                            <ig:WebNumericEditor ID="spnACPowerFailPriority" MaxLength="2" runat="server">
                                                                                <Buttons SpinButtonsDisplay="OnRight" CustomButtonDisplay="None">
                                                                                </Buttons>
                                                                            </ig:WebNumericEditor>
                                                                            <ig:WebNumericEditor ID="spnLowBatteryPriority" MaxLength="2" runat="server" Visible="false">
                                                                                <Buttons SpinButtonsDisplay="OnRight" CustomButtonDisplay="None">
                                                                                </Buttons>
                                                                            </ig:WebNumericEditor>
                                                                        </td>
                                                                        <td width="150px" align="center">
                                                                            <asp:CheckBox ID="chkACPowerFailPriority" runat="server" Checked="false" Text="Yes" />
                                                                            <asp:CheckBox ID="chkLowBatteryPriority" runat="server" Visible="false" Checked="false"
                                                                                Text="Yes" />
                                                                        </td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td>
                                                                            <asp:Label ID="lblModemActivity" runat="server" Text="Modem Activity:"></asp:Label>
                                                                        </td>
                                                                        <td>
                                                                            <ig:WebNumericEditor ID="spnModemActivityPriority" MaxLength="2" runat="server">
                                                                                <Buttons SpinButtonsDisplay="OnRight" CustomButtonDisplay="None">
                                                                                </Buttons>
                                                                            </ig:WebNumericEditor>
                                                                        </td>
                                                                        <td width="150px" align="center">
                                                                            <asp:CheckBox ID="chkModemActivityPriority" runat="server" Checked="false" Text="Yes" />
                                                                        </td>
                                                                    </tr>
                                                                </table>
                                                            </Template>
                                                        </igmisc:WebGroupBox>
                                                    </td>
                                                </tr>
                                            </table>
                                        </Template>
                                    </ig:ContentTabItem>
                                    <ig:ContentTabItem Text="Map">
                                        <Template>
                                            <table style="height: 340px; width: 100%;">
                                                <tr valign="top">
                                                    <td>
                                                        <table>
                                                            <tr valign="top">
                                                                <td style="width: 150px;">
                                                                    <asp:Label ID="lblMapName" runat="server" Text="Facility Map for this Device"></asp:Label>
                                                                </td>
                                                                <td>
                                                                    <ig:WebTextEditor ID="txtFacilityMap" runat="server" Width="480" ReadOnly="true">
                                                                    </ig:WebTextEditor>
                                                                </td>
                                                                <td rowspan="2" runat="server" id="map_cell_image">
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td style="vertical-align: top;">
                                                                    <asp:Label ID="lblMapDescription" runat="server" Text="Map Description"></asp:Label>
                                                                </td>
                                                                <td style="vertical-align: top;">
                                                                    <ig:WebTextEditor ID="txtMapDescription" runat="server" Height="180" Width="480"
                                                                        TextMode="MultiLine" ReadOnly="true">
                                                                    </ig:WebTextEditor>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </td>
                                                </tr>
                                            </table>
                                        </Template>
                                    </ig:ContentTabItem>
                                    <ig:ContentTabItem Text="Location/Remarks">
                                        <Template>
                                            <table style="height: 340px; width: 100%;">
                                                <tr valign="top">
                                                    <td style="padding-right: 10px;">
                                                        <asp:Label ID="lblLocation" runat="server" Text="Location"></asp:Label>
                                                        <br />
                                                        <ig:WebTextEditor ID="txtLocation" runat="server" Width="100%">
                                                        </ig:WebTextEditor>
                                                    </td>
                                                </tr>
                                                <tr valign="top">
                                                    <td style="padding-right: 15px;">
                                                        <asp:Label ID="lblRemarks" runat="server" Text="Remarks"></asp:Label>
                                                        <br />
                                                        <asp:TextBox ID="txtRemarks" runat="server" Width="100%" Height="270px" TextMode="MultiLine"></asp:TextBox>
                                                    </td>
                                                </tr>
                                            </table>
                                        </Template>
                                    </ig:ContentTabItem>
                                </Tabs>
                            </ig:WebTab>
                        </ContentTemplate>
                    </asp:UpdatePanel>
                </td>
            </tr>
        </table>
    </div>
</asp:Content>
