<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="CSEasyWMDefinitionFixedAttachment.aspx.vb" Inherits="CSEasyWM.CSEasyWMDefinitionFixedAttachment" %>
<%@ 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" />
    <script language="javascript" type="text/javascript" src="jquery.js"></script>
    <script language="javascript" type="text/javascript" src="CSEasyWMDefinitionPopup.js"></script>
</head>
<body>

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

<ex:InputField runat="server" Hidden="True" ID="DoClose" ValidationAs="Int" ValidationDefault="0" CreateClientControl="True" />

<ex:CardControl runat="server" ID="Card" Action="Show">
    <ex:Header runat="server" ID="hdr">
    </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="btnDelete" ButtonStyle="Delete" DataSource="bc" />
        <ex:Button runat="server" ID="btnClose" ButtonStyle="Close" />
    </ex:ButtonBar>

    <ex:BCDataSource runat="server" ID="bc" Component="CSEasyWMDefFixedAttachments" AddNewProps="DefID" />

    <ex:cardrow runat="server" id="cr">
	    <ex:cardcolumn runat="server" id="cc">
		    <ex:cardsection runat="server" id="csGeneral" caption="Definition: Fixed attachment" captionid="421087">
                <ex:cardfield runat="server" id="cfDefinition" caption="WordMerge Definition" captionid="421008" ReadOnly="True">
				    <ex:inputfield runat="server" id="DefIDTitle" datasource="bc" ReadOnly="True" />
			    </ex:cardfield>
			    <ex:cardfield runat="server" id="cfDocumentID" caption="Fixed attachment" captionid="421093">
                    <ex:browsefield runat="server" id="DocumentID" datasource="bc" datafieldreference="DocumentIDSubject" enablequicksearch="false" altkeydomain="DocumentID" altkeysql="SELECT ID FROM BacoDiscussions WHERE HID=@P1" standardbrowser="Document" BrowserEnableEdit="False" BrowserNewButton="False" />
			    </ex:cardfield>
                <ex:cardfield runat="server" id="cfAttachmentType" caption="Attachment type" captionid="421089">
				    <ex:combobox runat="server" id="AttachmentType" datasource="bc" />
			    </ex:cardfield>
                <ex:cardfield runat="server" id="cfAttachmentMergeType" caption="Attachment merge type" captionid="421198">
				    <ex:combobox runat="server" id="AttachmentMergeType" datasource="bc" AutoPostBack="True" />
			    </ex:cardfield>
		    </ex:cardsection>
	    </ex:cardcolumn>
    </ex:cardrow>

</ex:CardControl>

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