<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="CSEasyWMDefinition.aspx.vb" Inherits="CSEasyWM.CSEasyWMDefinition" %>
<%@ register tagprefix="ex" namespace="Exact.Web.UI.Controls" assembly="Exact.Web.UI.Controls" %>
<html>
<head>
	<meta name="save" content="history" />
	<link rel="stylesheet" type="text/css" href="Exact.css" />

<style type="text/css">
.watermark
{
	color: #999;
	font-style: italic;
}
#SQLQuerySelect, #SQLQueryFrom, #SQLQueryWhere, #SQLQueryOrderBy
{
    font-family: Consolas, Courier New, Courier, monospace !important;
}
</style>

    <script language="javascript" type="text/javascript" src="jquery.js"></script>
    <script language="javascript" type="text/javascript">
    $(document).ready(function () {
        $('button[class="tab"]').removeAttr('onclick');
        $('button[class="tab"]').click(function () {
            var selTab = $(this).attr('id').replace('tab_', '');
            var _this = SysGetElement($(this).attr('id'));
            SysSet('currentTab', selTab);
            SysSetTab(_this, "tab", selTab);
            TabSwitchtab("tab");
            window.scrollTo(0, document.body.scrollHeight || document.documentElement.scrollHeight);
        });

        if ($('#currentTab').val() != '') {
            $('#tab_' + $('#currentTab').val()).trigger('click');
        }

        if ($('#SQLQuerySelect').length > 0) {
            $('#SQLQuerySelect').blur(function () {
                if ($(this).val().length == 0)
                    $(this).val('SELECT column1, column2').addClass('watermark');
            });
            $('#SQLQuerySelect').focus(function () {
                if ($(this).val() == 'SELECT column1, column2')
                    $(this).val('').removeClass('watermark');
            });
            if ($('#SQLQuerySelect').val().length == 0)
                $('#SQLQuerySelect').val('SELECT column1, column2').addClass('watermark');
        }
        if ($('#SQLQueryFrom').length > 0) {
            $('#SQLQueryFrom').blur(function () {
                if ($(this).val().length == 0)
                    $(this).val('FROM table').addClass('watermark');
            });
            $('#SQLQueryFrom').focus(function () {
                if ($(this).val() == 'FROM table')
                    $(this).val('').removeClass('watermark');
            });
            if ($('#SQLQueryFrom').val().length == 0)
                $('#SQLQueryFrom').val('FROM table').addClass('watermark');
        }
        if ($('#SQLQueryWhere').length > 0) {
            $('#SQLQueryWhere').blur(function () {
                if ($(this).val().length == 0)
                    $(this).val('WHERE column3 = 15').addClass('watermark');
            });
            $('#SQLQueryWhere').focus(function () {
                if ($(this).val() == 'WHERE column3 = 15')
                    $(this).val('').removeClass('watermark');
            });
            if ($('#SQLQueryWhere').val().length == 0)
                $('#SQLQueryWhere').val('WHERE column3 = 15').addClass('watermark');
        }
        if ($('#SQLQueryOrderBy').length > 0) {
            $('#SQLQueryOrderBy').blur(function () {
                if ($(this).val().length == 0)
                    $(this).val('ORDER BY column4').addClass('watermark');
            });
            $('#SQLQueryOrderBy').focus(function () {
                if ($(this).val() == 'ORDER BY column4')
                    $(this).val('').removeClass('watermark');
            });
            if ($('#SQLQueryOrderBy').val().length == 0)
                $('#SQLQueryOrderBy').val('ORDER BY column4').addClass('watermark');
        }
    });

    function OpenModalWindow(url, width, height) {
        SysShowModalPopup(url, "", width + "px", height + "px", function () { ModalWindowClosed(); }, null);
    }

    function ModalWindowClosed() {
        var res = SysDialog.returnValue;
        if (res == null || res.length == 0) return;

        if (res[0] == 'refresh') {
            //SysSet('BCAction', 4); // Validate
            SysSubmit(1);
        }
    }

    function CopyQuery() {
        var sql = '';
        if (!$('#SQLQuerySelect').hasClass('watermark')) {
            sql = $('#SQLQuerySelect').val();
        }
        if (!$('#SQLQueryFrom').hasClass('watermark')) {
            if (sql != '') sql += '\r\n\r\n';
            sql += $('#SQLQueryFrom').val();
        }
        if (!$('#SQLQueryWhere').hasClass('watermark')) {
            if (sql != '') sql += '\r\n\r\n';
            sql += $('#SQLQueryWhere').val();
        }
        if (!$('#SQLQueryOrderBy').hasClass('watermark')) {
            if (sql != '') sql += '\r\n\r\n';
            sql += $('#SQLQueryOrderBy').val();
        }
        if (sql == '') {
            SysConfirm(5, 421039, 'SQL Query is missing in Definition.');
        } else {
            SysShowModalPopup('CSEasyWMDefinitionQueryToClipboard.aspx?sql=' + SysURLEncode(sql), "", "800px", "600px", null, null);
        }
    }

    function AskDoCopy()
    {
        var callback = function () {
            if (SysDialog.returnValue == true) {
                $('#DoCopy').val('1');
                $('#BCAction').val('7');
                SysSubmit(1);
            }
        };

        var explanation = SysTerm(421086, 'All data including lists and template document will be copied.');
        SysShowModalPopup(SysConfirmUrl(4, 421085, 'Are you sure you want to copy the definition?', explanation), null, SysConfirmWidth(explanation), SysConfirmHeight(explanation), function () { callback(); }, null, 'scroll:no;');
    }
</script>

</head>
<body>

<ep:form id="frm" runat="server">

<ex:InputField runat="server" ID="NewStatus" CreateClientControl="True" Hidden="True" />
<ex:InputField runat="server" ID="DoCopy" CreateClientControl="True" Hidden="True" ValidationAs="Int" ValidationDefault="0" />
<ex:InputField runat="server" ID="DoValidate" CreateClientControl="True" Hidden="True" ValidationAs="Int" ValidationDefault="0" />
<ex:InputField runat="server" ID="DoCreateSelect" CreateClientControl="True" Hidden="True" ValidationAs="Int" ValidationDefault="0" />
<ex:InputField runat="server" ID="currentTab" CreateClientControl="True" Hidden="True" />
<ex:InputField runat="server" ID="cacheid" CreateClientControl="True" Hidden="True" ValidationAs="Guid" />

<ex:CardControl runat="server" ID="Card">
    <ex:Header runat="server" ID="hdr" Caption="Definition" CaptionID="421027">
        <ex:HeaderButton ID="hbWordMacro" ButtonStyle="Custom" Tooltip="Generate VBScript module for MS Word" TooltipID="421031" Visible="False" Image="filetype_word.svg" /> 
        <ex:HeaderButton ID="hbExport" ButtonStyle="Custom" Tooltip="Export" TooltipID="8577" Image="filetype_code.svg" Visible="False" /> 
        <ex:HeaderButton ID="hbFavorite" ButtonStyle="Favorite" /> 
    </ex:Header>

    <ex:headerproperties runat="server" id="hdrProps" headerpropertiesstyle="CreatedModified" datasource="bc" datafieldcreated="Created" datafieldcreator="Creator" datafieldcreatorname="CreatorFullName" datafieldmodified="Modified" datafieldmodifier="Modifier" datafieldmodifiername="ModifierFullName" />

    <ex:ButtonBar runat="server" ID="Buttons">
        <ex:Button runat="server" ID="btnSave" ButtonStyle="Save" DataSource="bc" />
        <ex:Button runat="server" ID="btnDevelopment" ButtonStyle="Custom" Caption="Change status to Development" CaptionID="421060" onClick="SysSet('NewStatus', 'D'); SysSet('BCAction', 7); SysSubmit(1);" />
        <ex:Button runat="server" ID="btnTest" ButtonStyle="Custom" Caption="Change status to Test mode" CaptionID="421059" onClick="SysSet('NewStatus', 'T'); SysSet('BCAction', 7); SysSubmit(1);" />
        <ex:Button runat="server" ID="btnRelease" ButtonStyle="Custom" Caption="Release definition" CaptionID="421061" onClick="SysSet('NewStatus', 'R'); SysSet('BCAction', 7); SysSubmit(1);" />
        <ex:Button runat="server" ID="btnArchived" ButtonStyle="Custom" Caption="Archive" CaptionID="43" onClick="SysSet('NewStatus', 'A'); SysSet('BCAction', 7); SysSubmit(1);" />
        <ex:Button runat="server" ID="btnDelete" ButtonStyle="Delete" DataSource="bc" />
        <ex:Button runat="server" ID="btnCopy" ButtonStyle="Custom" Caption="Copy" CaptionID="5255" onClick="AskDoCopy();" />
        <ex:Button runat="server" ID="btnGenerate" ButtonStyle="Custom" Caption="Generate" CaptionID="330" />
        <ex:Button runat="server" ID="btnClose" ButtonStyle="Close" />
    </ex:ButtonBar>

    <ex:BCDataSource runat="server" ID="bc" Component="CSEasyWMDefs" ListPage="CSEasyWMMenuMaint.aspx" AddNewProps="Title" />
    <ex:bcerrormessages runat="server" id="validationMessages" Mode="Notification" />

    <ex:cardrow runat="server" id="crDef">
	    <ex:cardcolumn runat="server" id="ccDef">
		    <ex:cardsection runat="server" id="csGeneral" caption="Definition" captionid="421027">
			    <ex:cardfield runat="server" id="cfTitle" caption="Title" captionid="10189">
				    <ex:inputfield runat="server" id="DefinitionTitle" datasource="bc" DataField="Title" />
			    </ex:cardfield>
                <ex:cardfield runat="server" id="cfStatus" caption="Status" captionid="4332">
				    <ex:combobox runat="server" id="Status" datasource="bc" ReadOnly="True" />
			    </ex:cardfield>
                <ex:cardfield runat="server" id="cfDescription" caption="Description" captionid="4243">
                    <ex:memofield id="Description" runat="server" datasource="bc" width="100%" height="3" htmlencoded="true" />
			    </ex:cardfield>
                <ex:cardfield runat="server" id="cfTemplateDocumentID" caption="Template" captionid="9844">
                    <ex:browsefield runat="server" id="TemplateDocumentID" datasource="bc" datafieldreference="TemplateDocumentSubject" enablequicksearch="false"  altkeydomain="DocumentID" altkeysql="SELECT ID FROM BacoDiscussions WHERE HID=@P1" standardbrowser="Document" BrowserWhereClause="TypeID in (select LinkID from CSEasyWMDocumentType where ContainsTemplates = 1) and exists(select * from Attachments sub where sub.Entity = BacoDiscussions.ID and sub.EntityType = 2 and sub.AttachmentFileExtension in ('docx', 'docm'))" InputSize="8" />
			    </ex:cardfield>
            </ex:cardsection>
        </ex:cardcolumn>
    </ex:cardrow>
    <ex:cardrow runat="server" id="crBehaviour">
        <ex:cardcolumn runat="server" id="ccBehaviour2">
            <ex:cardsection runat="server" id="csBehaviour2" caption="Generate" captionid="330">
                <ex:cardfield runat="server" id="cfNewPagePerRecord" caption="New page for each record" captionid="421071">
				    <ex:CheckBox runat="server" ID="NewPagePerRecord" DataSource="bc" />
			    </ex:cardfield>
                <ex:cardfield runat="server" id="cfBackgroundJob" caption="Run in background job" captionid="421253">
				    <ex:CheckBox runat="server" ID="RunInBackgroundJob" DataSource="bc" />
			    </ex:cardfield>
		    </ex:cardsection>
	    </ex:cardcolumn>
        <ex:cardcolumn runat="server" id="ccBehaviour3">
            <ex:cardsection runat="server" id="csBehaviour3" caption="Generate" captionid="330" captionsuffix=":Skip" captionsuffixid="4499">
                <ex:cardfield runat="server" id="cfSkipPreview" caption="Preview" captionid="23150">
                    <ex:checkbox runat="server" id="SkipPreview" DataSource="bc" />
                </ex:cardfield>
                <ex:cardfield runat="server" id="cfSkipResult" caption="Result" captionid="7151">
                    <ex:checkbox runat="server" id="SkipResult" DataSource="bc" />
                </ex:cardfield>
		    </ex:cardsection>
	    </ex:cardcolumn>
    </ex:cardrow>
    <ex:cardrow runat="server" id="crQuery">
        <ex:cardcolumn runat="server" id="ccQuery">
            <ex:cardsection runat="server" id="csQuery" caption="Query" captionid="13207">
                <ex:cardfield runat="server" id="cfConnection" caption="Connection" captionid="27055">
                    <ex:combobox id="Connection" runat="server" datasource="bc" />
			    </ex:cardfield>
                <ex:cardfield runat="server" id="cfSQLQuerySelect" caption="SELECT-clause" captionid="421040">
                    <ex:memofield id="SQLQuerySelect" runat="server" datasource="bc" width="100%" height="8" htmlencoded="true" />
			    </ex:cardfield>
                <ex:cardfield runat="server" id="cfSQLQueryFrom" caption="FROM-clause" captionid="421041">
                    <ex:memofield id="SQLQueryFrom" runat="server" datasource="bc" width="100%" height="4" htmlencoded="true" />
			    </ex:cardfield>
                <ex:cardfield runat="server" id="cfSQLQueryWhere" caption="WHERE-clause" captionid="421042">
                    <ex:memofield id="SQLQueryWhere" runat="server" datasource="bc" width="100%" height="4" htmlencoded="true" />
			    </ex:cardfield>
                <ex:cardfield runat="server" id="cfSQLQueryOrderBy" caption="ORDER BY-clause" captionid="421043">
                    <ex:memofield id="SQLQueryOrderBy" runat="server" datasource="bc" width="100%" height="4" htmlencoded="true" />
			    </ex:cardfield>
                <ex:cardfield runat="server" id="cfSQLQueryButtons" caption="" captionid="0">
                    <ex:Button runat="server" ID="btnValidate" ButtonStyle="Custom" Caption="Validate" CaptionID="32555" onClick="SysSet('DoValidate', 1); SysSet('BCAction', 4); SysSubmit(1);" />
                    <ex:Button runat="server" ID="btnCopyQuery" ButtonStyle="Copy" onClick="CopyQuery();" />
                    <ex:Button runat="server" ID="btnCreateSelect" ButtonStyle="Custom" Caption="Create SELECT-clause" CaptionID="421201" onClick="SysSet('DoCreateSelect', 1); SysSet('BCAction', 4); SysSubmit(1);" />
                </ex:cardfield>
            </ex:cardsection>
	    </ex:cardcolumn>
    </ex:cardrow>

	<ex:cardrow runat="server" id="crTab" SingleColumn="true">
		<ex:cardcolumn runat="server" id="ccTab">				
            <ex:CardTabSection runat="server" ID="csTab" CaptionID="0" ShowHeader="false" customizecolumns="False" customizerows="False">
                <ex:Tabstrip runat="server" ID="tab">
					<ex:tabpage runat ="server"  caption="Columns" captionid="1253" id="tabColumns">
						<ex:cardlistview runat="server" id="csColumns" showheader="True" customizecolumns="False" customizerows="False">
							<ex:listview runat="server" id="ListColumns" caption="Columns" captionid="1253" showbutton="False" showpagesize="false" ongetdata="ListColumnsOnGetData" onquery="ListColumnsOnQuery" ruler="false">
                                <Columns>
                                    <ex:listviewcolumn captionid="27288" caption="Alias" width="30%" />
                                    <ex:listviewcolumn captionid="22703" caption="Column name" width="35%" />
                                    <ex:listviewcolumn captionid="17159" caption="Data type" width="10%" />
                                    <ex:listviewcolumn captionid="34348" caption="Display options" width="10%" />
                                    <ex:listviewcolumn captionid="3801" caption="Type" width="15%" />
                                </Columns>
							</ex:listview>

							<ex:listview runat="server" id="ListEmpData" caption="Employee data" captionid="421227" showbutton="True" showpagesize="false" ongetdata="ListEmpDataOnGetData" onquery="ListEmpDataOnQuery" ruler="false">
								<buttons>
									<ex:button runat="server" id="btnEmpDataEdit" buttonstyle="Custom" caption="Edit" captionid="25319" />
								</buttons>
								<Columns>
									<ex:listviewcolumn captionid="421224" caption="ColumnName" width="33%" />
									<ex:listviewcolumn captionid="421225" caption="DisplayName" width="33%" />
								</Columns>
							</ex:listview>
							<ex:listview runat="server" id="ListManagerData" caption="Manager data" captionid="421226" showbutton="True" showpagesize="false" ongetdata="ListManagerDataOnGetData" onquery="ListManagerDataOnQuery" ruler="false">
								<Columns>
									<ex:listviewcolumn captionid="421224" caption="ColumnName" width="33%" />
									<ex:listviewcolumn captionid="421225" caption="DisplayName" width="33%" />
								</Columns>
							</ex:listview>
						</ex:cardlistview>
					</ex:tabpage>

                    <ex:tabpage runat ="server"  caption="Lists" captionid="421078" id="tabLists">
						<ex:cardlistview runat="server" id="csLists" showheader="True" customizecolumns="False" customizerows="False">
							<ex:listview runat="server" id="ListLists" caption="Lists" captionid="421078" showbutton="True" showpagesize="false" ongetdata="ListListsOnGetData" onquery="ListListsOnQuery" ruler="false">
                                <buttons>
                                    <ex:button runat="server" id="btnListAdd" buttonstyle="Custom" caption="Add" captionid="8343" />
                                </buttons>
                                <Columns>
                                    <ex:listviewcolumn captionid="206" caption="Name" width="20%" />
                                    <ex:listviewcolumn captionid="4243" caption="Description" width="65%" />
                                    <ex:listviewcolumn captionid="27055" caption="Connection" width="10%" />
                                    <ex:listviewcolumn captionid="26031" caption="Parameters" width="5%" />
                                </Columns>
							</ex:listview>
						</ex:cardlistview>
					</ex:tabpage>

                    <ex:tabpage runat ="server"  caption="Output formats" captionid="421038" id="tabOutputFormats">
						<ex:cardlistview runat="server" id="csOutputFormats" showheader="True" customizecolumns="False" customizerows="False">
							<ex:listview runat="server" id="ListOutputFormats" caption="Output formats" captionid="421038" showbutton="True" showpagesize="false" ongetdata="ListOutputFormatsOnGetData" onquery="ListOutputFormatsOnQuery" ruler="false">
                                <buttons>
                                    <ex:button runat="server" id="btnOutputFormatAdd" buttonstyle="Custom" caption="Add" captionid="8343" />
                                </buttons>
                                <Columns>
								    <ex:listviewcolumn captionid="421012" caption="Output format" width="50%" />
                                    <ex:listviewcolumn captionid="8521" caption="Default" width="5%" />
                                    <ex:listviewcolumn captionid="421013" caption="Save generated document" />
                                </Columns>
							</ex:listview>
						</ex:cardlistview>
					</ex:tabpage>

                    <ex:tabpage runat ="server"  caption="Fixed attachments" captionid="421092" id="tabFixedAttachments" visible="False">
						<ex:cardlistview runat="server" id="csFixedAttachments" showheader="True" customizecolumns="False" customizerows="False">
							<ex:listview runat="server" id="ListFixedAttachments" caption="Fixed attachments" captionid="421092" showbutton="True" showpagesize="false" ongetdata="ListFixedAttachmentsOnGetData" onquery="ListFixedAttachmentsOnQuery" ruler="false">
                                <buttons>
                                    <ex:button runat="server" id="btnFixedAttachmentsAdd" buttonstyle="Custom" caption="Add" captionid="8343" />
                                </buttons>
                                <Columns>
                                    <ex:listviewcolumn captionid="0" caption="ID" width="5%" />
								    <ex:listviewcolumn captionid="421093" caption="Fixed attachment" width="65%" />
                                    <ex:listviewcolumn captionid="421089" caption="Attachment type" width="15%" />
                                    <ex:listviewcolumn captionid="421198" caption="Attachment merge type" width="15%" />
                                </Columns>
							</ex:listview>
						</ex:cardlistview>
					</ex:tabpage>

                    <ex:tabpage runat ="server"  caption="Actions" captionid="5794" id="tabActions">
						<ex:cardlistview runat="server" id="csActions" showheader="True" customizecolumns="False" customizerows="False">
							<ex:listview runat="server" id="ListActions" caption="Actions" captionid="5794" showbutton="True" showpagesize="false" ongetdata="ListActionsOnGetData" onquery="ListActionsOnQuery" ruler="false">
                                <buttons>
                                    <ex:button runat="server" id="btnActionsAdd" buttonstyle="Custom" caption="Add" captionid="8343" />
                                </buttons>
                                <Columns>
                                    <ex:listviewcolumn captionid="3558" caption="Order" width="5%" />
                                    <ex:listviewcolumn captionid="10189" caption="Title" width="70%" />
                                    <ex:listviewcolumn captionid="421115" caption="Action moment" width="25%" />
                                </Columns>
							</ex:listview>
						</ex:cardlistview>
					</ex:tabpage>

					<ex:tabpage runat ="server"  caption="Security" captionid="32783" id="tabSecurity">
                        <ex:cardlistview runat="server" id="csSecurityRoles" showheader="True" customizecolumns="False" customizerows="False">
							<ex:listview runat="server" id="ListSecurityRoles" caption="Roles" captionid="27461" showbutton="True" showpagesize="false" ongetdata="ListSecurityRolesOnGetData" onquery="ListSecurityRolesOnQuery" ruler="false">
                                <buttons>
                                    <ex:button runat="server" id="btnRoleAdd" buttonstyle="Custom" caption="Add" captionid="8343" />
                                </buttons>
                                <Columns>
								    <ex:listviewcolumn captionid="27454" caption="Role" width="10%" />
								    <ex:listviewcolumn captionid="4243" caption="Description" width="90%" />
                                </Columns>
							</ex:listview>
						</ex:cardlistview>
						<ex:cardlistview runat="server" id="csSecurityFunctions" showheader="True" customizecolumns="False" customizerows="False">
							<ex:listview runat="server" id="ListSecurityFunctions" caption="Functions" captionid="8604" showbutton="True" showpagesize="false" ongetdata="ListSecurityFunctionsOnGetData" onquery="ListSecurityFunctionsOnQuery" ruler="false">
                                <buttons>
                                    <ex:button runat="server" id="btnFunctionAdd" buttonstyle="Custom" caption="Add" captionid="8343" />
                                </buttons>
                                <Columns>
								    <ex:listviewcolumn captionid="6344" caption="Function" width="10%" />
								    <ex:listviewcolumn captionid="4243" caption="Description" width="90%" />
                                </Columns>
							</ex:listview>
						</ex:cardlistview>
					</ex:tabpage>

                    <ex:tabpage runat ="server" caption="Integration" captionid="421106" id="tabSynergyIntegration">
						<ex:cardlistview runat="server" id="csSynergyIntegration" showheader="True" customizecolumns="False" customizerows="False">
							<ex:listview runat="server" id="ListSynergyIntegration" caption="Synergy Integration" captionid="421106" showbutton="True" showpagesize="false" ongetdata="ListSynergyIntegrationOnGetData" onquery="ListSynergyIntegrationOnQuery" ruler="false">
                                <buttons>
                                    <ex:button runat="server" id="btnSynergyIntegrationAdd" buttonstyle="Custom" caption="Add" captionid="8343" />
                                </buttons>
                                <Columns>
                                    <ex:listviewcolumn captionid="8435" caption="Page" width="25%" />
                                    <ex:listviewcolumn captionid="1272" caption="Sorting" width="5%" />
                                    <ex:listviewcolumn captionid="205" caption="Label" width="50%" />
                                    <ex:listviewcolumn captionid="421107" caption="Button type" width="18%" />
                                    <ex:listviewcolumn captionid="2212" caption="Active" width="2%" />
                                </Columns>
							</ex:listview>
						</ex:cardlistview>
					</ex:tabpage>

                    <ex:tabpage runat ="server"  caption="Selection fields" captionid="421036" id="tabSelection">
						<ex:cardlistview runat="server" id="csSelection" showheader="True" customizecolumns="False" customizerows="False">
							<ex:listview runat="server" id="ListSelection" caption="Selection fields" captionid="421036" showbutton="True" showpagesize="false" ongetdata="ListSelectionOnGetData" onquery="ListSelectionOnQuery" ruler="false">
                                <buttons>
                                    <ex:button runat="server" id="btnSelectionAdd" buttonstyle="Custom" caption="Add" captionid="8343" />
                                </buttons>
                                <Columns>
                                    <ex:listviewcolumn captionid="1272" caption="Sorting" width="4%" />
                                    <ex:listviewcolumn captionid="205" caption="Label" width="32%" />
                                    <ex:listviewcolumn captionid="213" caption="Subject" width="32%" />
                                    <ex:listviewcolumn captionid="22703" caption="Column name" width="31%" />
                                    <ex:listviewcolumn captionid="9086" caption="Enabled" width="1%" />
                                </Columns>
							</ex:listview>
						</ex:cardlistview>
					</ex:tabpage>

                </ex:Tabstrip>                                     
            </ex:CardTabSection>
		</ex:cardcolumn>			
	</ex:cardrow>
</ex:CardControl>

</ep:form>
</body>
</html>
