Maskendefinitionen

Top  Previous  Next

Die Browser Definitionen für die einzelnen Prozessmasken befinden sich unter

.\inetpub\wwwroot\KOS\Views

 

 

Die Namensgebung ist wie folgt definiert:

 

Edit<Name>.ASCX

 

Der Inhalt in <Name> muss dem Wert entsprechen, welcher in den CODES unter dem entsprechenden KOS-Typ erfasst wurde (Bsp: Sup im KOSTYP Support)

 

 

 

Das EDIT<Name>. ASPX Files enthält die folgenden Komponenten:

 

-------------------- 1. Teil: Einbindung diverser Komponenten:

<%@ Control Language="C#" AutoEventWireup="True" CodeBehind="EditDefault.ascx.cs" Inherits="KOS.Views.EditDefault" %>

<%@ Register assembly="AGISControlsWeb" namespace="AGISControlsWeb.Controls" tagprefix="cc1" %>

<%@ Register assembly="DevExpress.Web.ASPxEditors.v9.2, Version=9.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxEditors" tagprefix="dxe" %>

.....

 

-------------------- 2. Teil: Style Definitionen

<style type="text/css">

 

       .style1

       {

           width: 100%;

       }

   </style>

 

-------------------- 3. Teil: Datenpräsentations und -inhalt Definitionen

 

<dxp:ASPxPanel ID="panel" runat="server" DefaultButton="btnSaveClose"

   Width="100%">

   <PanelCollection>

       <dxp:PanelContent ID="PanelContent1" runat="server">

 

         <table width="550px" border="0" cellpadding="0" cellspacing="0" style="font-size:9px;" align="right">

           <tr>

                 <td width="76px">Interne Nummer:

                 </td>

             <td width="30px">

                 <cc1:AGISLabel ID="lblKOSNUM" runat="server" FieldName="KOSNUM" RowPos="0"

                     SelectStatement="" TableName="Kos" TableNameAdditionalData="">

                 </cc1:AGISLabel>

             </td>        

             <td width="30px">

             Erstellt:        

             </td>        

             <td width="30px">

                 <cc1:AGISLabel ID="lblKOIUS0" runat="server" FieldName="KOIUS0" RowPos="0"

                     SelectStatement="" TableName="Kos_Items" TableNameAdditionalData="">

                  </cc1:AGISLabel></td><td width="2px">/</td>        

             <td width="120px">

                 <cc1:AGISLabel ID="lblKOIDA0" runat="server" FieldName="KOIDA0" RowPos="0"

                         SelectStatement="" TableName="Kos_Items" TableNameAdditionalData="">

                     </cc1:AGISLabel></td>        

             <td width="30px">

                     Ge&auml;ndert:        

             </td>        

             <td width="30px">

                 <cc1:AGISLabel ID="lblKOIUSR" runat="server" FieldName="KOIUSR" RowPos="0"

                   SelectStatement="" TableName="Kos_Items" TableNameAdditionalData="">

                         </cc1:AGISLabel></td><td width="2px">/</td>        

             <td width="120px">

                 <cc1:AGISLabel ID="lblKOIDAT" runat="server" FieldName="KOIDAT" RowPos="0"

                     SelectStatement="" TableName="Kos_Items" TableNameAdditionalData="">

                 </cc1:AGISLabel></td>        

           </tr>

         </table>  

           

 

       <table class="style1"  align="left">

           <tr>

               <td colspan="5">

                   <table>

                       <tr>

                           <td>

                               <dxe:ASPxButton ID="btnNew" runat="server" Width="10px">

                                   <Image Url="~/icons/Edit/Document.png" />

                               </dxe:ASPxButton>

                           </td>

                           <td>

                               <dxe:ASPxButton ID="btnSave" runat="server" Width="10px">

                                   <Image Url="~/icons/Edit/Save.png" />

                               </dxe:ASPxButton>

                           </td>

                           <td>

                               <dxe:ASPxButton ID="btnSaveClose" runat="server" Width="10px">

                                   <Image Url="~/icons/Edit/Save Check.png" />

                               </dxe:ASPxButton>

                           </td>

                           <td>

                               <dxe:ASPxButton ID="btnDelete" runat="server" Width="10px">

                                   <Image Url="~/icons/Edit/Recycle Bin.png" />

                               </dxe:ASPxButton>

                           </td>

                           <td>

                               <dxe:ASPxButton ID="btnCopy" runat="server" Width="10px">

                                   <Image Url="~/icons/Edit/Copy.png" />

                               </dxe:ASPxButton>

                           </td>

                           <td>

                               <dxe:ASPxButton ID="btnRefresh" runat="server" Width="10px">

                                   <Image Url="~/icons/Edit/Refresh_2.png" />

                               </dxe:ASPxButton>

                           </td>

                           <td>

                               <dxe:ASPxButton ID="btnClose" runat="server" Width="10px">

                                   <Image Url="~/icons/Edit/Logout.png" />

                               </dxe:ASPxButton>

                           </td>

                       </tr>

                   </table>

               </td>

           </tr>

           <tr>

                         <td>

                                 <cc1:AGISComboBox ID="cbTyp" runat="server" FieldName="KOITYP"

                                         SelectStatement="select lswnum id, lswlab text, lswval from listenwerte where lswlst=(select lstnum from listentitel where lstval = 'KOSTYP') and (lswman=:lswman OR lswman=-1) order by lswlab"

                                         TableName="Kos_Items" TableNameAdditionalData="KOSTYP" EmptyDataText="Typ..." ValueType="System.Int32">

                                 </cc1:AGISComboBox>

                         </td>

                         <td colspan="2">

                                 <cc1:AGISComboBox ID="cbPro" runat="server" FieldName="KOIPRO"

                                         SelectStatement="select lswnum id, lswlab text, lswval from listenwerte where lswlst=(select lstnum from listentitel where lstval = 'KOSPRO') and (lswman=:lswman OR lswman=-1) order by lswlab"

                                         TableName="Kos_Items" TableNameAdditionalData="KOSPRO" EmptyDataText="Produkt..." AllowReset="true" ValueType="System.Int32">

                                 </cc1:AGISComboBox>

                         </td>

                         <td>

                                 <cc1:AGISComboBox ID="cbUmg" runat="server" FieldName="KOIUMG"

                                         SelectStatement="select lswnum id, lswlab text, lswval from listenwerte where lswlst=(select lstnum from listentitel where lstval = 'KOSUMG') and (lswman=:lswman OR lswman=-1) order by lswlab"

                                         TableName="Kos_Items" TableNameAdditionalData="KOSUMG" EmptyDataText="Umgebung..." AllowReset="true" ValueType="System.Int32">

                                 </cc1:AGISComboBox>

                         </td>

                         <td>

                                 <cc1:AGISComboBox ID="cbbKoiPri" runat="server" FieldName="KOIPRI" RowPos="0"

                                         SelectStatement="select lswnum id, lswlab text from listenwerte where lswlst=(select lstnum from listentitel where lstval = 'KOSPRI') and (lswman=:lswman OR lswman=-1) order by lswlab"

                                         TableName="KOS_Items" TableNameAdditionalData="KOSPRI"  EmptyDataText="Priorität..." AllowReset="true" ValueType="System.Int32">

                                 </cc1:AGISComboBox>

                         </td>

           </tr>

           <tr>        

                         <td>

                                 <cc1:AGISComboBox ID="cbbKoiVr1" runat="server" FieldName="KOIVR1"

                                 SelectStatement="select lswnum id, lswlab text from listenwerte where lswlst=(select lstnum from listentitel where lstval = 'KOSVRS') and (lswman=:lswman OR lswman=-1) order by cast(lswlab as decimal) desc, lswlab desc"

                                 TableName="Kos_Items" TableNameAdditionalData="KOSVRS" EmptyDataText="inst. Version..." AllowReset="true" ValueType="System.Int32">

                                 </cc1:AGISComboBox>

                         </td>

                         <td>

                                 <cc1:AGISComboBox ID="cbbKoiVr2" runat="server" FieldName="KOIVR2"

                                 SelectStatement="select lswnum id, lswlab text from listenwerte where lswlst=(select lstnum from listentitel where lstval = 'KOSVRS') and (lswman=:lswman OR lswman=-1) order by cast(lswlab as decimal) desc, lswlab desc"

                                 TableName="Kos_Items" TableNameAdditionalData="KOSVRS" EmptyDataText="korr. Version..." AllowReset="true" ValueType="System.Int32">

                                 </cc1:AGISComboBox>

                         </td>

                         <td>

                                 <cc1:AGISDateTime ID="cbKoiDead" runat="server" ErrorTextFieldName=""

                                 FieldName="KOIDAD" RowPos="0" TableName="KOS_ITEMS"

                                 EmptyDataText="Deadline...">

                                 </cc1:AGISDateTime>

                         </td>

                         <td>

                                 <cc1:AGISTextBox ID="cbKoiFln" runat="server" ErrorTextFieldName=""

                                 FieldName="KOIFLN" RowPos="0" TableName="KOS_ITEMS"

                                 EmptyDataText="Fremd. Lognr...">

                                 </cc1:AGISTextBox>

                         </td>

                         <td>

                                 <cc1:AGISSpinEdit ID="AGISSpinEditID" runat="server" EmptyDataText="Vorgänger-KOS" TableName="KOS" FieldName="KOSPKO">

                         </cc1:AGISSpinEdit>

                         </td>

             </tr>              

           <tr>

               <td colspan="5">

                   <uc1:CtrlAdressen ID="CtrlAdressen1" runat="server" Width="100%" TableName="Kos" FieldName="KOSADR" ViewModus="All" AddressType="Firmen" EmptyDataText="Adresse..." EmptyDataTextProjekt="Projekt..." EmptyDataTextAuftraggeber="Auftraggeber extern..."/>

               </td>

           </tr>

           <tr>

               <td colspan="5">

                   <cc1:AGISTextBox ID="edtKOITHM" runat="server" TableName="kos_items" FieldName="KOITHM" EmptyDataText="Titel...">

                   </cc1:AGISTextBox>

               </td>

           </tr>

           <tr>  

               <td colspan="5">

                   <cc1:AGISTextBox ID="AGISTextBoxID2" runat="server" TableName="kos_items" FieldName="KOIFEH" EmptyDataText="Fehlermeldung...">

                   </cc1:AGISTextBox>

               </td>

           </tr>

           <tr>

               <td colspan="5">

                   <cc1:AGISMemo ID="AGISMemoID" runat="server" ErrorTextFieldName=""

                       FieldName="KOIBES" RowPos="0" TableName="kos_items" Height="240px" EmptyDataText="Beschreibung...">

                   </cc1:AGISMemo>

               </td>

           </tr>

           <tr>

               <td colspan="3">

                   <uc2:CtrlAttachments ID="Attachments1" runat="server" />

               <td colspan="2">

                   &nbsp;</td>

           </tr>

           <tr>

               <td colspan="5">

                   <dxcp:ASPxCallbackPanel ID="callbackPanel" runat="server" Width="100%">

                       <PanelCollection>

                   <dxp:PanelContent runat="server"></dxp:PanelContent>

                   </PanelCollection>

                   </dxcp:ASPxCallbackPanel>

               </td>

           </tr>

       </table>

 

       </dxp:PanelContent>

   </PanelCollection>

</dxp:ASPxPanel>