eDosWeb/safety/docACertificates.aspx
Luc Vandenbroucke ee9fa6be65 first
2018-12-13 09:09:17 +01:00

81 lines
5.6 KiB
Text

<%@ Page Title="" Language="C#" MasterPageFile="~/Site2n.master" AutoEventWireup="true" CodeBehind="docACertificates.aspx.cs" Inherits="safety.docACertificates" MaintainScrollPositionOnPostback="true" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
</telerik:RadAjaxManager>
<fieldset class="rfdRoundedCorners">
<telerik:RadGrid ID="RadGrid1" runat="server" AllowSorting="True" AutoGenerateColumns="False" DataSourceID="sqlDSCekCert" OnItemDataBound="RadGrid1_ItemDataBound" CellSpacing="-1" GridLines="Both">
<ExportSettings ExportOnlyData="True" FileName="CekCertificates" HideStructureColumns="True" IgnorePaging="True" OpenInNewWindow="True">
<Pdf PageWidth="">
</Pdf>
<Excel Format="ExcelML" />
</ExportSettings>
<MasterTableView AllowAutomaticDeletes="True" AllowAutomaticInserts="True" AllowAutomaticUpdates="True" CommandItemDisplay="Top" DataKeyNames="certID" DataSourceID="sqlDSCekCert">
<CommandItemSettings ShowExportToExcelButton="True" />
<Columns>
<telerik:GridBoundColumn DataField="certID" DataType="System.Int32" FilterControlAltText="Filter certID column" HeaderText="certID" ReadOnly="True" SortExpression="certID" UniqueName="certID">
<ColumnValidationSettings>
<ModelErrorMessage Text=""></ModelErrorMessage>
</ColumnValidationSettings>
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="name" FilterControlAltText="Filter name column" HeaderText="Name" SortExpression="name" UniqueName="name" MaxLength="100">
<ColumnValidationSettings>
<ModelErrorMessage Text=""></ModelErrorMessage>
</ColumnValidationSettings>
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="description" FilterControlAltText="Filter description column" HeaderText="Description" SortExpression="description" UniqueName="description" MaxLength="255">
</telerik:GridBoundColumn>
<telerik:GridDropDownColumn DataField="hrmType" HeaderText="HRM opvolging" UniqueName="hrmType" DataSourceID="dsType" ListTextField="description" ListValueField="hrmExternType" />
<telerik:GridCheckBoxColumn DataField="showEmployee" HeaderText="Toon Werknemer" UniqueName="showEmployee" />
<telerik:GridDropDownColumn DataField="externType" HeaderText="Extern opvolging" UniqueName="externType" DataSourceID="dsType" ListTextField="description" ListValueField="hrmExternType" />
<telerik:GridCheckBoxColumn DataField="showExtern" HeaderText="Toon Externe" UniqueName="showExtern" />
<telerik:GridBoundColumn DataField="created" DataType="System.DateTime" FilterControlAltText="Filter created column" HeaderText="created" ReadOnly="True" SortExpression="created" UniqueName="created">
<ColumnValidationSettings>
<ModelErrorMessage Text=""></ModelErrorMessage>
</ColumnValidationSettings>
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="creator" FilterControlAltText="Filter creator column" HeaderText="creator" ReadOnly="True" SortExpression="creator" UniqueName="creator">
<ColumnValidationSettings>
<ModelErrorMessage Text=""></ModelErrorMessage>
</ColumnValidationSettings>
</telerik:GridBoundColumn>
<telerik:GridButtonColumn CommandName="Delete" Text="Del" UniqueName="DeleteColumn" ButtonCssClass="rgDel" ConfirmText="Are you sure to delete this?" HeaderStyle-Width="30px">
<HeaderStyle Width="30px"></HeaderStyle>
</telerik:GridButtonColumn>
<telerik:GridButtonColumn CommandName="Edit" Text="Edit" ButtonCssClass="rgEdit" UniqueName="EditColumn" HeaderStyle-Width="30px">
<HeaderStyle Width="30px"></HeaderStyle>
</telerik:GridButtonColumn>
</Columns>
</MasterTableView>
</telerik:RadGrid>
</fieldset>
<asp:SqlDataSource ID="sqlDSCekCert" runat="server" ConnectionString="<%$ ConnectionStrings:idpbwConnectionString %>" DeleteCommand="docACekCertificatesDelete" DeleteCommandType="StoredProcedure" InsertCommand="docACekCertificatesInsert" InsertCommandType="StoredProcedure" SelectCommand="docACekCertificatesSelect" SelectCommandType="StoredProcedure" UpdateCommand="docACekCertificatesUpdate" UpdateCommandType="StoredProcedure">
<DeleteParameters>
<asp:Parameter Name="certID" Type="Int32" />
</DeleteParameters>
<InsertParameters>
<asp:Parameter Name="name" Type="String" />
<asp:Parameter Name="description" Type="String" />
<asp:Parameter Name="hrmType" Type="Byte" />
<asp:Parameter Name="externType" Type="Byte" />
<asp:Parameter Name="showEmployee" Type="Boolean" />
<asp:Parameter Name="showExtern" Type="Boolean" />
</InsertParameters>
<UpdateParameters>
<asp:Parameter Name="certID" Type="Int32" />
<asp:Parameter Name="name" Type="String" />
<asp:Parameter Name="description" Type="String" />
<asp:Parameter Name="hrmType" Type="Byte" />
<asp:Parameter Name="externType" Type="Byte" />
<asp:Parameter Name="showEmployee" Type="Boolean" />
<asp:Parameter Name="showExtern" Type="Boolean" />
</UpdateParameters>
</asp:SqlDataSource>
<asp:SqlDataSource ID="dsType" runat="server" ConnectionString="<%$ ConnectionStrings:idpbwConnectionString %>" SelectCommand="docACekCertificatesTypesList" SelectCommandType="StoredProcedure" >
</asp:SqlDataSource>
</asp:Content>