first
This commit is contained in:
commit
ee9fa6be65
259 changed files with 26643 additions and 0 deletions
14
.gitignore
vendored
Normal file
14
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
/.hgtags
|
||||
/BackGround/Service References/ReportExecutionServiceSoap1
|
||||
/CAS_Backup_2017.11.23_02.13.16
|
||||
/MedFiche/Service References/ReportExecutionService
|
||||
/Pdf_Backup_2017.11.23_02.13.20
|
||||
/SagTest_Backup_2017.11.23_02.13.16
|
||||
/_UpgradeWizard_Files
|
||||
/_ConvertModelWizard_Files
|
||||
/cts_Backup_2017.11.23_02.13.18
|
||||
/lib/RCAJAX
|
||||
/lib/RCWPF
|
||||
/toegang_Backup_2017.11.23_02.13.31
|
||||
/toegang_Report.htm
|
||||
/safety_Backup_2017.11.23_02.13.22
|
||||
28
HPH.sln
Normal file
28
HPH.sln
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio 15
|
||||
VisualStudioVersion = 15.0.27703.2018
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Rems2018", "Rems2018\Rems2018.csproj", "{7EC1704D-587D-4AD8-87B0-498C958EBF3C}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
DebugDev|Any CPU = DebugDev|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{7EC1704D-587D-4AD8-87B0-498C958EBF3C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{7EC1704D-587D-4AD8-87B0-498C958EBF3C}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{7EC1704D-587D-4AD8-87B0-498C958EBF3C}.DebugDev|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{7EC1704D-587D-4AD8-87B0-498C958EBF3C}.DebugDev|Any CPU.Build.0 = Debug|Any CPU
|
||||
{7EC1704D-587D-4AD8-87B0-498C958EBF3C}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{7EC1704D-587D-4AD8-87B0-498C958EBF3C}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {18A12980-8A35-455E-A701-AC5678894F73}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
173
HPH_Report.htm
Normal file
173
HPH_Report.htm
Normal file
|
|
@ -0,0 +1,173 @@
|
|||
|
||||
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Telerik UI for ASP.NET AJAX Upgrade Wizard Log</title>
|
||||
<style type="text/css">
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
background-color: #fff;
|
||||
font: normal 12px Arial, sans-serif;
|
||||
line-height: 1.5;
|
||||
}
|
||||
#header {
|
||||
display: block;
|
||||
margin: 0;
|
||||
padding: 20px;
|
||||
height: 60px;
|
||||
min-width: 600px;
|
||||
background: url('file:///C:/Users/imajkows/AppData/Local/Microsoft/VisualStudio/15.0_bab2e2ea/Extensions/lf5p12ay.j3z/Resources/T4Templates/UpgradeLog/Logo.png') no-repeat right 30px top 30px;
|
||||
background-color: #0e0e0e;
|
||||
color: #909090;
|
||||
font: normal 10px Arial, sans-serif;
|
||||
}
|
||||
#header span {
|
||||
display: block;
|
||||
color: #fff;
|
||||
font: normal 22px Arial, sans-serif;
|
||||
}
|
||||
#legend {
|
||||
display: block;
|
||||
height: 20px;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
background-color: #0e0e0e;
|
||||
font: normal 12px Arial, sans-serif;
|
||||
}
|
||||
#legend span {
|
||||
display: block;
|
||||
float: left;
|
||||
height: 18px;
|
||||
margin: 0;
|
||||
padding: 2px 10px 0 10px;
|
||||
background-color: #8e8e8e;
|
||||
font: normal 12px Arial, sans-serif;
|
||||
}
|
||||
table#logTable {
|
||||
border: 1px solid #999;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
table#logTable th, table#logTable td {
|
||||
border: 1px solid #999;
|
||||
padding: 5px 10px;
|
||||
text-align: left;
|
||||
}
|
||||
table#logTable th {
|
||||
border: 0;
|
||||
padding: 5px 10px;
|
||||
background-color: #8e8e8e;
|
||||
height: 20px;
|
||||
font: bold 14px Arial, sans-serif;
|
||||
color: #fff;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div>
|
||||
<table id="logTable" cellpadding="0px" cellspacing="0px">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td colspan="5" style="padding: 0;">
|
||||
<div id="header">
|
||||
Telerik UI for ASP.NET AJAX <span>Upgrade Wizard Log</span>
|
||||
</div>
|
||||
<div id="legend">
|
||||
<span style="background-color: #0e0e0e; color: #fff;">Processed: 10</span>
|
||||
<span style="background-color: green; color: #fff;">Succeeded: 10</span>
|
||||
<span style="background-color: blue; color: #fff;">Info: 0</span>
|
||||
<span style="background-color: gold; color: #fff;">Warnings: 0</span>
|
||||
<span style="background-color: red; color: #fff;">Failed: 0</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th> </th>
|
||||
<th>Project</th>
|
||||
<th>Title</th>
|
||||
<th>Details</th>
|
||||
<th>Result</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<tr>
|
||||
<td><img alt="Success" src="file:///C:/Users/imajkows/AppData/Local/Microsoft/VisualStudio/15.0_bab2e2ea/Extensions/lf5p12ay.j3z/Resources/T4Templates/UpgradeLog/Success.gif" /></td>
|
||||
<td>Solution Setup</td>
|
||||
<td>Copied referenced assemblies to solution</td>
|
||||
<td>C:\Program Files (x86)\Progress\Telerik UI for ASP.NET AJAX R2 2018\Bin45</td>
|
||||
<td>Success</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><img alt="Success" src="file:///C:/Users/imajkows/AppData/Local/Microsoft/VisualStudio/15.0_bab2e2ea/Extensions/lf5p12ay.j3z/Resources/T4Templates/UpgradeLog/Success.gif" /></td>
|
||||
<td>Rems2018</td>
|
||||
<td>Assembly Reference</td>
|
||||
<td>C:\Users\imajkows\source\repos\HPH\lib\RCAJAX\2018.2.516.45\Telerik.Web.UI.dll</td>
|
||||
<td>Success</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><img alt="Success" src="file:///C:/Users/imajkows/AppData/Local/Microsoft/VisualStudio/15.0_bab2e2ea/Extensions/lf5p12ay.j3z/Resources/T4Templates/UpgradeLog/Success.gif" /></td>
|
||||
<td>Rems2018</td>
|
||||
<td>Assembly Reference</td>
|
||||
<td>C:\Users\imajkows\source\repos\HPH\lib\RCAJAX\2018.2.516.45\AdditionalLibraries\Bin45\Telerik.Web.Spreadsheet.dll</td>
|
||||
<td>Success</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><img alt="Success" src="file:///C:/Users/imajkows/AppData/Local/Microsoft/VisualStudio/15.0_bab2e2ea/Extensions/lf5p12ay.j3z/Resources/T4Templates/UpgradeLog/Success.gif" /></td>
|
||||
<td>Rems2018</td>
|
||||
<td>Assembly Reference</td>
|
||||
<td>C:\Users\imajkows\source\repos\HPH\lib\RCAJAX\2018.2.516.45\AdditionalLibraries\Bin45\Telerik.Windows.Documents.Core.dll</td>
|
||||
<td>Success</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><img alt="Success" src="file:///C:/Users/imajkows/AppData/Local/Microsoft/VisualStudio/15.0_bab2e2ea/Extensions/lf5p12ay.j3z/Resources/T4Templates/UpgradeLog/Success.gif" /></td>
|
||||
<td>Rems2018</td>
|
||||
<td>Assembly Reference</td>
|
||||
<td>C:\Users\imajkows\source\repos\HPH\lib\RCAJAX\2018.2.516.45\AdditionalLibraries\Bin45\Telerik.Windows.Documents.Flow.dll</td>
|
||||
<td>Success</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><img alt="Success" src="file:///C:/Users/imajkows/AppData/Local/Microsoft/VisualStudio/15.0_bab2e2ea/Extensions/lf5p12ay.j3z/Resources/T4Templates/UpgradeLog/Success.gif" /></td>
|
||||
<td>Rems2018</td>
|
||||
<td>Assembly Reference</td>
|
||||
<td>C:\Users\imajkows\source\repos\HPH\lib\RCAJAX\2018.2.516.45\AdditionalLibraries\Bin45\Telerik.Windows.Documents.Spreadsheet.dll</td>
|
||||
<td>Success</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><img alt="Success" src="file:///C:/Users/imajkows/AppData/Local/Microsoft/VisualStudio/15.0_bab2e2ea/Extensions/lf5p12ay.j3z/Resources/T4Templates/UpgradeLog/Success.gif" /></td>
|
||||
<td>Rems2018</td>
|
||||
<td>Assembly Reference</td>
|
||||
<td>C:\Users\imajkows\source\repos\HPH\lib\RCAJAX\2018.2.516.45\AdditionalLibraries\Bin45\Telerik.Windows.Documents.Spreadsheet.FormatProviders.OpenXml.dll</td>
|
||||
<td>Success</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><img alt="Success" src="file:///C:/Users/imajkows/AppData/Local/Microsoft/VisualStudio/15.0_bab2e2ea/Extensions/lf5p12ay.j3z/Resources/T4Templates/UpgradeLog/Success.gif" /></td>
|
||||
<td>Rems2018</td>
|
||||
<td>Assembly Reference</td>
|
||||
<td>C:\Users\imajkows\source\repos\HPH\lib\RCAJAX\2018.2.516.45\AdditionalLibraries\Bin45\Telerik.Windows.Zip.dll</td>
|
||||
<td>Success</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><img alt="Success" src="file:///C:/Users/imajkows/AppData/Local/Microsoft/VisualStudio/15.0_bab2e2ea/Extensions/lf5p12ay.j3z/Resources/T4Templates/UpgradeLog/Success.gif" /></td>
|
||||
<td>Rems2018</td>
|
||||
<td>Assembly Reference</td>
|
||||
<td>C:\Users\imajkows\source\repos\HPH\lib\RCAJAX\2018.2.516.45\Telerik.Web.Design.dll</td>
|
||||
<td>Success</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><img alt="Success" src="file:///C:/Users/imajkows/AppData/Local/Microsoft/VisualStudio/15.0_bab2e2ea/Extensions/lf5p12ay.j3z/Resources/T4Templates/UpgradeLog/Success.gif" /></td>
|
||||
<td>Rems2018</td>
|
||||
<td>Assembly Reference</td>
|
||||
<td>C:\Users\imajkows\source\repos\HPH\lib\RCAJAX\2018.2.516.45\Telerik.Web.UI.Skins.dll</td>
|
||||
<td>Success</td>
|
||||
</tr>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
35
Rems2018/Properties/AssemblyInfo.cs
Normal file
35
Rems2018/Properties/AssemblyInfo.cs
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
// General Information about an assembly is controlled through the following
|
||||
// set of attributes. Change these attribute values to modify the information
|
||||
// associated with an assembly.
|
||||
[assembly: AssemblyTitle("Rems2018")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("Rems2018")]
|
||||
[assembly: AssemblyCopyright("Copyright © 2018")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
// Setting ComVisible to false makes the types in this assembly not visible
|
||||
// to COM components. If you need to access a type in this assembly from
|
||||
// COM, set the ComVisible attribute to true on that type.
|
||||
[assembly: ComVisible(false)]
|
||||
|
||||
// The following GUID is for the ID of the typelib if this project is exposed to COM
|
||||
[assembly: Guid("1b93c5d6-6a07-4e31-bdee-b6391f90f37b")]
|
||||
|
||||
// Version information for an assembly consists of the following four values:
|
||||
//
|
||||
// Major Version
|
||||
// Minor Version
|
||||
// Build Number
|
||||
// Revision
|
||||
//
|
||||
// You can specify all the values or you can default the Revision and Build Numbers
|
||||
// by using the '*' as shown below:
|
||||
[assembly: AssemblyVersion("1.0.0.0")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
||||
11
Rems2018/Properties/licenses.licx
Normal file
11
Rems2018/Properties/licenses.licx
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
Telerik.Web.UI.RadDataForm, Telerik.Web.UI, Version=2018.3.910.45, Culture=neutral, PublicKeyToken=121fae78165ba3d4
|
||||
Telerik.Web.UI.RadComboBox, Telerik.Web.UI, Version=2018.3.910.45, Culture=neutral, PublicKeyToken=121fae78165ba3d4
|
||||
Telerik.Web.UI.RadAjaxManager, Telerik.Web.UI, Version=2018.2.516.45, Culture=neutral, PublicKeyToken=121fae78165ba3d4
|
||||
Telerik.Web.UI.RadGrid, Telerik.Web.UI, Version=2018.2.516.45, Culture=neutral, PublicKeyToken=121fae78165ba3d4
|
||||
Telerik.Web.UI.RadMenu, Telerik.Web.UI, Version=2018.2.516.45, Culture=neutral, PublicKeyToken=121fae78165ba3d4
|
||||
Telerik.Web.UI.RadFormDecorator, Telerik.Web.UI, Version=2018.2.516.45, Culture=neutral, PublicKeyToken=121fae78165ba3d4
|
||||
Telerik.Web.UI.RadScriptManager, Telerik.Web.UI, Version=2018.2.516.45, Culture=neutral, PublicKeyToken=121fae78165ba3d4
|
||||
Telerik.Web.UI.RadGrid, Telerik.Web.UI, Version=2018.3.910.45, Culture=neutral, PublicKeyToken=121fae78165ba3d4
|
||||
Telerik.Web.UI.RadMenu, Telerik.Web.UI, Version=2018.3.910.45, Culture=neutral, PublicKeyToken=121fae78165ba3d4
|
||||
Telerik.Web.UI.RadFormDecorator, Telerik.Web.UI, Version=2018.3.910.45, Culture=neutral, PublicKeyToken=121fae78165ba3d4
|
||||
Telerik.Web.UI.RadScriptManager, Telerik.Web.UI, Version=2018.3.910.45, Culture=neutral, PublicKeyToken=121fae78165ba3d4
|
||||
221
Rems2018/Rems2018.csproj
Normal file
221
Rems2018/Rems2018.csproj
Normal file
|
|
@ -0,0 +1,221 @@
|
|||
<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>8.0.50727</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{7EC1704D-587D-4AD8-87B0-498C958EBF3C}</ProjectGuid>
|
||||
<ProjectTypeGuids>{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>Rems2018</RootNamespace>
|
||||
<AssemblyName>Rems2018</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
|
||||
<FileUpgradeFlags>
|
||||
</FileUpgradeFlags>
|
||||
<OldToolsVersion>3.5</OldToolsVersion>
|
||||
<UseIISExpress>true</UseIISExpress>
|
||||
<Use64BitIISExpress />
|
||||
<IISExpressSSLPort />
|
||||
<IISExpressAnonymousAuthentication />
|
||||
<IISExpressWindowsAuthentication />
|
||||
<IISExpressUseClassicPipelineMode />
|
||||
<UseGlobalApplicationHostFile />
|
||||
<UpgradeBackupLocation />
|
||||
<TargetFrameworkProfile />
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.Web" />
|
||||
<Reference Include="System.Web.ApplicationServices" />
|
||||
<Reference Include="System.Web.DynamicData" />
|
||||
<Reference Include="System.Web.Entity" />
|
||||
<Reference Include="System.Web.Extensions" />
|
||||
<Reference Include="System.Xml" />
|
||||
<Reference Include="System.Configuration" />
|
||||
<Reference Include="System.Web.Services" />
|
||||
<Reference Include="System.EnterpriseServices" />
|
||||
<Reference Include="System.Web.Mobile" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="Telerik.Web.Design">
|
||||
<HintPath>..\lib\RCAJAX\2018.2.516.45\Telerik.Web.Design.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="Telerik.Web.Spreadsheet">
|
||||
<HintPath>..\lib\RCAJAX\2018.2.516.45\AdditionalLibraries\Bin45\Telerik.Web.Spreadsheet.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="Telerik.Web.UI">
|
||||
<HintPath>..\lib\RCAJAX\2018.2.516.45\Telerik.Web.UI.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="Telerik.Web.UI.Skins">
|
||||
<HintPath>..\lib\RCAJAX\2018.2.516.45\Telerik.Web.UI.Skins.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="Telerik.Windows.Documents.Core">
|
||||
<HintPath>..\lib\RCAJAX\2018.2.516.45\AdditionalLibraries\Bin45\Telerik.Windows.Documents.Core.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="Telerik.Windows.Documents.Flow">
|
||||
<HintPath>..\lib\RCAJAX\2018.2.516.45\AdditionalLibraries\Bin45\Telerik.Windows.Documents.Flow.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="Telerik.Windows.Documents.Spreadsheet">
|
||||
<HintPath>..\lib\RCAJAX\2018.2.516.45\AdditionalLibraries\Bin45\Telerik.Windows.Documents.Spreadsheet.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="Telerik.Windows.Documents.Spreadsheet.FormatProviders.OpenXml">
|
||||
<HintPath>..\lib\RCAJAX\2018.2.516.45\AdditionalLibraries\Bin45\Telerik.Windows.Documents.Spreadsheet.FormatProviders.OpenXml.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="Telerik.Windows.Zip">
|
||||
<HintPath>..\lib\RCAJAX\2018.2.516.45\AdditionalLibraries\Bin45\Telerik.Windows.Zip.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="Worker2.aspx.cs">
|
||||
<DependentUpon>Worker2.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Worker2.aspx.designer.cs">
|
||||
<DependentUpon>Worker2.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Worker.aspx.cs">
|
||||
<DependentUpon>Worker.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Worker.aspx.designer.cs">
|
||||
<DependentUpon>Worker.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Worker3.aspx.cs">
|
||||
<DependentUpon>Worker3.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Worker3.aspx.designer.cs">
|
||||
<DependentUpon>Worker3.aspx</DependentUpon>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="App_Data\RadCaptcha\0.wav" />
|
||||
<Content Include="App_Data\RadCaptcha\1.wav" />
|
||||
<Content Include="App_Data\RadCaptcha\2.wav" />
|
||||
<Content Include="App_Data\RadCaptcha\3.wav" />
|
||||
<Content Include="App_Data\RadCaptcha\4.wav" />
|
||||
<Content Include="App_Data\RadCaptcha\5.wav" />
|
||||
<Content Include="App_Data\RadCaptcha\6.wav" />
|
||||
<Content Include="App_Data\RadCaptcha\7.wav" />
|
||||
<Content Include="App_Data\RadCaptcha\8.wav" />
|
||||
<Content Include="App_Data\RadCaptcha\9.wav" />
|
||||
<Content Include="App_Data\RadCaptcha\A.wav" />
|
||||
<Content Include="App_Data\RadCaptcha\B.wav" />
|
||||
<Content Include="App_Data\RadCaptcha\C.wav" />
|
||||
<Content Include="App_Data\RadCaptcha\D.wav" />
|
||||
<Content Include="App_Data\RadCaptcha\E.wav" />
|
||||
<Content Include="App_Data\RadCaptcha\F.wav" />
|
||||
<Content Include="App_Data\RadCaptcha\G.wav" />
|
||||
<Content Include="App_Data\RadCaptcha\H.wav" />
|
||||
<Content Include="App_Data\RadCaptcha\I.wav" />
|
||||
<Content Include="App_Data\RadCaptcha\J.wav" />
|
||||
<Content Include="App_Data\RadCaptcha\K.wav" />
|
||||
<Content Include="App_Data\RadCaptcha\L.wav" />
|
||||
<Content Include="App_Data\RadCaptcha\M.wav" />
|
||||
<Content Include="App_Data\RadCaptcha\N.wav" />
|
||||
<Content Include="App_Data\RadCaptcha\O.wav" />
|
||||
<Content Include="App_Data\RadCaptcha\P.wav" />
|
||||
<Content Include="App_Data\RadCaptcha\Q.wav" />
|
||||
<Content Include="App_Data\RadCaptcha\R.wav" />
|
||||
<Content Include="App_Data\RadCaptcha\S.wav" />
|
||||
<Content Include="App_Data\RadCaptcha\T.wav" />
|
||||
<Content Include="App_Data\RadCaptcha\U.wav" />
|
||||
<Content Include="App_Data\RadCaptcha\V.wav" />
|
||||
<Content Include="App_Data\RadCaptcha\W.wav" />
|
||||
<Content Include="App_Data\RadCaptcha\X.wav" />
|
||||
<Content Include="App_Data\RadCaptcha\Y.wav" />
|
||||
<Content Include="App_Data\RadCaptcha\Z.wav" />
|
||||
<Content Include="Worker2.aspx" />
|
||||
<Content Include="Worker.aspx" />
|
||||
<Content Include="Worker3.aspx" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="App_Data\RadSpell\de-DE.tdf" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="App_Data\RadSpell\en-US.tdf" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="App_Data\RadSpell\fr-FR.tdf" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="favicon.ico" />
|
||||
<Content Include="rems.css" />
|
||||
<Content Include="web.config" />
|
||||
<Content Include="Site.master" />
|
||||
<None Include="web.Debug.config">
|
||||
<DependentUpon>web.config</DependentUpon>
|
||||
</None>
|
||||
<None Include="web.Release.config">
|
||||
<DependentUpon>web.config</DependentUpon>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="Properties\licenses.licx" />
|
||||
</ItemGroup>
|
||||
<PropertyGroup>
|
||||
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
|
||||
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
<Import Project="$(VSToolsPath)\WebApplications\Microsoft.WebApplication.targets" Condition="'$(VSToolsPath)' != ''" />
|
||||
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" Condition="false" />
|
||||
<Import Project="$(VSToolsPath)\TypeScript\Microsoft.TypeScript.targets" Condition="Exists('$(VSToolsPath)\TypeScript\Microsoft.TypeScript.targets')" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
<ProjectExtensions>
|
||||
<VisualStudio>
|
||||
<FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">
|
||||
<WebProjectProperties>
|
||||
<UseIIS>True</UseIIS>
|
||||
<AutoAssignPort>True</AutoAssignPort>
|
||||
<DevelopmentServerPort>49573</DevelopmentServerPort>
|
||||
<DevelopmentServerVPath>/</DevelopmentServerVPath>
|
||||
<IISUrl>http://localhost:49573/</IISUrl>
|
||||
<NTLMAuthentication>False</NTLMAuthentication>
|
||||
<UseCustomServer>False</UseCustomServer>
|
||||
<CustomServerUrl>
|
||||
</CustomServerUrl>
|
||||
<SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile>
|
||||
</WebProjectProperties>
|
||||
</FlavorProperties>
|
||||
<UserProperties UseAjaxifiedTemplates="True" UseJQuerySupport="True" />
|
||||
</VisualStudio>
|
||||
</ProjectExtensions>
|
||||
</Project>
|
||||
83
Rems2018/Site.master
Normal file
83
Rems2018/Site.master
Normal file
|
|
@ -0,0 +1,83 @@
|
|||
<%@ Master Language="C#" %>
|
||||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head runat="server">
|
||||
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<link href="favicon.ico" rel="shortcut icon" type="image/x-icon" />
|
||||
<title>REMS 2018</title>
|
||||
<link href="rems.css" rel="stylesheet" />
|
||||
<asp:ContentPlaceHolder ID="head" runat="server" />
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<form id="form1" runat="server">
|
||||
|
||||
<telerik:RadScriptManager ID="RadScriptManager1" runat="server">
|
||||
<Scripts>
|
||||
<asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />
|
||||
<asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />
|
||||
<asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js" />
|
||||
</Scripts>
|
||||
</telerik:RadScriptManager>
|
||||
<telerik:RadFormDecorator ID="RadFormDecorator2" runat="server" Skin="WebBlue" DecoratedControls="All" EnableRoundedCorners="true" />
|
||||
<div>
|
||||
<div id="container">
|
||||
<div id="header" class="header-top2">
|
||||
<h2 style="margin-top: 0; margin-bottom: 5px; float: left; width: 80%; background-color: inherit;">
|
||||
<span>
|
||||
<asp:Literal ID="Literal2" runat="server">REMS 2018</asp:Literal></span>
|
||||
|
||||
</h2>
|
||||
<div style="width: 20%; float: right; background-color: inherit;">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div style="clear: both;">
|
||||
<telerik:RadMenu ID="RadMenu1" runat="server" EnableRoundedCorners="True" EnableShadows="True" Skin="WebBlue" Style="top: 0px; left: 0px">
|
||||
<Items>
|
||||
<telerik:RadMenuItem Text="WRK" NavigateUrl="Worker.aspx">
|
||||
|
||||
<Items>
|
||||
<telerik:RadMenuItem runat="server" NavigateUrl="~/Worker.aspx" Text="worker">
|
||||
</telerik:RadMenuItem>
|
||||
<telerik:RadMenuItem runat="server" NavigateUrl="~/Worker2.aspx" Text="worker 2 child">
|
||||
</telerik:RadMenuItem>
|
||||
|
||||
</Items>
|
||||
|
||||
</telerik:RadMenuItem>
|
||||
|
||||
<telerik:RadMenuItem runat="server" NavigateUrl="~/Worker2.aspx" Text="Worker twee">
|
||||
</telerik:RadMenuItem>
|
||||
|
||||
</Items>
|
||||
</telerik:RadMenu>
|
||||
<br />
|
||||
<div class="header-menu2">
|
||||
<span style="padding-left: 5px;">
|
||||
<asp:Literal runat="server" ID="PageTitle" Text="..tbd PageTitle.." /></span>
|
||||
</div>
|
||||
|
||||
<hr />
|
||||
</div>
|
||||
<span style="display: none">
|
||||
<asp:Button ID="HiddenButtonUniqueID" runat="server" Style="display: none;" OnClientClick="return false;" /></span>
|
||||
<div id="content" style="clear: both;">
|
||||
<asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">
|
||||
</asp:ContentPlaceHolder>
|
||||
</div>
|
||||
<div id="footer" style="background-color: #26354A; color: #FFFFFF; clear: both;">
|
||||
<p>
|
||||
© <%: DateTime.Now.Year %> SCK•CEN
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
44
Rems2018/Worker.aspx
Normal file
44
Rems2018/Worker.aspx
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeBehind="Worker.aspx.cs" Inherits="Rems2018.Worker" %>
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
|
||||
<telerik:RadGrid ID="RadGrid1" runat="server" DataSourceID="SqlDataSource1" AllowAutomaticInserts="True" AllowAutomaticUpdates="True" AllowSorting="True" AutoGenerateEditColumn="True" CellSpacing="-1" GridLines="Both" AllowAutomaticDeletes="True" AutoGenerateDeleteColumn="True" AllowCustomPaging="True" AllowFilteringByColumn="True" AllowPaging="True">
|
||||
<GroupingSettings CollapseAllTooltip="Collapse all groups">
|
||||
</GroupingSettings>
|
||||
<ExportSettings>
|
||||
<Pdf PageWidth="">
|
||||
</Pdf>
|
||||
<Excel FileExtension="xlsx" Format="Xlsx" />
|
||||
</ExportSettings>
|
||||
<ClientSettings AllowColumnsReorder="True">
|
||||
</ClientSettings>
|
||||
<MasterTableView AutoGenerateColumns="False" DataKeyNames="ID_Person" DataSourceID="SqlDataSource1" CommandItemDisplay="Top" AllowAutomaticDeletes="False">
|
||||
<CommandItemSettings ShowExportToExcelButton="True" />
|
||||
<Columns>
|
||||
|
||||
<telerik:GridBoundColumn DataField="PersID" DataType="System.Int32" FilterControlAltText="Filter PersID column" HeaderText="PersID" SortExpression="PersID" UniqueName="PersID">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="Type" FilterControlAltText="Filter Type column" HeaderText="Type" SortExpression="Type" UniqueName="Type">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="ProximityCode" FilterControlAltText="Filter ProximityCode column" HeaderText="ProximityCode" SortExpression="ProximityCode" UniqueName="ProximityCode">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="FirstName" FilterControlAltText="Filter FirstName column" HeaderText="FirstName" SortExpression="FirstName" UniqueName="FirstName">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="LastName" FilterControlAltText="Filter LastName column" HeaderText="LastName" SortExpression="LastName" UniqueName="LastName">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="BirthDate" DataType="System.DateTime" FilterControlAltText="Filter BirthDate column" HeaderText="BirthDate" SortExpression="BirthDate" UniqueName="BirthDate">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="conCode" FilterControlAltText="Filter conCode column" HeaderText="conCode" SortExpression="conCode" UniqueName="conCode">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridCheckBoxColumn DataField="AccessAllow" DataType="System.Boolean" FilterControlAltText="Filter AccessAllow column" HeaderText="AccessAllow" SortExpression="AccessAllow" UniqueName="AccessAllow">
|
||||
</telerik:GridCheckBoxColumn>
|
||||
|
||||
</Columns>
|
||||
</MasterTableView>
|
||||
</telerik:RadGrid>
|
||||
<asp:SqlDataSource ID="SqlDataSource1" runat="server"></asp:SqlDataSource>
|
||||
<asp:SqlDataSource ID="sqlDSPerson" runat="server"
|
||||
ConnectionString="<%$ ConnectionStrings:HPH_REMS_newConnectionString %>"
|
||||
SelectCommand="SELECT [PersID], [Type], [ProximityCode], [FirstName], [LastName], [NickName], [BirthDate], [conCode], [AccessAllow], [Language], [deleted], [SUMHp10Dose_Y], [SUMHp07Dose_Y], [TOTSUM_Y], [YearToDateLimit], [SUMHp10Dose_Q], [SUMHp07Dose_Q], [TOTSUM_Q], [QuarterLimit], [SUMHp10Dose_M], [SUMHp07Dose_M], [TOTSUM_M], [MonthlyLimit], [Margin] FROM [SumDosePerson_final]">
|
||||
</asp:SqlDataSource>
|
||||
</asp:Content>
|
||||
21
Rems2018/Worker.aspx.cs
Normal file
21
Rems2018/Worker.aspx.cs
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace Rems2018
|
||||
{
|
||||
public partial class Worker : System.Web.UI.Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
//Zet titel op masterpage
|
||||
Literal titelControl = Master.FindControl("PageTitle") as Literal;
|
||||
titelControl.Text = "Workers";
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
42
Rems2018/Worker.aspx.designer.cs
generated
Normal file
42
Rems2018/Worker.aspx.designer.cs
generated
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace Rems2018 {
|
||||
|
||||
|
||||
public partial class Worker {
|
||||
|
||||
/// <summary>
|
||||
/// RadGrid1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::Telerik.Web.UI.RadGrid RadGrid1;
|
||||
|
||||
/// <summary>
|
||||
/// SqlDataSource1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.SqlDataSource SqlDataSource1;
|
||||
|
||||
/// <summary>
|
||||
/// sqlDSPerson control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.SqlDataSource sqlDSPerson;
|
||||
}
|
||||
}
|
||||
82
Rems2018/Worker2.aspx
Normal file
82
Rems2018/Worker2.aspx
Normal file
|
|
@ -0,0 +1,82 @@
|
|||
<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeBehind="Worker2.aspx.cs" Inherits="Rems2018.Worker2" %>
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
|
||||
<telerik:RadGrid ID="RadGrid1" runat="server" DataSourceID="SqlDataAlarmEPD" AllowAutomaticInserts="True" AllowAutomaticUpdates="True" AllowSorting="True" AutoGenerateEditColumn="True" CellSpacing="-1" GridLines="Both" AllowAutomaticDeletes="True" AutoGenerateDeleteColumn="True" AllowFilteringByColumn="True" AllowPaging="True">
|
||||
<GroupingSettings CollapseAllTooltip="Collapse all groups">
|
||||
</GroupingSettings>
|
||||
<ExportSettings>
|
||||
<Pdf PageWidth="">
|
||||
</Pdf>
|
||||
<Excel FileExtension="xlsx" Format="Xlsx" />
|
||||
</ExportSettings>
|
||||
<ClientSettings>
|
||||
<Scrolling AllowScroll="True" UseStaticHeaders="True" />
|
||||
</ClientSettings>
|
||||
<MasterTableView AutoGenerateColumns="False" DataKeyNames="ID_AlarmEPD" DataSourceID="SqlDataAlarmEPD" CommandItemDisplay="Top" AllowAutomaticDeletes="False">
|
||||
<CommandItemSettings ShowExportToExcelButton="True" />
|
||||
<Columns>
|
||||
|
||||
<telerik:GridBoundColumn DataField="ID_EPDType" FilterControlAltText="Filter ID_EPDType column" HeaderText="ID_EPDType" SortExpression="ID_EPDType" UniqueName="ID_EPDType" DataType="System.Int32">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="AlarmEPDName" FilterControlAltText="Filter AlarmEPDName column" HeaderText="AlarmEPDName" SortExpression="AlarmEPDName" UniqueName="AlarmEPDName">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="Hp10Dose1" FilterControlAltText="Filter Hp10Dose1 column" HeaderText="Hp10Dose1" SortExpression="Hp10Dose1" UniqueName="Hp10Dose1" DataType="System.Double">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="Hp10Dose2" FilterControlAltText="Filter Hp10Dose2 column" HeaderText="Hp10Dose2" SortExpression="Hp10Dose2" UniqueName="Hp10Dose2" DataType="System.Double">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="Hp07Dose_bis" FilterControlAltText="Filter Hp07Dose_bis column" HeaderText="Hp07Dose_bis" SortExpression="Hp07Dose_bis" UniqueName="Hp07Dose_bis" DataType="System.Double">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="HP10Rate1ON" FilterControlAltText="Filter HP10Rate1ON column" HeaderText="HP10Rate1ON" SortExpression="HP10Rate1ON" UniqueName="HP10Rate1ON" DataType="System.Double">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="HP10Rate2ON" DataType="System.Double" FilterControlAltText="Filter HP10Rate2ON column" HeaderText="HP10Rate2ON" SortExpression="HP10Rate2ON" UniqueName="HP10Rate2ON">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="HP07RateON" FilterControlAltText="Filter HP07RateON column" HeaderText="HP07RateON" SortExpression="HP07RateON" UniqueName="HP07RateON" DataType="System.Double">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="HP10Rate1OFF" DataType="System.Double" FilterControlAltText="Filter HP10Rate1OFF column" HeaderText="HP10Rate1OFF" SortExpression="HP10Rate1OFF" UniqueName="HP10Rate1OFF">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="HP10Rate2OFF" DataType="System.Double" FilterControlAltText="Filter HP10Rate2OFF column" HeaderText="HP10Rate2OFF" SortExpression="HP10Rate2OFF" UniqueName="HP10Rate2OFF" AllowFiltering="false">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="HP07RateOFF" DataType="System.Double" FilterControlAltText="Filter HP07RateOFF column" HeaderText="HP07RateOFF" SortExpression="HP07RateOFF" UniqueName="HP07RateOFF">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="MinWorkerDosisMargin" DataType="System.Double" FilterControlAltText="Filter MinWorkerDosisMargin column" HeaderText="MinWorkerDosisMargin" SortExpression="MinWorkerDosisMargin" UniqueName="MinWorkerDosisMargin">
|
||||
</telerik:GridBoundColumn>
|
||||
|
||||
</Columns>
|
||||
</MasterTableView>
|
||||
</telerik:RadGrid>
|
||||
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:HPH_REMS_newConnectionString %>" SelectCommand="SELECT [ID_AlarmEPD], [AlarmEPDName], [ID_EPDType], [Hp10Dose1], [Hp10Dose2], [Hp07Dose_bis], [HP10Rate1ON], [HP10Rate2ON], [HP07RateON], [HP10Rate1OFF], [HP10Rate2OFF], [HP07RateOFF], [MinWorkerDosisMargin] FROM [AlarmEPD]"></asp:SqlDataSource>
|
||||
<asp:SqlDataSource ID="sqlDSPerson" runat="server" ConnectionString="<%$ ConnectionStrings:HPH_REMS_newConnectionString %>"
|
||||
SelectCommand="PersonSelect" DeleteCommand="PersonDelete"
|
||||
InsertCommand="PersonInsert" UpdateCommand="PersonUpdate"
|
||||
DeleteCommandType="StoredProcedure" InsertCommandType="StoredProcedure"
|
||||
SelectCommandType="StoredProcedure" UpdateCommandType="StoredProcedure">
|
||||
<DeleteParameters>
|
||||
<asp:Parameter Name="ID_Person" Type="Int32" />
|
||||
</DeleteParameters>
|
||||
<InsertParameters>
|
||||
<asp:Parameter Name="PersID" Type="Int32" />
|
||||
<asp:Parameter Name="Type" Type="String" />
|
||||
<asp:Parameter Name="ProximityCode" Type="String" />
|
||||
<asp:Parameter Name="FirstName" Type="String" />
|
||||
<asp:Parameter Name="LastName" Type="String" />
|
||||
<asp:Parameter Name="NickName" Type="String" />
|
||||
<asp:Parameter DbType="Date" Name="BirthDate" />
|
||||
<asp:Parameter Name="conCode" Type="String" />
|
||||
<asp:Parameter Name="AccessAllow" Type="Boolean" />
|
||||
<asp:Parameter Direction="ReturnValue" Name="RETURN_VALUE" Type="Int32" />
|
||||
</InsertParameters>
|
||||
<UpdateParameters>
|
||||
<asp:Parameter Name="ID_Person" Type="Int32" />
|
||||
<asp:Parameter Name="PersID" Type="Int32" />
|
||||
<asp:Parameter Name="Type" Type="String" />
|
||||
<asp:Parameter Name="ProximityCode" Type="String" />
|
||||
<asp:Parameter Name="FirstName" Type="String" />
|
||||
<asp:Parameter Name="LastName" Type="String" />
|
||||
<asp:Parameter Name="NickName" Type="String" />
|
||||
<asp:Parameter DbType="Date" Name="BirthDate" />
|
||||
<asp:Parameter Name="conCode" Type="String" />
|
||||
<asp:Parameter Name="AccessAllow" Type="Boolean" />
|
||||
</UpdateParameters>
|
||||
</asp:SqlDataSource>
|
||||
</asp:Content>
|
||||
21
Rems2018/Worker2.aspx.cs
Normal file
21
Rems2018/Worker2.aspx.cs
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace Rems2018
|
||||
{
|
||||
public partial class Worker2 : System.Web.UI.Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
//Zet titel op masterpage
|
||||
Literal titelControl = Master.FindControl("PageTitle") as Literal;
|
||||
titelControl.Text = "EPD";
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
42
Rems2018/Worker2.aspx.designer.cs
generated
Normal file
42
Rems2018/Worker2.aspx.designer.cs
generated
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace Rems2018 {
|
||||
|
||||
|
||||
public partial class Worker2 {
|
||||
|
||||
/// <summary>
|
||||
/// RadGrid1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::Telerik.Web.UI.RadGrid RadGrid1;
|
||||
|
||||
/// <summary>
|
||||
/// SqlDataSource1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.SqlDataSource SqlDataSource1;
|
||||
|
||||
/// <summary>
|
||||
/// sqlDSPerson control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.SqlDataSource sqlDSPerson;
|
||||
}
|
||||
}
|
||||
39
Rems2018/Worker3.aspx
Normal file
39
Rems2018/Worker3.aspx
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeBehind="Worker3.aspx.cs" Inherits="Rems2018.Worker3" %>
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
|
||||
|
||||
<telerik:RadComboBox ID="cmbPerson" Runat="server" DataSourceID="sqlDSPerson" DataTextField="Name" DataValueField="PersID">
|
||||
</telerik:RadComboBox>
|
||||
<telerik:RadDataForm ID="RadDataForm1" runat="server" DataSourceID="sqlDsView">
|
||||
<ItemTemplate>
|
||||
<table>
|
||||
<tr>
|
||||
<th></th>
|
||||
<th>Year TEDE</th>
|
||||
<th>3M TEDE</th>
|
||||
<th>M TEDE</th>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><</td>
|
||||
<td><telerik:RadTextBox runat="server" ID="ytede" Text='<%# Eval("TOTSUM_Y") %>'></telerik:RadTextBox></td>
|
||||
</tr>
|
||||
</table>
|
||||
</ItemTemplate>
|
||||
</telerik:RadDataForm>
|
||||
|
||||
|
||||
<asp:SqlDataSource ID="sqlDSPerson" runat="server"
|
||||
ConnectionString="<%$ ConnectionStrings:HPH_REMS_newConnectionString %>"
|
||||
SelectCommand="SELECT [PersID], Name= [LastName]+' '+[FirstName] FROM [Person]">
|
||||
</asp:SqlDataSource>
|
||||
|
||||
<asp:SqlDataSource ID="sqlDsView" runat="server"
|
||||
ConnectionString="<%$ ConnectionStrings:HPH_REMS_newConnectionString %>"
|
||||
SelectCommand="SELECT ID_Person, PersID, SUMHp10Dose_Y, SUMHp07Dose_Y, TOTSUM_Y, YearToDateLimit, SUMHp10Dose_Q, SUMHp07Dose_Q, TOTSUM_Q, QuarterLimit, SUMHp10Dose_M, SUMHp07Dose_M, TOTSUM_M, MonthlyLimit, Margin, Type, ProximityCode, FirstName, LastName, NickName, BirthDate, conCode, AccessAllow, Language, deleted FROM V_SumDosePerson WHERE (PersID = @PersID)" >
|
||||
<SelectParameters>
|
||||
<asp:ControlParameter ControlID="cmbPerson" PropertyName="SelectedValue" Name="PersID" Type="Int32" />
|
||||
</SelectParameters>
|
||||
</asp:SqlDataSource>
|
||||
</asp:Content>
|
||||
21
Rems2018/Worker3.aspx.cs
Normal file
21
Rems2018/Worker3.aspx.cs
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace Rems2018
|
||||
{
|
||||
public partial class Worker3 : System.Web.UI.Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
//Zet titel op masterpage
|
||||
Literal titelControl = Master.FindControl("PageTitle") as Literal;
|
||||
titelControl.Text = "Workers";
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
51
Rems2018/Worker3.aspx.designer.cs
generated
Normal file
51
Rems2018/Worker3.aspx.designer.cs
generated
Normal file
|
|
@ -0,0 +1,51 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace Rems2018 {
|
||||
|
||||
|
||||
public partial class Worker3 {
|
||||
|
||||
/// <summary>
|
||||
/// cmbPerson control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::Telerik.Web.UI.RadComboBox cmbPerson;
|
||||
|
||||
/// <summary>
|
||||
/// RadDataForm1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::Telerik.Web.UI.RadDataForm RadDataForm1;
|
||||
|
||||
/// <summary>
|
||||
/// sqlDSPerson control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.SqlDataSource sqlDSPerson;
|
||||
|
||||
/// <summary>
|
||||
/// sqlDsView control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.SqlDataSource sqlDsView;
|
||||
}
|
||||
}
|
||||
BIN
Rems2018/favicon.ico
Normal file
BIN
Rems2018/favicon.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 31 KiB |
37
Rems2018/rems.css
Normal file
37
Rems2018/rems.css
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
|
||||
.FloatLeft
|
||||
{
|
||||
float:left;
|
||||
}
|
||||
|
||||
.header-top2 {
|
||||
text-align: center;
|
||||
font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
|
||||
vertical-align: middle;
|
||||
background-color: #26354A;
|
||||
color: #FFFFFF;
|
||||
border-bottom-style: solid;
|
||||
border-bottom-color: rgb(134, 158, 180);;
|
||||
border-bottom-width: 1px;
|
||||
|
||||
line-height:35px;
|
||||
}
|
||||
|
||||
.header-menu2
|
||||
{
|
||||
clear:both;
|
||||
font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
|
||||
font-size:medium;
|
||||
font-weight: bold;
|
||||
|
||||
color: #fff;
|
||||
|
||||
background-color: #7991A9;
|
||||
text-align:left;
|
||||
margin-top:10px;
|
||||
line-height:1.5em;
|
||||
|
||||
/*height: 1em;*/
|
||||
|
||||
}
|
||||
|
||||
30
Rems2018/web.Debug.config
Normal file
30
Rems2018/web.Debug.config
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<!-- For more information on using web.config transformation visit https://go.microsoft.com/fwlink/?LinkId=125889 -->
|
||||
|
||||
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
|
||||
<!--
|
||||
In the example below, the "SetAttributes" transform will change the value of
|
||||
"connectionString" to use "ReleaseSQLServer" only when the "Match" locator
|
||||
finds an attribute "name" that has a value of "MyDB".
|
||||
|
||||
<connectionStrings>
|
||||
<add name="MyDB"
|
||||
connectionString="Data Source=ReleaseSQLServer;Initial Catalog=MyReleaseDB;Integrated Security=True"
|
||||
xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/>
|
||||
</connectionStrings>
|
||||
-->
|
||||
<system.web>
|
||||
<!--
|
||||
In the example below, the "Replace" transform will replace the entire
|
||||
<customErrors> section of your web.config file.
|
||||
Note that because there is only one customErrors section under the
|
||||
<system.web> node, there is no need to use the "xdt:Locator" attribute.
|
||||
|
||||
<customErrors defaultRedirect="GenericError.htm"
|
||||
mode="RemoteOnly" xdt:Transform="Replace">
|
||||
<error statusCode="500" redirect="InternalError.htm"/>
|
||||
</customErrors>
|
||||
-->
|
||||
</system.web>
|
||||
</configuration>
|
||||
31
Rems2018/web.Release.config
Normal file
31
Rems2018/web.Release.config
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<!-- For more information on using web.config transformation visit https://go.microsoft.com/fwlink/?LinkId=125889 -->
|
||||
|
||||
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
|
||||
<!--
|
||||
In the example below, the "SetAttributes" transform will change the value of
|
||||
"connectionString" to use "ReleaseSQLServer" only when the "Match" locator
|
||||
finds an attribute "name" that has a value of "MyDB".
|
||||
|
||||
<connectionStrings>
|
||||
<add name="MyDB"
|
||||
connectionString="Data Source=ReleaseSQLServer;Initial Catalog=MyReleaseDB;Integrated Security=True"
|
||||
xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/>
|
||||
</connectionStrings>
|
||||
-->
|
||||
<system.web>
|
||||
<compilation xdt:Transform="RemoveAttributes(debug)" />
|
||||
<!--
|
||||
In the example below, the "Replace" transform will replace the entire
|
||||
<customErrors> section of your web.config file.
|
||||
Note that because there is only one customErrors section under the
|
||||
<system.web> node, there is no need to use the "xdt:Locator" attribute.
|
||||
|
||||
<customErrors defaultRedirect="GenericError.htm"
|
||||
mode="RemoteOnly" xdt:Transform="Replace">
|
||||
<error statusCode="500" redirect="InternalError.htm"/>
|
||||
</customErrors>
|
||||
-->
|
||||
</system.web>
|
||||
</configuration>
|
||||
57
Rems2018/web.config
Normal file
57
Rems2018/web.config
Normal file
|
|
@ -0,0 +1,57 @@
|
|||
<?xml version="1.0"?>
|
||||
<configuration>
|
||||
<connectionStrings>
|
||||
<add name="HPH_REMS_newConnectionString" connectionString="Data Source=sqlsrv3;Initial Catalog=HPH_REMS_new;Integrated Security=True" providerName="System.Data.SqlClient" />
|
||||
</connectionStrings>
|
||||
<appSettings>
|
||||
<add key="Telerik.Web.UI.RenderMode" value="lightweight" />
|
||||
|
||||
<add key="Telerik.Skin" value="Bootstrap" />
|
||||
|
||||
<add key="Telerik.ScriptManager.TelerikCdn" value="Disabled" />
|
||||
|
||||
<add key="Telerik.StyleSheetManager.TelerikCdn" value="Disabled" />
|
||||
|
||||
|
||||
|
||||
</appSettings>
|
||||
<!--
|
||||
For a description of web.config changes see http://go.microsoft.com/fwlink/?LinkId=235367.
|
||||
|
||||
The following attributes can be set on the <httpRuntime> tag.
|
||||
<system.Web>
|
||||
<httpRuntime targetFramework="4.6.1" />
|
||||
</system.Web>
|
||||
-->
|
||||
<system.web>
|
||||
<compilation debug="true" targetFramework="4.6.1" />
|
||||
<httpRuntime targetFramework="4.6.1" />
|
||||
<pages>
|
||||
<controls>
|
||||
<add tagPrefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI" />
|
||||
</controls>
|
||||
</pages>
|
||||
<httpHandlers>
|
||||
<add path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" validate="false" />
|
||||
<add path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" validate="false" />
|
||||
<add path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" validate="false" />
|
||||
<add path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" validate="false" />
|
||||
<add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" />
|
||||
</httpHandlers>
|
||||
</system.web>
|
||||
<system.webServer>
|
||||
<validation validateIntegratedModeConfiguration="false" />
|
||||
<handlers>
|
||||
<remove name="ChartImage_axd" />
|
||||
<add name="ChartImage_axd" path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" preCondition="integratedMode" />
|
||||
<remove name="Telerik_Web_UI_SpellCheckHandler_axd" />
|
||||
<add name="Telerik_Web_UI_SpellCheckHandler_axd" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" preCondition="integratedMode" />
|
||||
<remove name="Telerik_Web_UI_DialogHandler_aspx" />
|
||||
<add name="Telerik_Web_UI_DialogHandler_aspx" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" preCondition="integratedMode" />
|
||||
<remove name="Telerik_RadUploadProgressHandler_ashx" />
|
||||
<add name="Telerik_RadUploadProgressHandler_ashx" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" preCondition="integratedMode" />
|
||||
<remove name="Telerik_Web_UI_WebResource_axd" />
|
||||
<add name="Telerik_Web_UI_WebResource_axd" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" preCondition="integratedMode" />
|
||||
</handlers>
|
||||
</system.webServer>
|
||||
</configuration>
|
||||
245
safety/ApproveNoInternalCheck.aspx
Normal file
245
safety/ApproveNoInternalCheck.aspx
Normal file
|
|
@ -0,0 +1,245 @@
|
|||
<%@ Page Title="Approval" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeBehind="ApproveNoInternalCheck.aspx.cs" Inherits="safety.ApproveNoInternalCheck" MaintainScrollPositionOnPostback="true" %>
|
||||
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
|
||||
<h1>Approval for other or no internal examination</h1>
|
||||
<telerik:RadGrid ID="RadGrid1" runat="server" DataSourceID="SqlDataSource1" AutoGenerateColumns="False" AutoGenerateEditColumn="True" CellSpacing="-1" GridLines="Both" GroupPanelPosition="Top" AllowFilteringByColumn="True" AllowSorting="True">
|
||||
<GroupingSettings CollapseAllTooltip="Collapse all groups"></GroupingSettings>
|
||||
|
||||
<ExportSettings>
|
||||
<Pdf PageWidth="">
|
||||
</Pdf>
|
||||
</ExportSettings>
|
||||
<MasterTableView DataSourceID="SqlDataSource1" AllowAutomaticUpdates="True">
|
||||
<ColumnGroups>
|
||||
<telerik:GridColumnGroup Name="Freq" HeaderText="HPH" HeaderStyle-HorizontalAlign="Center">
|
||||
<HeaderStyle HorizontalAlign="Center"></HeaderStyle>
|
||||
</telerik:GridColumnGroup>
|
||||
<telerik:GridColumnGroup Name="Grid" HeaderText="Grid " HeaderStyle-HorizontalAlign="Center">
|
||||
<HeaderStyle HorizontalAlign="Center"></HeaderStyle>
|
||||
</telerik:GridColumnGroup>
|
||||
<telerik:GridColumnGroup Name="Excep" HeaderText="Exception Request" HeaderStyle-HorizontalAlign="Center">
|
||||
<HeaderStyle HorizontalAlign="Center"></HeaderStyle>
|
||||
</telerik:GridColumnGroup>
|
||||
<telerik:GridColumnGroup Name="Mentor" HeaderText="Mentor/Chef" HeaderStyle-HorizontalAlign="Center">
|
||||
<HeaderStyle HorizontalAlign="Center"></HeaderStyle>
|
||||
</telerik:GridColumnGroup>
|
||||
</ColumnGroups>
|
||||
<Columns>
|
||||
<telerik:GridBoundColumn DataField="ID" FilterControlAltText="Filter ID column" HeaderText="ID" SortExpression="ID" UniqueName="ID" DataType="System.Int32" AllowFiltering="false">
|
||||
<ColumnValidationSettings>
|
||||
<ModelErrorMessage Text="" />
|
||||
</ColumnValidationSettings>
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="done" FilterControlAltText="Filter done column" HeaderText="Done" ReadOnly="True" SortExpression="done" UniqueName="done" DataType="System.Byte" Visible="false" AllowFiltering="false" />
|
||||
<telerik:GridBoundColumn DataField="persid" FilterControlAltText="Filter persid column" HeaderText="persid" ReadOnly="True" SortExpression="persid" UniqueName="persid" DataType="System.Int32" AllowFiltering="false">
|
||||
<ColumnValidationSettings>
|
||||
<ModelErrorMessage Text="" />
|
||||
</ColumnValidationSettings>
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="name" FilterControlAltText="Filter name column" HeaderText="name" SortExpression="name" UniqueName="name" ReadOnly="True" CurrentFilterFunction="Contains" ShowFilterIcon="false" AutoPostBackOnFilter="true" HeaderStyle-Width="150px" FilterControlWidth="120px">
|
||||
<ColumnValidationSettings>
|
||||
<ModelErrorMessage Text="" />
|
||||
</ColumnValidationSettings>
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="companyname" FilterControlAltText="Filter companyname column" HeaderText="companyname" SortExpression="companyname" UniqueName="companyname" ReadOnly="True" CurrentFilterFunction="Contains" ShowFilterIcon="false" AutoPostBackOnFilter="true" HeaderStyle-Width="150px" FilterControlWidth="120px">
|
||||
<ColumnValidationSettings>
|
||||
<ModelErrorMessage Text="" />
|
||||
</ColumnValidationSettings>
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridDateTimeColumn DataField="start" DataFormatString="{0:yyyy-MM-dd}" FilterControlAltText="Filter start column" HeaderText="Start" ReadOnly="True" UniqueName="start" ItemStyle-Width="100px" HeaderStyle-Width="100px" FilterControlWidth="100px" ItemStyle-Wrap="false">
|
||||
<HeaderStyle Width="100px"></HeaderStyle>
|
||||
<ItemStyle Wrap="False" Width="100px"></ItemStyle>
|
||||
</telerik:GridDateTimeColumn>
|
||||
<telerik:GridBoundColumn DataField="wbc" DataType="System.Byte" FilterControlAltText="Filter wbc column" HeaderText="wbc" SortExpression="wbc" UniqueName="wbc" HeaderStyle-Width="50px" ColumnGroupName="Freq" AllowFiltering="false">
|
||||
<ColumnValidationSettings>
|
||||
<ModelErrorMessage Text="" />
|
||||
</ColumnValidationSettings>
|
||||
<HeaderStyle Width="50px"></HeaderStyle>
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="lung" DataType="System.Byte" FilterControlAltText="Filter lung column" HeaderText="lung" SortExpression="lung" UniqueName="lung" HeaderStyle-Width="50px" ColumnGroupName="Freq" AllowFiltering="false">
|
||||
<ColumnValidationSettings>
|
||||
<ModelErrorMessage Text="" />
|
||||
</ColumnValidationSettings>
|
||||
<HeaderStyle Width="50px"></HeaderStyle>
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="thy" DataType="System.Byte" FilterControlAltText="Filter thy column" HeaderText="thy" SortExpression="thy" UniqueName="thy" HeaderStyle-Width="50px" ColumnGroupName="Freq" AllowFiltering="false">
|
||||
<ColumnValidationSettings>
|
||||
<ModelErrorMessage Text="" />
|
||||
</ColumnValidationSettings>
|
||||
<HeaderStyle Width="50px"></HeaderStyle>
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="Pu" DataType="System.Byte" FilterControlAltText="Filter Pu column" HeaderText="Pu" SortExpression="Pu" UniqueName="Pu" HeaderStyle-Width="50px" ColumnGroupName="Freq" AllowFiltering="false">
|
||||
<ColumnValidationSettings>
|
||||
<ModelErrorMessage Text="" />
|
||||
</ColumnValidationSettings>
|
||||
<HeaderStyle Width="50px"></HeaderStyle>
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="Am" DataType="System.Byte" FilterControlAltText="Filter Am column" HeaderText="Am" SortExpression="Am" UniqueName="Am" HeaderStyle-Width="50px" ColumnGroupName="Freq" AllowFiltering="false">
|
||||
<ColumnValidationSettings>
|
||||
<ModelErrorMessage Text="" />
|
||||
</ColumnValidationSettings>
|
||||
<HeaderStyle Width="50px"></HeaderStyle>
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="U" DataType="System.Byte" FilterControlAltText="Filter U column" HeaderText="U" SortExpression="U" UniqueName="U" HeaderStyle-Width="50px" ColumnGroupName="Freq" AllowFiltering="false">
|
||||
<ColumnValidationSettings>
|
||||
<ModelErrorMessage Text="" />
|
||||
</ColumnValidationSettings>
|
||||
<HeaderStyle Width="50px"></HeaderStyle>
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="Tr" DataType="System.Byte" FilterControlAltText="Filter Tr column" HeaderText="Tr" SortExpression="Tr" UniqueName="Tr" HeaderStyle-Width="50px" ColumnGroupName="Freq" AllowFiltering="false">
|
||||
<ColumnValidationSettings>
|
||||
<ModelErrorMessage Text="" />
|
||||
</ColumnValidationSettings>
|
||||
<HeaderStyle Width="50px"></HeaderStyle>
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="Po" FilterControlAltText="Filter Po column" HeaderText="Po" SortExpression="Po" UniqueName="Po" DataType="System.Byte" HeaderStyle-Width="50px" ColumnGroupName="Freq" AllowFiltering="false">
|
||||
<ColumnValidationSettings>
|
||||
<ModelErrorMessage Text="" />
|
||||
</ColumnValidationSettings>
|
||||
<HeaderStyle Width="50px"></HeaderStyle>
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="other" DataType="System.Byte" FilterControlAltText="Filter other column" HeaderText="other" SortExpression="other" UniqueName="other" HeaderStyle-Width="50px" ColumnGroupName="Freq" AllowFiltering="false">
|
||||
<ColumnValidationSettings>
|
||||
<ModelErrorMessage Text="" />
|
||||
</ColumnValidationSettings>
|
||||
<HeaderStyle Width="50px"></HeaderStyle>
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="wbcOr" DataType="System.Byte" FilterControlAltText="Filter wbcOr column" HeaderText="Wbc" SortExpression="wbcOr" UniqueName="wbcOr" ReadOnly="True" HeaderStyle-Width="50px" ColumnGroupName="Grid" AllowFiltering="false">
|
||||
<ColumnValidationSettings>
|
||||
<ModelErrorMessage Text="" />
|
||||
</ColumnValidationSettings>
|
||||
<HeaderStyle Width="50px"></HeaderStyle>
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="lungOr" FilterControlAltText="Filter lungOr column" HeaderText="Lung" SortExpression="lung" UniqueName="lungOr" DataType="System.Byte" ReadOnly="True" HeaderStyle-Width="50px" ColumnGroupName="Grid" AllowFiltering="false">
|
||||
<ColumnValidationSettings>
|
||||
<ModelErrorMessage Text="" />
|
||||
</ColumnValidationSettings>
|
||||
<HeaderStyle Width="50px"></HeaderStyle>
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="thyOr" DataType="System.Byte" FilterControlAltText="Filter thyOr column" HeaderText="Thy" SortExpression="thyOr" UniqueName="thyOr" ReadOnly="True" HeaderStyle-Width="50px" ColumnGroupName="Grid" AllowFiltering="false">
|
||||
<ColumnValidationSettings>
|
||||
<ModelErrorMessage Text="" />
|
||||
</ColumnValidationSettings>
|
||||
<HeaderStyle Width="50px"></HeaderStyle>
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="PuOr" FilterControlAltText="Filter PuOr column" HeaderText="Pu" ReadOnly="True" SortExpression="PuOr" UniqueName="PuOr" DataType="System.Byte" HeaderStyle-Width="50px" ColumnGroupName="Grid" AllowFiltering="false">
|
||||
<ColumnValidationSettings>
|
||||
<ModelErrorMessage Text="" />
|
||||
</ColumnValidationSettings>
|
||||
<HeaderStyle Width="50px"></HeaderStyle>
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="AmOr" DataType="System.Byte" FilterControlAltText="Filter AmOr column" HeaderText="Am" ReadOnly="True" SortExpression="AmOr" UniqueName="AmOr" HeaderStyle-Width="50px" ColumnGroupName="Grid" AllowFiltering="false">
|
||||
<ColumnValidationSettings>
|
||||
<ModelErrorMessage Text="" />
|
||||
</ColumnValidationSettings>
|
||||
<HeaderStyle Width="50px"></HeaderStyle>
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="UOr" DataType="System.Byte" FilterControlAltText="Filter UOr column" HeaderText="U" ReadOnly="True" SortExpression="UOr" UniqueName="UOr" HeaderStyle-Width="50px" ColumnGroupName="Grid" AllowFiltering="false">
|
||||
<ColumnValidationSettings>
|
||||
<ModelErrorMessage Text="" />
|
||||
</ColumnValidationSettings>
|
||||
<HeaderStyle Width="50px"></HeaderStyle>
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="TrOr" DataType="System.Byte" FilterControlAltText="Filter TrOr column" HeaderText="Tr" ReadOnly="True" SortExpression="TrOr" UniqueName="TrOr" HeaderStyle-Width="50px" ColumnGroupName="Grid" AllowFiltering="false">
|
||||
<ColumnValidationSettings>
|
||||
<ModelErrorMessage Text="" />
|
||||
</ColumnValidationSettings>
|
||||
<HeaderStyle Width="50px"></HeaderStyle>
|
||||
</telerik:GridBoundColumn>
|
||||
|
||||
<telerik:GridBoundColumn DataField="PoOr" DataType="System.Byte" FilterControlAltText="Filter PoOr column" HeaderText="Po" ReadOnly="True" SortExpression="PoOr" UniqueName="PoOr" HeaderStyle-Width="50px" ColumnGroupName="Grid" AllowFiltering="false">
|
||||
<ColumnValidationSettings>
|
||||
<ModelErrorMessage Text="" />
|
||||
</ColumnValidationSettings>
|
||||
<HeaderStyle Width="50px"></HeaderStyle>
|
||||
</telerik:GridBoundColumn>
|
||||
|
||||
<telerik:GridBoundColumn DataField="otherOr" DataType="System.Byte" FilterControlAltText="Filter otherOr column" HeaderText="other" ReadOnly="True" SortExpression="otherOr" UniqueName="otherOr" HeaderStyle-Width="50px" ColumnGroupName="Grid" AllowFiltering="false">
|
||||
<ColumnValidationSettings>
|
||||
<ModelErrorMessage Text="" />
|
||||
</ColumnValidationSettings>
|
||||
<HeaderStyle Width="50px"></HeaderStyle>
|
||||
</telerik:GridBoundColumn>
|
||||
|
||||
<telerik:GridDateTimeColumn DataField="OrChanged" DataFormatString="{0:yyyy-MM-dd}" FilterControlAltText="Filter OrChanged column" HeaderText="Changed" ReadOnly="True" SortExpression="OrChanged" UniqueName="OrChanged" HeaderStyle-Width="80px" ColumnGroupName="Grid" ItemStyle-Wrap="false" AllowFiltering="false">
|
||||
|
||||
|
||||
<HeaderStyle Width="80px"></HeaderStyle>
|
||||
|
||||
<ItemStyle Wrap="False"></ItemStyle>
|
||||
</telerik:GridDateTimeColumn>
|
||||
|
||||
|
||||
<telerik:GridCheckBoxColumn DataField="otherReason" DataType="System.Boolean" FilterControlAltText="Filter otherReason column" HeaderText="Extra Control" ReadOnly="True" SortExpression="otherReason" UniqueName="otherReason" ColumnGroupName="Excep" AllowFiltering="false">
|
||||
</telerik:GridCheckBoxColumn>
|
||||
<telerik:GridCheckBoxColumn DataField="OtherIsotopes" DataType="System.Boolean" FilterControlAltText="Filter OtherIsotopes column" HeaderText="OtherIsotopes" ReadOnly="True" SortExpression="OtherIsotopes" UniqueName="OtherIsotopes" ColumnGroupName="Excep" AllowFiltering="false" />
|
||||
<telerik:GridBoundColumn DataField="Isotopes" FilterControlAltText="Filter Isotopes column" HeaderText="Isotopes" ReadOnly="True" SortExpression="Isotopes" UniqueName="Isotopes" ColumnGroupName="Excep" />
|
||||
<telerik:GridCheckBoxColumn DataField="NoInternal" DataType="System.Boolean" FilterControlAltText="Filter NoInternal column" HeaderText="No Internal" ReadOnly="False" SortExpression="NoInternal" UniqueName="NoInternal" ColumnGroupName="Excep" AllowFiltering="false">
|
||||
</telerik:GridCheckBoxColumn>
|
||||
<telerik:GridBoundColumn DataField="ReasonNoIn" FilterControlAltText="Filter ReasonNoIn column" HeaderText="Reason" ReadOnly="True" SortExpression="ReasonNoIn" UniqueName="ReasonNoIn" ColumnGroupName="Excep" AllowFiltering="false">
|
||||
<ColumnValidationSettings>
|
||||
<ModelErrorMessage Text="" />
|
||||
</ColumnValidationSettings>
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="changed" DataType="System.DateTime" FilterControlAltText="Filter changed column" HeaderText="changed" ReadOnly="True" SortExpression="changed" UniqueName="changed">
|
||||
<ColumnValidationSettings>
|
||||
<ModelErrorMessage Text="" />
|
||||
</ColumnValidationSettings>
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridCheckBoxColumn DataField="Override" DataType="System.Boolean" FilterControlAltText="Filter Override column" HeaderText="Override" SortExpression="Override" UniqueName="Override" DefaultInsertValue="true" AllowFiltering="false">
|
||||
</telerik:GridCheckBoxColumn>
|
||||
<telerik:GridCheckBoxColumn DataField="Denied" DataType="System.Boolean" FilterControlAltText="Filter Denied column" HeaderText="Denied" SortExpression="Denied" UniqueName="Denied" AllowFiltering="false">
|
||||
</telerik:GridCheckBoxColumn>
|
||||
<telerik:GridBoundColumn DataField="HphChecked" DataType="System.DateTime" FilterControlAltText="Filter HphChecked column" HeaderText="HphChecked" ReadOnly="True" SortExpression="HphChecked" UniqueName="HphChecked" AllowFiltering="false">
|
||||
<ColumnValidationSettings>
|
||||
<ModelErrorMessage Text="" />
|
||||
</ColumnValidationSettings>
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="HphCheckedBy" FilterControlAltText="Filter HphCheckedBy column" HeaderText="HphCheckedBy" ReadOnly="True" SortExpression="HphCheckedBy" UniqueName="HphCheckedBy" AllowFiltering="false">
|
||||
<ColumnValidationSettings>
|
||||
<ModelErrorMessage Text="" />
|
||||
</ColumnValidationSettings>
|
||||
</telerik:GridBoundColumn>
|
||||
</Columns>
|
||||
</MasterTableView>
|
||||
</telerik:RadGrid>
|
||||
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:idpbwConnectionString %>" SelectCommand="[frm].[RequestOtherFreqSelect]" SelectCommandType="StoredProcedure" UpdateCommand="[frm].[RequestOtherFreqUpdate]" UpdateCommandType="StoredProcedure" CancelSelectOnNullParameter="False">
|
||||
<SelectParameters>
|
||||
<asp:QueryStringParameter Name="persid" QueryStringField="persid" Type="Int32" />
|
||||
<asp:QueryStringParameter Name="Request" QueryStringField="rq" Type="Int32" />
|
||||
</SelectParameters>
|
||||
<UpdateParameters>
|
||||
<asp:Parameter Direction="ReturnValue" Name="RETURN_VALUE" Type="Int32" />
|
||||
<asp:Parameter Name="ID" Type="Int32" />
|
||||
<asp:Parameter Name="wbc" Type="Byte" />
|
||||
<asp:Parameter Name="lung" Type="Byte" />
|
||||
<asp:Parameter Name="thy" Type="Byte" />
|
||||
<asp:Parameter Name="Pu" Type="Byte" />
|
||||
<asp:Parameter Name="Am" Type="Byte" />
|
||||
<asp:Parameter Name="U" Type="Byte" />
|
||||
<asp:Parameter Name="Tr" Type="Byte" />
|
||||
<asp:Parameter Name="Po" Type="Byte" />
|
||||
<asp:Parameter Name="other" Type="Byte" />
|
||||
<asp:Parameter Name="wbcOr" Type="Byte" />
|
||||
<asp:Parameter Name="lungOr" Type="Byte" />
|
||||
<asp:Parameter Name="thyOr" Type="Byte" />
|
||||
<asp:Parameter Name="PuOr" Type="Byte" />
|
||||
<asp:Parameter Name="AmOr" Type="Byte" />
|
||||
<asp:Parameter Name="UOr" Type="Byte" />
|
||||
<asp:Parameter Name="TrOr" Type="Byte" />
|
||||
<asp:Parameter Name="PoOr" Type="Byte" />
|
||||
<asp:Parameter Name="otherOr" Type="Byte" />
|
||||
<asp:Parameter Name="OrChanged" Type="DateTime" />
|
||||
<asp:Parameter Name="otherReason" Type="Boolean" />
|
||||
<asp:Parameter Name="OtherIsotopes" Type="Boolean" />
|
||||
<asp:Parameter Name="Isotopes" Type="String" />
|
||||
<asp:Parameter Name="NoInternal" Type="Boolean" />
|
||||
<asp:Parameter Name="ReasonNoIn" Type="String" />
|
||||
<asp:Parameter Name="changed" Type="DateTime" />
|
||||
<asp:Parameter Name="Override" Type="Boolean" />
|
||||
<asp:Parameter Name="Denied" Type="Boolean" />
|
||||
<asp:Parameter Name="HphChecked" Type="DateTime" />
|
||||
<asp:Parameter Name="HphCheckedBy" Type="String" />
|
||||
</UpdateParameters>
|
||||
</asp:SqlDataSource>
|
||||
</asp:Content>
|
||||
17
safety/ApproveNoInternalCheck.aspx.cs
Normal file
17
safety/ApproveNoInternalCheck.aspx.cs
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace safety
|
||||
{
|
||||
public partial class ApproveNoInternalCheck : System.Web.UI.Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
33
safety/ApproveNoInternalCheck.aspx.designer.cs
generated
Normal file
33
safety/ApproveNoInternalCheck.aspx.designer.cs
generated
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace safety {
|
||||
|
||||
|
||||
public partial class ApproveNoInternalCheck {
|
||||
|
||||
/// <summary>
|
||||
/// RadGrid1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::Telerik.Web.UI.RadGrid RadGrid1;
|
||||
|
||||
/// <summary>
|
||||
/// SqlDataSource1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.SqlDataSource SqlDataSource1;
|
||||
}
|
||||
}
|
||||
112
safety/ApproveNoInternalCheckOld.aspx
Normal file
112
safety/ApproveNoInternalCheckOld.aspx
Normal file
|
|
@ -0,0 +1,112 @@
|
|||
<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeBehind="ApproveNoInternalCheckOld.aspx.cs" Inherits="safety.ApproveNoInternalCheckOld" %>
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
|
||||
<h1>Approval for no internal examination</h1>
|
||||
<telerik:RadGrid ID="RadGrid1" runat="server" CellSpacing="0" DataSourceID="SqlDataSource1" GridLines="None" AutoGenerateColumns="False">
|
||||
<MasterTableView DataKeyNames="toelatingid" DataSourceID="SqlDataSource1">
|
||||
<ColumnGroups>
|
||||
<telerik:GridColumnGroup Name="Freq" HeaderText="Frequentie"></telerik:GridColumnGroup>
|
||||
<telerik:GridColumnGroup Name="Grid" HeaderText="Grid"></telerik:GridColumnGroup>
|
||||
<telerik:GridColumnGroup Name="Mentor" HeaderText="Mentor/Chef"></telerik:GridColumnGroup>
|
||||
</ColumnGroups>
|
||||
<Columns>
|
||||
<telerik:GridHyperLinkColumn AllowSorting="False" DataNavigateUrlFields="toelatingid" DataNavigateUrlFormatString="http://intern/idpbw2/RequestAllowance.aspx?tlid={0}" DataTextField="toelatingid" DataTextFormatString="{0}" FilterControlAltText="Filter toelatingid column" HeaderText="DocA1" Target="_blank" UniqueName="toelatingid">
|
||||
</telerik:GridHyperLinkColumn>
|
||||
<telerik:GridHyperLinkColumn AllowSorting="False" DataNavigateUrlFields="persid" DataNavigateUrlFormatString="http://intern.sckcen.be/idpbw2/PersFiche.aspx?persID={0}" DataTextField="persid" DataTextFormatString="{0}" FilterControlAltText="Filter persid column" HeaderText="PersID" Target="_blank" UniqueName="persid">
|
||||
</telerik:GridHyperLinkColumn>
|
||||
<telerik:GridBoundColumn DataField="name" FilterControlAltText="Filter name column" HeaderText="name" ReadOnly="True" SortExpression="name" UniqueName="name">
|
||||
<ColumnValidationSettings>
|
||||
<ModelErrorMessage Text="" />
|
||||
</ColumnValidationSettings>
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="companyname" FilterControlAltText="Filter companyname column" HeaderText="companyname" ReadOnly="True" SortExpression="companyname" UniqueName="companyname">
|
||||
<ColumnValidationSettings>
|
||||
<ModelErrorMessage Text="" />
|
||||
</ColumnValidationSettings>
|
||||
</telerik:GridBoundColumn>
|
||||
|
||||
<telerik:GridBoundColumn DataField="redengeencontrole" FilterControlAltText="Filter redengeencontrole column" HeaderText="redengeencontrole" SortExpression="redengeencontrole" UniqueName="redengeencontrole">
|
||||
<ColumnValidationSettings>
|
||||
<ModelErrorMessage Text="" />
|
||||
</ColumnValidationSettings>
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridButtonColumn CommandName="Approve" FilterControlAltText="Filter column column" Text="Approve" UniqueName="column">
|
||||
</telerik:GridButtonColumn>
|
||||
<telerik:GridBoundColumn DataField="wbc" DataType="System.Byte" FilterControlAltText="Filter wbc column" HeaderText="WBC" SortExpression="wbc" UniqueName="wbc" ColumnGroupName="Freq">
|
||||
<ColumnValidationSettings>
|
||||
<ModelErrorMessage Text="" />
|
||||
</ColumnValidationSettings>
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="lung" DataType="System.Byte" FilterControlAltText="Filter lung column" HeaderText="Lung" SortExpression="lung" UniqueName="lung" ColumnGroupName="Freq">
|
||||
<ColumnValidationSettings>
|
||||
<ModelErrorMessage Text="" />
|
||||
</ColumnValidationSettings>
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="pu" DataType="System.Byte" FilterControlAltText="Filter pu column" HeaderText="Pu" SortExpression="pu" UniqueName="pu" ColumnGroupName="Freq">
|
||||
<ColumnValidationSettings>
|
||||
<ModelErrorMessage Text="" />
|
||||
</ColumnValidationSettings>
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="Am" DataType="System.Byte" FilterControlAltText="Filter Am column" HeaderText="Am" SortExpression="Am" UniqueName="Am" ColumnGroupName="Freq">
|
||||
<ColumnValidationSettings>
|
||||
<ModelErrorMessage Text="" />
|
||||
</ColumnValidationSettings>
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="wbcGr" DataType="System.Byte" FilterControlAltText="Filter wbcGr column" HeaderText="WBC" ReadOnly="True" SortExpression="wbcGr" UniqueName="wbcGr" ColumnGroupName="Grid">
|
||||
<ColumnValidationSettings>
|
||||
<ModelErrorMessage Text="" />
|
||||
</ColumnValidationSettings>
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="LungGr" DataType="System.Byte" FilterControlAltText="Filter LungGr column" HeaderText="Lung" ReadOnly="True" SortExpression="LungGr" UniqueName="LungGr" ColumnGroupName="Grid">
|
||||
<ColumnValidationSettings>
|
||||
<ModelErrorMessage Text="" />
|
||||
</ColumnValidationSettings>
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="PuGr" DataType="System.Byte" FilterControlAltText="Filter PuGr column" HeaderText="Pu" ReadOnly="True" SortExpression="PuGr" UniqueName="PuGr" ColumnGroupName="Grid">
|
||||
<ColumnValidationSettings>
|
||||
<ModelErrorMessage Text="" />
|
||||
</ColumnValidationSettings>
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="AmGr" DataType="System.Byte" FilterControlAltText="Filter AmGr column" HeaderText="Am" ReadOnly="True" SortExpression="AmGr" UniqueName="AmGr" ColumnGroupName="Grid">
|
||||
<ColumnValidationSettings>
|
||||
<ModelErrorMessage Text="" />
|
||||
</ColumnValidationSettings>
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="jobbeschrijving" FilterControlAltText="Filter jobbeschrijving column" HeaderText="jobbeschrijving" SortExpression="jobbeschrijving" UniqueName="jobbeschrijving">
|
||||
<ColumnValidationSettings>
|
||||
<ModelErrorMessage Text="" />
|
||||
</ColumnValidationSettings>
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="start" DataType="System.DateTime" FilterControlAltText="Filter start column" HeaderText="Start" SortExpression="start" UniqueName="start" DataFormatString="{0:yyyy-MM-dd}">
|
||||
<ColumnValidationSettings>
|
||||
<ModelErrorMessage Text="" />
|
||||
</ColumnValidationSettings>
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="einde" DataType="System.DateTime" FilterControlAltText="Filter einde column" HeaderText="Einde" SortExpression="einde" UniqueName="einde" DataFormatString="{0:yyyy-MM-dd}">
|
||||
<ColumnValidationSettings>
|
||||
<ModelErrorMessage Text="" />
|
||||
</ColumnValidationSettings>
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="building" FilterControlAltText="Filter building column" HeaderText="building" SortExpression="building" UniqueName="building">
|
||||
<ColumnValidationSettings>
|
||||
<ModelErrorMessage Text="" />
|
||||
</ColumnValidationSettings>
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="mentor1" DataType="System.Int32" FilterControlAltText="Filter mentor1 column" HeaderText="MentorID" SortExpression="mentor1" UniqueName="mentor1" ColumnGroupName="Mentor">
|
||||
<ColumnValidationSettings>
|
||||
<ModelErrorMessage Text="" />
|
||||
</ColumnValidationSettings>
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="mentor" FilterControlAltText="Filter mentor column" HeaderText="Mentor" ReadOnly="True" SortExpression="mentor" UniqueName="mentor" ColumnGroupName="Mentor">
|
||||
<ColumnValidationSettings>
|
||||
<ModelErrorMessage Text="" />
|
||||
</ColumnValidationSettings>
|
||||
</telerik:GridBoundColumn>
|
||||
</Columns>
|
||||
</MasterTableView>
|
||||
</telerik:RadGrid>
|
||||
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:idpbwConnectionString %>" SelectCommand="frm.RequestNoInternal" SelectCommandType="StoredProcedure">
|
||||
<SelectParameters>
|
||||
<asp:Parameter Direction="ReturnValue" Name="RETURN_VALUE" Type="Int32" />
|
||||
</SelectParameters>
|
||||
</asp:SqlDataSource>
|
||||
</asp:Content>
|
||||
17
safety/ApproveNoInternalCheckOld.aspx.cs
Normal file
17
safety/ApproveNoInternalCheckOld.aspx.cs
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace safety
|
||||
{
|
||||
public partial class ApproveNoInternalCheckOld : System.Web.UI.Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
33
safety/ApproveNoInternalCheckOld.aspx.designer.cs
generated
Normal file
33
safety/ApproveNoInternalCheckOld.aspx.designer.cs
generated
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace safety {
|
||||
|
||||
|
||||
public partial class ApproveNoInternalCheckOld {
|
||||
|
||||
/// <summary>
|
||||
/// RadGrid1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::Telerik.Web.UI.RadGrid RadGrid1;
|
||||
|
||||
/// <summary>
|
||||
/// SqlDataSource1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.SqlDataSource SqlDataSource1;
|
||||
}
|
||||
}
|
||||
67
safety/BR3Access.aspx
Normal file
67
safety/BR3Access.aspx
Normal file
|
|
@ -0,0 +1,67 @@
|
|||
<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeBehind="BR3Access.aspx.cs" Inherits="safety.BR3Access" %>
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
|
||||
<telerik:RadGrid ID="RadGrid1" runat="server" DataSourceID="SqlDS23" AutoGenerateColumns="False">
|
||||
<ExportSettings>
|
||||
<Pdf PageWidth="">
|
||||
</Pdf>
|
||||
</ExportSettings>
|
||||
<MasterTableView DataKeyNames="persid" DataSourceID="SqlDS23" AllowAutomaticInserts="True" AllowAutomaticUpdates="True" ClientDataKeyNames="persid" CommandItemDisplay="Top" AllowAutomaticDeletes="True" >
|
||||
<Columns>
|
||||
<telerik:GridBoundColumn DataField="persid" DataType="System.Int32" FilterControlAltText="Filter persid column" HeaderText="persid" SortExpression="persid" UniqueName="persid" InsertVisiblityMode="AlwaysVisible">
|
||||
<ColumnValidationSettings>
|
||||
<ModelErrorMessage Text="" />
|
||||
</ColumnValidationSettings>
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridDateTimeColumn DataField="startdate" DataFormatString="{0:yyyy-MM-dd}" FilterControlAltText="Filter startdate column" HeaderText="Start" UniqueName="startdate" HeaderStyle-Width="80px">
|
||||
<ColumnValidationSettings>
|
||||
<ModelErrorMessage Text="" />
|
||||
</ColumnValidationSettings>
|
||||
<HeaderStyle Width="80px"></HeaderStyle>
|
||||
</telerik:GridDateTimeColumn>
|
||||
<telerik:GridDateTimeColumn DataField="enddate" DataFormatString="{0:yyyy-MM-dd}" FilterControlAltText="Filter enddate column" HeaderText="Einde" UniqueName="enddate" HeaderStyle-Width="80px">
|
||||
<ColumnValidationSettings>
|
||||
<ModelErrorMessage Text="" />
|
||||
</ColumnValidationSettings>
|
||||
<HeaderStyle Width="80px"></HeaderStyle>
|
||||
</telerik:GridDateTimeColumn>
|
||||
<telerik:GridBoundColumn DataField="badge" FilterControlAltText="Filter badge column" HeaderText="badge" SortExpression="badge" UniqueName="badge">
|
||||
<ColumnValidationSettings>
|
||||
<ModelErrorMessage Text="" />
|
||||
</ColumnValidationSettings>
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="name" FilterControlAltText="Filter name column" HeaderText="name" SortExpression="name" UniqueName="name">
|
||||
<ColumnValidationSettings>
|
||||
<ModelErrorMessage Text="" />
|
||||
</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>
|
||||
<asp:SqlDataSource ID="SqlDS23" runat="server" ConnectionString="<%$ ConnectionStrings:AccessControlConnectionString %>" InsertCommand="AllowInsert" InsertCommandType="StoredProcedure" SelectCommand="AllowSelect" SelectCommandType="StoredProcedure" UpdateCommand="AllowUpdate" UpdateCommandType="StoredProcedure" DeleteCommand="AllowDelete" DeleteCommandType="StoredProcedure" CancelSelectOnNullParameter="False">
|
||||
<DeleteParameters>
|
||||
<asp:Parameter Name="persid" Type="Int32" />
|
||||
</DeleteParameters>
|
||||
<InsertParameters>
|
||||
<asp:Parameter Name="persid" Type="Int32" />
|
||||
<asp:Parameter DbType="Date" Name="startdate" />
|
||||
<asp:Parameter DbType="Date" Name="enddate" />
|
||||
<asp:Parameter Name="badge" Type="String" />
|
||||
<asp:Parameter Name="name" Type="String" />
|
||||
<asp:Parameter Name="code" Type="Byte" />
|
||||
</InsertParameters>
|
||||
<UpdateParameters>
|
||||
<asp:Parameter Name="persid" Type="Int32" />
|
||||
<asp:Parameter DbType="Date" Name="startdate" />
|
||||
<asp:Parameter DbType="Date" Name="enddate" />
|
||||
<asp:Parameter Name="badge" Type="String" />
|
||||
<asp:Parameter Name="name" Type="String" />
|
||||
<asp:Parameter Name="code" Type="Byte" />
|
||||
</UpdateParameters>
|
||||
</asp:SqlDataSource>
|
||||
</asp:Content>
|
||||
17
safety/BR3Access.aspx.cs
Normal file
17
safety/BR3Access.aspx.cs
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace safety
|
||||
{
|
||||
public partial class BR3Access : System.Web.UI.Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
33
safety/BR3Access.aspx.designer.cs
generated
Normal file
33
safety/BR3Access.aspx.designer.cs
generated
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace safety {
|
||||
|
||||
|
||||
public partial class BR3Access {
|
||||
|
||||
/// <summary>
|
||||
/// RadGrid1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::Telerik.Web.UI.RadGrid RadGrid1;
|
||||
|
||||
/// <summary>
|
||||
/// SqlDS23 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.SqlDataSource SqlDS23;
|
||||
}
|
||||
}
|
||||
90
safety/Bericht.aspx
Normal file
90
safety/Bericht.aspx
Normal file
|
|
@ -0,0 +1,90 @@
|
|||
<%@ Page Title="" Language="C#" MasterPageFile="~/Siten.master" AutoEventWireup="true" CodeBehind="Bericht.aspx.cs" Inherits="safety.Bericht" %>
|
||||
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
|
||||
|
||||
|
||||
<telerik:RadGrid ID="RadGrid1" runat="server" DataSourceID="SqlDataSource1" AutoGenerateColumns="False" AllowAutomaticInserts="True" AllowAutomaticUpdates="True" AllowAutomaticDeletes="True" CellSpacing="-1" GridLines="Both" GroupPanelPosition="Top" OnItemCommand="RadGrid1_ItemCommand">
|
||||
<ExportSettings>
|
||||
<Pdf PageWidth="">
|
||||
</Pdf>
|
||||
</ExportSettings>
|
||||
<MasterTableView DataKeyNames="MessageID,lang" DataSourceID="SqlDataSource1" CommandItemDisplay="Top">
|
||||
<Columns>
|
||||
<telerik:GridBoundColumn DataField="MessageID" DataType="System.Int32" FilterControlAltText="Filter MessageID column" HeaderText="MessageID" SortExpression="MessageID" UniqueName="MessageID" InsertVisiblityMode="AlwaysVisible">
|
||||
<ColumnValidationSettings>
|
||||
<ModelErrorMessage Text=""></ModelErrorMessage>
|
||||
</ColumnValidationSettings>
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="lang" FilterControlAltText="Filter lang column" HeaderText="lang" SortExpression="lang" UniqueName="lang" InsertVisiblityMode="AlwaysVisible">
|
||||
<ColumnValidationSettings>
|
||||
<ModelErrorMessage Text=""></ModelErrorMessage>
|
||||
</ColumnValidationSettings>
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="fileType" FilterControlAltText="Filter fileType column" HeaderText="fileType" SortExpression="fileType" UniqueName="fileType">
|
||||
<ColumnValidationSettings>
|
||||
<ModelErrorMessage Text=""></ModelErrorMessage>
|
||||
</ColumnValidationSettings>
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="fileName" FilterControlAltText="Filter fileName column" HeaderText="fileName" SortExpression="fileName" UniqueName="fileName">
|
||||
<ColumnValidationSettings>
|
||||
<ModelErrorMessage Text=""></ModelErrorMessage>
|
||||
</ColumnValidationSettings>
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridCheckBoxColumn DataField="Enabled" DataType="System.Boolean" FilterControlAltText="Filter column column" HeaderText="Enabled" UniqueName="column">
|
||||
</telerik:GridCheckBoxColumn>
|
||||
<telerik:GridBoundColumn DataField="created" DataType="System.DateTime" FilterControlAltText="Filter created column" HeaderText="created" SortExpression="created" UniqueName="created" ReadOnly="True">
|
||||
<ColumnValidationSettings>
|
||||
<ModelErrorMessage Text=""></ModelErrorMessage>
|
||||
</ColumnValidationSettings>
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="creator" FilterControlAltText="Filter creator column" HeaderText="creator" SortExpression="creator" UniqueName="creator" ReadOnly="True">
|
||||
<ColumnValidationSettings>
|
||||
<ModelErrorMessage Text=""></ModelErrorMessage>
|
||||
</ColumnValidationSettings>
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="changed" DataType="System.DateTime" FilterControlAltText="Filter changed column" HeaderText="changed" SortExpression="changed" UniqueName="changed" ReadOnly="True">
|
||||
<ColumnValidationSettings>
|
||||
<ModelErrorMessage Text=""></ModelErrorMessage>
|
||||
</ColumnValidationSettings>
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="changer" FilterControlAltText="Filter changer column" HeaderText="changer" SortExpression="changer" UniqueName="changer" ReadOnly="True">
|
||||
<ColumnValidationSettings>
|
||||
<ModelErrorMessage Text=""></ModelErrorMessage>
|
||||
</ColumnValidationSettings>
|
||||
</telerik:GridBoundColumn>
|
||||
|
||||
|
||||
<telerik:GridBinaryImageColumn DataAlternateTextField="fileName" DataAlternateTextFormatString="{0}" DataField="Message" FilterControlAltText="Filter column1 column" HeaderText="Image" ImageHeight="" ImageWidth="200px" UniqueName="Message" AllowFiltering="False" AutoAdjustImageControlSize="False" ShowFilterIcon="False" />
|
||||
|
||||
|
||||
<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>
|
||||
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:BerichtConnectionString %>" SelectCommand="MessagesSelect" DeleteCommand="MessagesDelete" InsertCommand="MessagesInsert" UpdateCommand="MessagesUpdate" DeleteCommandType="StoredProcedure" InsertCommandType="StoredProcedure" SelectCommandType="StoredProcedure" UpdateCommandType="StoredProcedure">
|
||||
<DeleteParameters>
|
||||
<asp:Parameter Name="MessageID" Type="Int32" />
|
||||
<asp:Parameter Name="lang" Type="String" />
|
||||
</DeleteParameters>
|
||||
<InsertParameters>
|
||||
<asp:Parameter Name="MessageID" Type="Int32" />
|
||||
<asp:Parameter Name="lang" Type="String" />
|
||||
<asp:Parameter Name="fileType" Type="String" />
|
||||
<asp:Parameter Name="fileName" Type="String" />
|
||||
<asp:Parameter DbType="Binary" Name="Message" />
|
||||
</InsertParameters>
|
||||
<UpdateParameters>
|
||||
<asp:Parameter Name="MessageID" Type="Int32" />
|
||||
<asp:Parameter Name="lang" Type="String" />
|
||||
<asp:Parameter Name="fileType" Type="String" />
|
||||
<asp:Parameter Name="fileName" Type="String" />
|
||||
<asp:Parameter Name="Message" DbType="Binary" />
|
||||
</UpdateParameters>
|
||||
</asp:SqlDataSource>
|
||||
</asp:Content>
|
||||
144
safety/Bericht.aspx.cs
Normal file
144
safety/Bericht.aspx.cs
Normal file
|
|
@ -0,0 +1,144 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using Telerik.Web.UI;
|
||||
|
||||
namespace safety
|
||||
{
|
||||
public partial class Bericht : System.Web.UI.Page
|
||||
{
|
||||
const int MaxTotalBytes = 1048576; // 1 MB
|
||||
Int64 totalBytes;
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
General.setTitle(Master, "Bericht");
|
||||
}
|
||||
|
||||
|
||||
public bool? IsRadAsyncValid
|
||||
{
|
||||
get
|
||||
{
|
||||
if (Session["IsRadAsyncValid"] == null)
|
||||
{
|
||||
Session["IsRadAsyncValid"] = true;
|
||||
}
|
||||
return Convert.ToBoolean(Session["IsRadAsyncValid"].ToString());
|
||||
}
|
||||
set
|
||||
{
|
||||
Session["IsRadAsyncValid"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
protected override void OnLoad(EventArgs e)
|
||||
{
|
||||
base.OnLoad(e);
|
||||
IsRadAsyncValid = null;
|
||||
}
|
||||
|
||||
|
||||
|
||||
protected void RadGrid1_ItemCreated(object sender, GridItemEventArgs e)
|
||||
{
|
||||
if (e.Item is GridEditableItem && e.Item.IsInEditMode)
|
||||
{
|
||||
RadAsyncUpload upload = ((GridEditableItem)e.Item)["Upload"].FindControl("AsyncUpload1") as RadAsyncUpload;
|
||||
TableCell cell = (TableCell)upload.Parent;
|
||||
|
||||
CustomValidator validator = new CustomValidator();
|
||||
validator.ErrorMessage = "Please select file to be uploaded";
|
||||
validator.ClientValidationFunction = "validateRadUpload";
|
||||
validator.Display = ValidatorDisplay.Dynamic;
|
||||
cell.Controls.Add(validator);
|
||||
}
|
||||
}
|
||||
|
||||
protected void RadGrid1_ItemCommand(object source, GridCommandEventArgs e)
|
||||
{
|
||||
|
||||
if (e.CommandName == RadGrid.EditCommandName)
|
||||
{
|
||||
RadScriptManager.RegisterStartupScript(Page, Page.GetType(), "SetEditMode", "isEditMode = true;", true);
|
||||
}
|
||||
else if (e.CommandName == "DownloadMyFile")
|
||||
{
|
||||
GridDataItem item = e.Item as GridDataItem;
|
||||
int MessageID = (int) item.GetDataKeyValue("MessageID");
|
||||
string lang = (string) item.GetDataKeyValue("lang");
|
||||
|
||||
//object im = item.GetDataKeyValue("Message");
|
||||
//string strID = item.GetDataKeyValue("ID").ToString();
|
||||
//string strName = item["Name"].Text;
|
||||
//// Download File
|
||||
//string path = Server.MapPath("~/images/" + e.CommandArgument);
|
||||
//string attachment = "attachment; filename=" + e.CommandArgument;
|
||||
//Response.Clear();
|
||||
//Response.AddHeader("content-disposition", attachment);
|
||||
//Response.ContentType = "image/jpeg";
|
||||
//Response.WriteFile(path);
|
||||
//Response.End();
|
||||
System.Data.SqlClient.SqlConnection cn = new System.Data.SqlClient.SqlConnection(System.Configuration.ConfigurationManager.ConnectionStrings["BerichtConnectionString"].ConnectionString);
|
||||
System.Data.SqlClient.SqlCommand cm = new System.Data.SqlClient.SqlCommand("getImage", cn);
|
||||
cm.CommandType = System.Data.CommandType.StoredProcedure;
|
||||
cm.Parameters.AddWithValue("@id", MessageID);
|
||||
cm.Parameters.AddWithValue("@lang", lang);
|
||||
cn.Open();
|
||||
Response.Clear();
|
||||
string attachment = "attachment; filename=image.jpg";
|
||||
Response.AddHeader("content-disposition", attachment);
|
||||
Response.ContentType = "image/jpeg";
|
||||
try
|
||||
{
|
||||
System.Data.SqlClient.SqlDataReader r = cm.ExecuteReader(System.Data.CommandBehavior.CloseConnection | System.Data.CommandBehavior.SingleResult | System.Data.CommandBehavior.SingleRow);
|
||||
if (r != null && r.Read())
|
||||
{
|
||||
Byte[] bytChunk = (byte[])r["Message"];
|
||||
Response.ContentType = "image/jpeg";
|
||||
Response.BinaryWrite(bytChunk);
|
||||
}
|
||||
else
|
||||
Response.Redirect("images/no-photo.gif");
|
||||
}
|
||||
catch (System.Exception ex)
|
||||
{
|
||||
}
|
||||
finally
|
||||
{
|
||||
cn.Close();
|
||||
Response.End();
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
protected string TrimDescription(string description)
|
||||
{
|
||||
if (!string.IsNullOrEmpty(description) && description.Length > 200)
|
||||
{
|
||||
return string.Concat(description.Substring(0, 200), "...");
|
||||
}
|
||||
return description;
|
||||
}
|
||||
|
||||
protected void AsyncUpload1_FileUploaded(object sender, FileUploadedEventArgs e)
|
||||
{
|
||||
if ((totalBytes < MaxTotalBytes) && (e.File.ContentLength < MaxTotalBytes))
|
||||
{
|
||||
e.IsValid = true;
|
||||
totalBytes += e.File.ContentLength;
|
||||
IsRadAsyncValid = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
e.IsValid = false;
|
||||
IsRadAsyncValid = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
33
safety/Bericht.aspx.designer.cs
generated
Normal file
33
safety/Bericht.aspx.designer.cs
generated
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace safety {
|
||||
|
||||
|
||||
public partial class Bericht {
|
||||
|
||||
/// <summary>
|
||||
/// RadGrid1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::Telerik.Web.UI.RadGrid RadGrid1;
|
||||
|
||||
/// <summary>
|
||||
/// SqlDataSource1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.SqlDataSource SqlDataSource1;
|
||||
}
|
||||
}
|
||||
1
safety/BerichtImg.ashx
Normal file
1
safety/BerichtImg.ashx
Normal file
|
|
@ -0,0 +1 @@
|
|||
<%@ WebHandler Language="C#" CodeBehind="BerichtImg.ashx.cs" Class="safety.BerichtImg" %>
|
||||
56
safety/BerichtImg.ashx.cs
Normal file
56
safety/BerichtImg.ashx.cs
Normal file
|
|
@ -0,0 +1,56 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
|
||||
namespace safety
|
||||
{
|
||||
/// <summary>
|
||||
/// Summary description for photo
|
||||
/// </summary>
|
||||
public class BerichtImg : IHttpHandler
|
||||
{
|
||||
|
||||
public void ProcessRequest(HttpContext context)
|
||||
{
|
||||
int MessageID = 0;
|
||||
if (context.Request.Params["MessageID"] != null && int.TryParse(context.Request.Params["MessageID"].ToString(), out MessageID) && MessageID > 0)
|
||||
{
|
||||
System.Data.SqlClient.SqlConnection cn = new System.Data.SqlClient.SqlConnection(System.Configuration.ConfigurationManager.ConnectionStrings["BerichtConnectionString"].ConnectionString);
|
||||
System.Data.SqlClient.SqlCommand cm = new System.Data.SqlClient.SqlCommand("GetImage", cn);
|
||||
cm.CommandType = System.Data.CommandType.StoredProcedure;
|
||||
cm.Parameters.AddWithValue("@id", MessageID);
|
||||
cm.Parameters.AddWithValue("@lang", "nl");
|
||||
|
||||
cn.Open();
|
||||
try
|
||||
{
|
||||
System.Data.SqlClient.SqlDataReader r = cm.ExecuteReader(System.Data.CommandBehavior.CloseConnection | System.Data.CommandBehavior.SingleResult | System.Data.CommandBehavior.SingleRow);
|
||||
if (r != null && r.Read())
|
||||
{
|
||||
Byte[] bytChunk = (byte[])r["Message"];
|
||||
context.Response.ContentType = "image/jpeg";
|
||||
context.Response.BinaryWrite(bytChunk);
|
||||
}
|
||||
else
|
||||
context.Response.Redirect("images/no-photo.gif");
|
||||
}
|
||||
catch
|
||||
{
|
||||
}
|
||||
finally
|
||||
{
|
||||
cn.Close();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public bool IsReusable
|
||||
{
|
||||
get
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
8
safety/BuildingResponsable.aspx
Normal file
8
safety/BuildingResponsable.aspx
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<%@ Page Title="" Language="C#" MasterPageFile="~/Site2n.master" AutoEventWireup="true" CodeBehind="BuildingResponsable.aspx.cs" Inherits="safety.BuildingResponsable" MaintainScrollPositionOnPostback="true" %>
|
||||
|
||||
|
||||
<asp:Content ID="Contenth" ContentPlaceHolderID="head" runat="server" />
|
||||
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
|
||||
|
||||
</asp:Content>
|
||||
25
safety/BuildingResponsable.aspx.cs
Normal file
25
safety/BuildingResponsable.aspx.cs
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using Telerik.Web.UI;
|
||||
|
||||
namespace safety
|
||||
{
|
||||
public partial class BuildingResponsable : System.Web.UI.Page
|
||||
{
|
||||
bool mayUpdate = false;
|
||||
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
Response.Redirect("https://cts.intern.sckcen.be/Gebouw/ClusterResponsable.aspx", true);
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
15
safety/BuildingResponsable.aspx.designer.cs
generated
Normal file
15
safety/BuildingResponsable.aspx.designer.cs
generated
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace safety {
|
||||
|
||||
|
||||
public partial class BuildingResponsable {
|
||||
}
|
||||
}
|
||||
170
safety/BuildingResponsableOld.aspx
Normal file
170
safety/BuildingResponsableOld.aspx
Normal file
|
|
@ -0,0 +1,170 @@
|
|||
<%@ Page Title="" Language="C#" MasterPageFile="~/Site2n.master" AutoEventWireup="true" CodeBehind="BuildingResponsableOld.aspx.cs" Inherits="safety.BuildingResponsableOld" MaintainScrollPositionOnPostback="true" %>
|
||||
|
||||
|
||||
<asp:Content ID="Contenth" ContentPlaceHolderID="head" runat="server" />
|
||||
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
|
||||
|
||||
|
||||
|
||||
<%-- <telerik:RadAjaxManager runat="server">
|
||||
<AjaxSettings>
|
||||
<telerik:AjaxSetting AjaxControlID="ddIDPBW">
|
||||
<UpdatedControls>
|
||||
<telerik:AjaxUpdatedControl ControlID="ddFuncties" UpdatePanelCssClass="" />
|
||||
<telerik:AjaxUpdatedControl ControlID="RadGrid1" UpdatePanelCssClass="" />
|
||||
</UpdatedControls>
|
||||
</telerik:AjaxSetting>
|
||||
|
||||
<telerik:AjaxSetting AjaxControlID="ddFuncties">
|
||||
<UpdatedControls>
|
||||
<telerik:AjaxUpdatedControl ControlID="RadGrid1" UpdatePanelCssClass="" />
|
||||
</UpdatedControls>
|
||||
</telerik:AjaxSetting>
|
||||
|
||||
<telerik:AjaxSetting AjaxControlID="ddBuildings">
|
||||
<UpdatedControls>
|
||||
<telerik:AjaxUpdatedControl ControlID="RadGrid1" UpdatePanelCssClass="" />
|
||||
</UpdatedControls>
|
||||
</telerik:AjaxSetting>
|
||||
</AjaxSettings>
|
||||
|
||||
</telerik:RadAjaxManager>--%>
|
||||
|
||||
|
||||
<div style="width: 100%;">
|
||||
<telerik:RadDropDownList ID="ddIDPBW" runat="server" AppendDataBoundItems="True" SelectedText="Beheerd IDPBW" SelectedValue="True" AutoPostBack="True">
|
||||
<Items>
|
||||
<telerik:DropDownListItem runat="server" Text="Beheerd IDPBW" Value="True" Selected="True" />
|
||||
<telerik:DropDownListItem runat="server" Text="Andere" Value="False" />
|
||||
</Items>
|
||||
</telerik:RadDropDownList>
|
||||
|
||||
<telerik:RadDropDownList ID="ddFuncties" runat="server" DataSourceID="SqlDSGebouwFuncties" DataTextField="naam" DataValueField="functie" AutoPostBack="true">
|
||||
</telerik:RadDropDownList>
|
||||
<telerik:RadDropDownList ID="ddBuildings" runat="server" AppendDataBoundItems="True" DataSourceID="SqlDSBuildings" DataTextField="name" DataValueField="building" AutoPostBack="true">
|
||||
<Items>
|
||||
<telerik:DropDownListItem runat="server" Text="Alle" Value="*" />
|
||||
</Items>
|
||||
</telerik:RadDropDownList>
|
||||
</div>
|
||||
|
||||
|
||||
<telerik:RadGrid ID="RadGrid1" runat="server" AutoGenerateColumns="False" DataSourceID="dsBResponsables" AllowSorting="True" AutoPostBack="true" CellSpacing="-1" GridLines="Both" GroupPanelPosition="Top" OnPreRender="RadGrid1_PreRender">
|
||||
<GroupingSettings CollapseAllTooltip="Collapse all groups" CaseSensitive="False"></GroupingSettings>
|
||||
|
||||
<ExportSettings ExportOnlyData="True" FileName="GebouwVerantwoordelijken" OpenInNewWindow="True">
|
||||
<Pdf PageWidth="">
|
||||
</Pdf>
|
||||
<Excel Format="Xlsx" />
|
||||
</ExportSettings>
|
||||
<MasterTableView DataKeyNames="building,functie" DataSourceID="dsBResponsables" AllowAutomaticDeletes="True" AllowAutomaticInserts="True" AllowAutomaticUpdates="True" CommandItemDisplay="Top">
|
||||
<CommandItemSettings ShowExportToExcelButton="True" ShowAddNewRecordButton="False" />
|
||||
<Columns>
|
||||
<telerik:GridDropDownColumn DataField="functie" FilterControlAltText="Filter functie" HeaderText="functie" ListValueField="functie" UniqueName="functie" DataSourceID="SqlDSGebouwFuncties" ListTextField="naam" ListTextFormatString="{0}" ReadOnly="true">
|
||||
<ColumnValidationSettings>
|
||||
<ModelErrorMessage Text="" />
|
||||
</ColumnValidationSettings>
|
||||
</telerik:GridDropDownColumn>
|
||||
<telerik:GridDropDownColumn DataField="building" FilterControlAltText="Filter building" HeaderText="Gebouw" ListValueField="building" UniqueName="building" DataSourceID="SqlDSBuildings" ListTextField="name" ListTextFormatString="{0}" ReadOnly="true">
|
||||
<ColumnValidationSettings>
|
||||
<ModelErrorMessage Text="" />
|
||||
</ColumnValidationSettings>
|
||||
</telerik:GridDropDownColumn>
|
||||
|
||||
<telerik:GridTemplateColumn DataField="persid" FilterControlAltText="Filter column column" HeaderText="Coordinator1" UniqueName="persid">
|
||||
<EditItemTemplate>
|
||||
<telerik:RadComboBox ID="persidRadComboBoxp1" runat="server" DataSourceID="SqlDSNamen" DataTextField="naam" DataValueField="persid" SelectedValue='<%# Bind("persid") %>'>
|
||||
</telerik:RadComboBox>
|
||||
</EditItemTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:HyperLink runat="server" NavigateUrl='<%# string.Format("http://intern.sckcen.be/phonebook/fiche.asp?id={0}",Eval("persid")) %>' Text='<%# Eval("name1") %>' />
|
||||
</ItemTemplate>
|
||||
</telerik:GridTemplateColumn>
|
||||
|
||||
<telerik:GridTemplateColumn DataField="persid2" FilterControlAltText="Filter column column" HeaderText="Coordinator 2" UniqueName="persid2">
|
||||
<EditItemTemplate>
|
||||
<telerik:RadComboBox ID="persidRadComboBoxp2" runat="server" DataSourceID="SqlDSNamen" DataTextField="naam" DataValueField="persid" SelectedValue='<%# Bind("persid2") %>'>
|
||||
</telerik:RadComboBox>
|
||||
</EditItemTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:HyperLink runat="server" NavigateUrl='<%# string.Format("http://intern.sckcen.be/phonebook/fiche.asp?id={0}",Eval("persid2")) %>' Text='<%# Eval("name2") %>' />
|
||||
</ItemTemplate>
|
||||
</telerik:GridTemplateColumn>
|
||||
|
||||
|
||||
<%-- <telerik:GridDropDownColumn DataField="persid2" FilterControlAltText="Filter column column" HeaderText="Coordinator2" ListValueField="persid" UniqueName="persid2" DataSourceID="SqlDSNamen" ListTextField="naam" ListTextFormatString="{0}">
|
||||
<ColumnValidationSettings>
|
||||
<ModelErrorMessage Text="" />
|
||||
</ColumnValidationSettings>
|
||||
</telerik:GridDropDownColumn>--%>
|
||||
|
||||
<telerik:GridTemplateColumn DataField="persidsec" FilterControlAltText="Filter column column" HeaderText="Delegate 1" UniqueName="persidsec">
|
||||
<EditItemTemplate>
|
||||
<telerik:RadComboBox ID="persidRadComboBoxs1" runat="server" DataSourceID="SqlDSNamen" DataTextField="naam" DataValueField="persid" SelectedValue='<%# Bind("persidsec") %>'>
|
||||
</telerik:RadComboBox>
|
||||
</EditItemTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:HyperLink runat="server" NavigateUrl='<%# string.Format("http://intern.sckcen.be/phonebook/fiche.asp?id={0}",Eval("persidsec")) %>' Text='<%# Eval("name3") %>' />
|
||||
</ItemTemplate>
|
||||
</telerik:GridTemplateColumn>
|
||||
|
||||
<telerik:GridTemplateColumn DataField="persidsec2" FilterControlAltText="Filter column column" HeaderText="Delegate 2" UniqueName="persidsec2">
|
||||
<EditItemTemplate>
|
||||
<telerik:RadComboBox ID="persidRadComboBoxs2" runat="server" DataSourceID="SqlDSNamen" DataTextField="naam" DataValueField="persid" SelectedValue='<%# Bind("persidsec2") %>'>
|
||||
</telerik:RadComboBox>
|
||||
</EditItemTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:HyperLink runat="server" NavigateUrl='<%# string.Format("http://intern.sckcen.be/phonebook/fiche.asp?id={0}",Eval("persidsec2")) %>' Text='<%# Eval("name4") %>' />
|
||||
</ItemTemplate>
|
||||
</telerik:GridTemplateColumn>
|
||||
|
||||
|
||||
|
||||
<telerik:GridButtonColumn CommandName="Edit" Text="Edit" ButtonCssClass="rgEdit" UniqueName="EditColumn" HeaderStyle-Width="30px">
|
||||
<HeaderStyle Width="30px"></HeaderStyle>
|
||||
</telerik:GridButtonColumn>
|
||||
|
||||
</Columns>
|
||||
</MasterTableView>
|
||||
</telerik:RadGrid>
|
||||
<asp:SqlDataSource ID="dsBResponsables" runat="server" ConnectionString="<%$ ConnectionStrings:idpbwConnectionString %>" DeleteCommand="GebouwVerantwoo rdelijkenDelete" DeleteCommandType="StoredProcedure" InsertCommand="GebouwVerantwoordelijkenInsert" InsertCommandType="StoredProcedure" SelectCommand="GebouwVerantwoordelijkenSelect" SelectCommandType="StoredProcedure" UpdateCommand="GebouwVerantwoordelijkenUpdate" UpdateCommandType="StoredProcedure" CancelSelectOnNullParameter="false">
|
||||
<DeleteParameters>
|
||||
<asp:Parameter Name="building" Type="String" />
|
||||
<asp:Parameter Name="functie" Type="String" />
|
||||
</DeleteParameters>
|
||||
<InsertParameters>
|
||||
<asp:ControlParameter ControlID="ddBuildings" Name="building" PropertyName="SelectedValue" Type="String" />
|
||||
<asp:ControlParameter ControlID="ddFuncties" Name="functie" PropertyName="SelectedValue" Type="String" />
|
||||
<asp:Parameter Name="persid" Type="Int32" />
|
||||
<asp:Parameter Name="persid2" Type="Int32" />
|
||||
<asp:Parameter Name="persidSec" Type="Int32" />
|
||||
<asp:Parameter Name="persidSec2" Type="Int32" />
|
||||
</InsertParameters>
|
||||
<SelectParameters>
|
||||
<asp:ControlParameter ControlID="ddIDPBW" DefaultValue="" Name="vis" PropertyName="SelectedValue" Type="Boolean" />
|
||||
<asp:ControlParameter ControlID="ddBuildings" DefaultValue="" Name="building" PropertyName="SelectedValue" Type="String" />
|
||||
<asp:ControlParameter ControlID="ddFuncties" Name="functie" PropertyName="SelectedValue" Type="String" />
|
||||
</SelectParameters>
|
||||
<UpdateParameters>
|
||||
<asp:Parameter Name="building" Type="String" />
|
||||
<asp:Parameter Name="functie" Type="String" />
|
||||
<asp:Parameter Name="persid" Type="Int32" />
|
||||
<asp:Parameter Name="persid2" Type="Int32" />
|
||||
<asp:Parameter Name="persidSec" Type="Int32" />
|
||||
<asp:Parameter Name="persidSec2" Type="Int32" />
|
||||
</UpdateParameters>
|
||||
</asp:SqlDataSource>
|
||||
<asp:SqlDataSource ID="SqlDSBuildings" runat="server" ConnectionString="<%$ ConnectionStrings:idpbwConnectionString %>"
|
||||
SelectCommand="SELECT [building], [name] FROM [gebouwen] where deleted=0 ORDER BY [name] "></asp:SqlDataSource>
|
||||
<asp:SqlDataSource ID="SqlDSGebouwFuncties" runat="server" ConnectionString="<%$ ConnectionStrings:idpbwConnectionString %>"
|
||||
SelectCommand="select [functie]='*', [naam] =' Alles'
|
||||
union
|
||||
SELECT [functie], [naam] FROM [gebouwFuncties] where visible= @vis ORDER BY [naam]">
|
||||
<SelectParameters>
|
||||
<asp:ControlParameter ControlID="ddIDPBW" DefaultValue="" Name="vis" PropertyName="SelectedValue" />
|
||||
</SelectParameters>
|
||||
</asp:SqlDataSource>
|
||||
<asp:SqlDataSource ID="SqlDSNamen" runat="server" ConnectionString="<%$ ConnectionStrings:idpbwConnectionString %>"
|
||||
SelectCommand="getLijstNamen" SelectCommandType="StoredProcedure"></asp:SqlDataSource>
|
||||
</asp:Content>
|
||||
56
safety/BuildingResponsableOld.aspx.cs
Normal file
56
safety/BuildingResponsableOld.aspx.cs
Normal file
|
|
@ -0,0 +1,56 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using Telerik.Web.UI;
|
||||
|
||||
namespace safety
|
||||
{
|
||||
public partial class BuildingResponsableOld : System.Web.UI.Page
|
||||
{
|
||||
bool mayUpdate = false;
|
||||
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
Response.Redirect("https://cts.intern.sckcen.be/Gebouw/ClusterResponsable.aspx",true);
|
||||
|
||||
|
||||
//General.setTitle(Master, "Gebouw coördinatoren");
|
||||
|
||||
// using (System.Data.SqlClient.SqlConnection cn = new System.Data.SqlClient.SqlConnection(System.Configuration.ConfigurationManager.ConnectionStrings["idpbwConnectionString"].ConnectionString))
|
||||
// {
|
||||
// System.Data.SqlClient.SqlCommand cm = new System.Data.SqlClient.SqlCommand("select execperm=convert(bit,HAS_PERMS_BY_NAME('dbo.GebouwVerantwoordelijkenUpdate', 'OBJECT', 'EXECUTE'))", cn);
|
||||
// cm.CommandType = System.Data.CommandType.Text;
|
||||
// cn.Open();
|
||||
// mayUpdate = (bool)cm.ExecuteScalar();
|
||||
// cn.Close();
|
||||
// }
|
||||
|
||||
}
|
||||
|
||||
protected void ddFuncties_DataBound(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
protected void RadGrid1_PreRender(object sender, EventArgs e)
|
||||
{
|
||||
if (!mayUpdate)
|
||||
{
|
||||
|
||||
RadGrid1.MasterTableView.GetColumn("EditColumn").Display = false;
|
||||
|
||||
//foreach (GridDataItem dataItem in RadGrid1.MasterTableView.Items)
|
||||
// {
|
||||
// ((LinkButton)dataItem["EditColumn"].Controls[0]).Enabled = false;
|
||||
// ((LinkButton)dataItem["EditColumn"].Controls[0]).Visible = false;
|
||||
// GridCommandItem cmdItem = (GridCommandItem)RadGrid1.MasterTableView.GetItems(GridItemType.CommandItem)[0];
|
||||
// //((LinkButton)cmdItem.FindControl("InitInsertButton")).Visible = false;
|
||||
// //((Button)cmdItem.FindControl("AddNewRecordButton")).Visible = false;
|
||||
// }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
87
safety/BuildingResponsableOld.aspx.designer.cs
generated
Normal file
87
safety/BuildingResponsableOld.aspx.designer.cs
generated
Normal file
|
|
@ -0,0 +1,87 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace safety {
|
||||
|
||||
|
||||
public partial class BuildingResponsableOld {
|
||||
|
||||
/// <summary>
|
||||
/// ddIDPBW control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::Telerik.Web.UI.RadDropDownList ddIDPBW;
|
||||
|
||||
/// <summary>
|
||||
/// ddFuncties control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::Telerik.Web.UI.RadDropDownList ddFuncties;
|
||||
|
||||
/// <summary>
|
||||
/// ddBuildings control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::Telerik.Web.UI.RadDropDownList ddBuildings;
|
||||
|
||||
/// <summary>
|
||||
/// RadGrid1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::Telerik.Web.UI.RadGrid RadGrid1;
|
||||
|
||||
/// <summary>
|
||||
/// dsBResponsables control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.SqlDataSource dsBResponsables;
|
||||
|
||||
/// <summary>
|
||||
/// SqlDSBuildings control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.SqlDataSource SqlDSBuildings;
|
||||
|
||||
/// <summary>
|
||||
/// SqlDSGebouwFuncties control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.SqlDataSource SqlDSGebouwFuncties;
|
||||
|
||||
/// <summary>
|
||||
/// SqlDSNamen control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.SqlDataSource SqlDSNamen;
|
||||
}
|
||||
}
|
||||
193
safety/Common/General.cs
Normal file
193
safety/Common/General.cs
Normal file
|
|
@ -0,0 +1,193 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Web;
|
||||
using System.Web.Routing;
|
||||
using System.Web.UI;
|
||||
|
||||
namespace safety
|
||||
{
|
||||
public static class General
|
||||
{
|
||||
|
||||
|
||||
public static void setTitle(MasterPage Master, object s)
|
||||
{
|
||||
if (s is string)
|
||||
{
|
||||
string PageTitle = s as string;
|
||||
if (s != null)
|
||||
{
|
||||
var pt = Master.FindControl("PageTitle") as System.Web.UI.WebControls.Literal;
|
||||
if (pt != null && PageTitle.Length > 0) pt.Text = PageTitle;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
static string UrlWithoutLang(Page p, string url, bool addParLang = true)
|
||||
{
|
||||
|
||||
var x = url.Split('?');
|
||||
if (x.Length > 0)
|
||||
{
|
||||
string newUrl = x[0];
|
||||
|
||||
StringBuilder sb = new StringBuilder();
|
||||
foreach (string d in p.Request.QueryString.AllKeys) if (!string.IsNullOrWhiteSpace(d) && !d.Equals("lang", StringComparison.InvariantCultureIgnoreCase)) sb.AppendFormat("{0}{1}={2}", sb.Length == 0 ? "?" : "&", d, p.Request.Params[d].ToString());
|
||||
if (addParLang) sb.AppendFormat("{0}{1}", sb.Length == 0 ? "?" : "&", "lang=");
|
||||
return string.Concat(newUrl, sb.ToString());
|
||||
}
|
||||
else
|
||||
return string.Empty;
|
||||
}
|
||||
|
||||
static string UrlWithoutLang(Page p, bool addParLang=true)
|
||||
{
|
||||
string url = p.Request.Url.LocalPath;
|
||||
return UrlWithoutLang(p, url, addParLang);
|
||||
}
|
||||
|
||||
public static void setLang(MasterPage Master, Page p , System.Collections.Generic.List<System.Collections.Generic.KeyValuePair<string, string>> para, string PageTitle="", string otherurl="" )
|
||||
{
|
||||
System.Web.UI.HtmlControls.HtmlAnchor hn = Master.FindControl("liNL") as System.Web.UI.HtmlControls.HtmlAnchor;
|
||||
System.Web.UI.HtmlControls.HtmlAnchor hf = Master.FindControl("liFR") as System.Web.UI.HtmlControls.HtmlAnchor;
|
||||
System.Web.UI.HtmlControls.HtmlAnchor he = Master.FindControl("liEN") as System.Web.UI.HtmlControls.HtmlAnchor;
|
||||
|
||||
string href = UrlWithoutLang(p,true);
|
||||
if (!string.IsNullOrWhiteSpace(otherurl))
|
||||
href = UrlWithoutLang(p, otherurl, true);
|
||||
|
||||
if (hn != null) {hn.HRef = href + "nl"; hn.Visible = true;}
|
||||
if (hf != null) {hf.HRef = href + "fr";hf.Visible = true;}
|
||||
if (he != null) { he.HRef = href + "en"; he.Visible = true; }
|
||||
|
||||
if (PageTitle.Length>0) setTitle(Master, PageTitle);
|
||||
}
|
||||
|
||||
public static string GetString(Page p, string nm, string def="W")
|
||||
{
|
||||
int i;
|
||||
String rv = def;
|
||||
if (p.Request.Params[nm] != null)
|
||||
{
|
||||
rv = p.Request.Params[nm];
|
||||
}
|
||||
else if (p.RouteData.Values.ContainsKey(nm))
|
||||
{
|
||||
rv = p.RouteData.Values[nm].ToString();
|
||||
}
|
||||
else if (p.RouteData.DataTokens != null && p.RouteData.DataTokens.Count > 0 && p.RouteData.DataTokens.ContainsKey(nm))
|
||||
{
|
||||
rv = p.RouteData.DataTokens[nm].ToString();
|
||||
}
|
||||
return rv;
|
||||
|
||||
}
|
||||
public static int? GetDocIDParam(Page p, string nm)
|
||||
{
|
||||
int i;
|
||||
int ? rv = null;
|
||||
if (p.Request.Params["id"] != null )
|
||||
{
|
||||
if (int.TryParse(p.Request.Params["id"].ToString(), out i)) rv = i;
|
||||
}
|
||||
else if (p.RouteData.Values.ContainsKey("docaID") )
|
||||
{
|
||||
if (int.TryParse(p.RouteData.Values["docaID"].ToString(), out i)) rv = i;
|
||||
}
|
||||
else if (p.RouteData.DataTokens != null && p.RouteData.DataTokens.Count > 0 && p.RouteData.DataTokens.ContainsKey("docaID") )
|
||||
{
|
||||
if (int.TryParse(p.RouteData.DataTokens["docaID"].ToString(), out i)) rv = i;
|
||||
}
|
||||
return rv;
|
||||
}
|
||||
|
||||
public static string Getinterface(Page p)
|
||||
{
|
||||
string rv = string.Empty;
|
||||
if (p.RouteData!= null && p.RouteData.Values.ContainsKey("interface"))
|
||||
{
|
||||
rv = p.RouteData.Values["interface"].ToString();
|
||||
if (p.Session["interface"] == null || p.Session["interface"].ToString() != rv) p.Session["interface"] = rv;
|
||||
}
|
||||
return rv;
|
||||
}
|
||||
|
||||
|
||||
//http://contrast-finder.tanaguru.com/result.html?foreground=%23228888&background=%23DFF0D8&isBackgroundTested=false&ratio=4.5&algo=HSV
|
||||
public static Color bgRed = Color.FromArgb(220, 92, 80), fgRed = Color.FromArgb(30, 30, 30);
|
||||
public static Color bgGreen = Color.FromArgb(180, 204, 74), fgGreen = Color.Black;
|
||||
public static Color bgOrange = Color.FromArgb(178, 140, 69), fgOrange = Color.FromArgb(69, 117, 178);
|
||||
public static Color bgBlue = Color.FromArgb(92, 92, 178), fgBlue = Color.FromArgb(255, 255, 255);
|
||||
|
||||
|
||||
public static void ColorCell(int vcolor, ref Color bc, ref Color fc)
|
||||
{
|
||||
switch (vcolor)
|
||||
{
|
||||
case 4: bc = bgBlue; fc = fgBlue; break;
|
||||
case 3: bc = bgRed; fc = fgRed; break;
|
||||
case 2: bc = bgOrange; fc = fgOrange; break;
|
||||
case 1: bc = bgGreen; fc = fgGreen; break;
|
||||
default: bc = Color.White; fc = Color.Black; break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
static public void SetSessionIfDifferent(Page p, string name, bool? value, bool deleteIfMissing = false)
|
||||
{
|
||||
if (value.HasValue)
|
||||
{
|
||||
if ( p.Session[name] == null || (bool)p.Session[name] != value.Value) p.Session[name] = value.Value;
|
||||
}
|
||||
else
|
||||
if (deleteIfMissing && p.Session[name] != null) p.Session.Remove(name);
|
||||
|
||||
}
|
||||
static public void SetSessionIfDifferent(Page p, string name, int? value, bool deleteIfMissing=false)
|
||||
{
|
||||
if (value.HasValue)
|
||||
{
|
||||
if (p.Session[name] == null || (int)p.Session[name] != value.Value) p.Session[name] = value.Value;
|
||||
}
|
||||
else
|
||||
if (deleteIfMissing && p.Session[name] != null) p.Session.Remove(name);
|
||||
|
||||
}
|
||||
static public void SetSessionIfDifferent(Page p, string name, string value)
|
||||
{
|
||||
if ( !String.IsNullOrWhiteSpace(value) && (p.Session[name] == null || p.Session[name].ToString() != value)) p.Session[name] = value;
|
||||
}
|
||||
static public void PageBasicSettings(Page p, ref int? AanvragerID, ref bool? isIV, ref bool? isNV, ref bool? isIDPBW, ref string lang, ref string aanvragerFullname, ref int? mentorID, ref string mentorFullname, ref int? unit, ref string building, ref string ifa, ref string soort)
|
||||
{
|
||||
using (dsIDPBWTableAdapters.QueriesTableAdapter qta = new dsIDPBWTableAdapters.QueriesTableAdapter())
|
||||
qta.getUser2(ref AanvragerID, ref isIV, ref isNV, ref isIDPBW, ref lang, ref aanvragerFullname, ref mentorID, ref mentorFullname, ref unit, ref building);
|
||||
SetSessionIfDifferent(p, "Aanvrager", AanvragerID);
|
||||
SetSessionIfDifferent(p, "isIDPBW", isIDPBW);
|
||||
if (p.Request.Params["lang"] != null) lang = p.Request.Params["lang"].ToString();
|
||||
SetSessionIfDifferent(p, "lang", lang);
|
||||
ifa = Getinterface(p); SetSessionIfDifferent(p, "interface", ifa);
|
||||
soort = GetString(p, "soort", string.Empty);
|
||||
SetSessionIfDifferent(p, "soort", soort);
|
||||
p.UICulture = lang;
|
||||
}
|
||||
|
||||
static public void PageBasicSettings3(Page p, ref int? AanvragerID, ref bool? isIV, ref bool? isNV, ref bool? isIDPBW, ref string lang, ref string aanvragerFullname, ref int? mentorID, ref string mentorFullname, ref int? unit, ref string building, ref bool? isMedic, ref string ifa, ref string soort, ref string prefLang)
|
||||
{
|
||||
using (dsIDPBWTableAdapters.QueriesTableAdapter qta = new dsIDPBWTableAdapters.QueriesTableAdapter())
|
||||
qta.getUser3(ref AanvragerID, ref isIV, ref isNV, ref isIDPBW, ref lang, ref aanvragerFullname, ref mentorID, ref mentorFullname, ref unit, ref building, ref isMedic, ref prefLang);
|
||||
SetSessionIfDifferent(p, "Aanvrager", AanvragerID);
|
||||
SetSessionIfDifferent(p, "isIDPBW", isIDPBW);
|
||||
lang = prefLang;
|
||||
SetSessionIfDifferent(p, "lang", lang);
|
||||
ifa = Getinterface(p); SetSessionIfDifferent(p, "interface", ifa);
|
||||
soort = GetString(p, "soort", string.Empty);
|
||||
SetSessionIfDifferent(p, "soort", soort);
|
||||
p.UICulture = lang;
|
||||
}
|
||||
}
|
||||
}
|
||||
112
safety/DocAGrid.aspx
Normal file
112
safety/DocAGrid.aspx
Normal file
|
|
@ -0,0 +1,112 @@
|
|||
<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeBehind="DocAGrid.aspx.cs" Inherits="safety.DocAGrid" MaintainScrollPositionOnPostback="true" %>
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
|
||||
<fieldset class="rfdRoundedCorners">
|
||||
<h1>Grid frequenties WBC en LRM</h1>
|
||||
<telerik:RadGrid ID="RadGrid1" runat="server" AutoGenerateColumns="False" DataSourceID="sqlDsDocAGrid" AllowSorting="True" >
|
||||
<ExportSettings>
|
||||
<Pdf PageWidth="">
|
||||
</Pdf>
|
||||
</ExportSettings>
|
||||
<MasterTableView AllowAutomaticInserts="True" AllowAutomaticUpdates="True" CommandItemDisplay="Top" DataKeyNames="roleID" DataSourceID="sqlDsDocAGrid" AllowAutomaticDeletes="True" >
|
||||
<Columns>
|
||||
<telerik:GridDropDownColumn DataField="roleID" DataSourceID="SqlDSRoles" FilterControlAltText="Filter column column" HeaderText="Role" ListTextField="name" ListValueField="roleID" UniqueName="column">
|
||||
<ColumnValidationSettings>
|
||||
<ModelErrorMessage Text="" />
|
||||
</ColumnValidationSettings>
|
||||
</telerik:GridDropDownColumn>
|
||||
<telerik:GridBoundColumn DataField="mCat" FilterControlAltText="Filter mCat column" HeaderText="mCat" SortExpression="mCat" UniqueName="mCat" DefaultInsertValue="A">
|
||||
<ColumnValidationSettings>
|
||||
<ModelErrorMessage Text="" />
|
||||
</ColumnValidationSettings>
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="wbc" FilterControlAltText="Filter wbc column" HeaderText="wbc" SortExpression="wbc" UniqueName="wbc" DataType="System.Int16" DefaultInsertValue="0">
|
||||
<ColumnValidationSettings>
|
||||
<ModelErrorMessage Text="" />
|
||||
</ColumnValidationSettings>
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="lung" DataType="System.Int16" FilterControlAltText="Filter lung column" HeaderText="lung" SortExpression="lung" UniqueName="lung" DefaultInsertValue="0">
|
||||
<ColumnValidationSettings>
|
||||
<ModelErrorMessage Text="" />
|
||||
</ColumnValidationSettings>
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="thyroid" DataType="System.Int16" FilterControlAltText="Filter thyroid column" HeaderText="thyroid" SortExpression="thyroid" UniqueName="thyroid" DefaultInsertValue="0">
|
||||
<ColumnValidationSettings>
|
||||
<ModelErrorMessage Text="" />
|
||||
</ColumnValidationSettings>
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="Pu" DataType="System.Int16" FilterControlAltText="Filter Pu column" HeaderText="Pu" SortExpression="Pu" UniqueName="Pu" DefaultInsertValue="0">
|
||||
<ColumnValidationSettings>
|
||||
<ModelErrorMessage Text="" />
|
||||
</ColumnValidationSettings>
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="Am" DataType="System.Int16" FilterControlAltText="Filter Am column" HeaderText="Am" SortExpression="Am" UniqueName="Am" DefaultInsertValue="0">
|
||||
<ColumnValidationSettings>
|
||||
<ModelErrorMessage Text="" />
|
||||
</ColumnValidationSettings>
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="U" DataType="System.Int16" FilterControlAltText="Filter U column" HeaderText="U" SortExpression="U" UniqueName="U" DefaultInsertValue="0">
|
||||
<ColumnValidationSettings>
|
||||
<ModelErrorMessage Text="" />
|
||||
</ColumnValidationSettings>
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="Tr" DataType="System.Int16" FilterControlAltText="Filter Tr column" HeaderText="Tr" SortExpression="Tr" UniqueName="Tr" DefaultInsertValue="0">
|
||||
<ColumnValidationSettings>
|
||||
<ModelErrorMessage Text="" />
|
||||
</ColumnValidationSettings>
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="Andere" DataType="System.Int16" FilterControlAltText="Filter Andere column" HeaderText="Andere" SortExpression="Andere" UniqueName="Andere" DefaultInsertValue="0">
|
||||
<ColumnValidationSettings>
|
||||
<ModelErrorMessage Text="" />
|
||||
</ColumnValidationSettings>
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="Po" DataType="System.Int16" FilterControlAltText="Filter Po column" HeaderText="Po" SortExpression="Po" UniqueName="Po" DefaultInsertValue="0">
|
||||
<ColumnValidationSettings>
|
||||
<ModelErrorMessage Text="" />
|
||||
</ColumnValidationSettings>
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridCalculatedColumn DataFields="RoleId" Expression="{0}" FilterControlAltText="Filter column1 column" HeaderText="ID" UniqueName="column1">
|
||||
</telerik:GridCalculatedColumn>
|
||||
<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="sqlDsDocAGrid" runat="server" ConnectionString="<%$ ConnectionStrings:idpbwConnectionString %>" SelectCommand="DocAGridSelect" DeleteCommand="DocAGridDelete" DeleteCommandType="StoredProcedure" InsertCommand="DocAGridInsert" InsertCommandType="StoredProcedure" SelectCommandType="StoredProcedure" UpdateCommand="DocAGridUpdate" UpdateCommandType="StoredProcedure">
|
||||
<DeleteParameters>
|
||||
<asp:Parameter Name="roleID" Type="Int32" />
|
||||
</DeleteParameters>
|
||||
<InsertParameters>
|
||||
<asp:Parameter Direction="ReturnValue" Name="RETURN_VALUE" Type="Int32" />
|
||||
<asp:Parameter Name="roleID" Type="Int32" />
|
||||
<asp:Parameter Name="mCat" Type="String" />
|
||||
<asp:Parameter Name="wbc" Type="Int16" />
|
||||
<asp:Parameter Name="lung" Type="Int16" />
|
||||
<asp:Parameter Name="thyroid" Type="Int16" />
|
||||
<asp:Parameter Name="Pu" Type="Int16" />
|
||||
<asp:Parameter Name="Am" Type="Int16" />
|
||||
<asp:Parameter Name="U" Type="Int16" />
|
||||
<asp:Parameter Name="Tr" Type="Int16" />
|
||||
<asp:Parameter Name="Andere" Type="Int16" />
|
||||
<asp:Parameter Name="Po" Type="Int16" />
|
||||
</InsertParameters>
|
||||
<UpdateParameters>
|
||||
<asp:Parameter Name="roleID" Type="Int32" />
|
||||
<asp:Parameter Name="mCat" Type="String" />
|
||||
<asp:Parameter Name="wbc" Type="Int16" />
|
||||
<asp:Parameter Name="lung" Type="Int16" />
|
||||
<asp:Parameter Name="thyroid" Type="Int16" />
|
||||
<asp:Parameter Name="Pu" Type="Int16" />
|
||||
<asp:Parameter Name="Am" Type="Int16" />
|
||||
<asp:Parameter Name="U" Type="Int16" />
|
||||
<asp:Parameter Name="Tr" Type="Int16" />
|
||||
<asp:Parameter Name="Andere" Type="Int16" />
|
||||
<asp:Parameter Name="Po" Type="Int16" />
|
||||
</UpdateParameters>
|
||||
</asp:SqlDataSource>
|
||||
<asp:SqlDataSource ID="SqlDSRoles" runat="server" ConnectionString="<%$ ConnectionStrings:idpbwConnectionString %>" SelectCommand="DocARolesCombo" SelectCommandType="StoredProcedure"></asp:SqlDataSource>
|
||||
</asp:Content>
|
||||
17
safety/DocAGrid.aspx.cs
Normal file
17
safety/DocAGrid.aspx.cs
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace safety
|
||||
{
|
||||
public partial class DocAGrid : System.Web.UI.Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
42
safety/DocAGrid.aspx.designer.cs
generated
Normal file
42
safety/DocAGrid.aspx.designer.cs
generated
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace safety {
|
||||
|
||||
|
||||
public partial class DocAGrid {
|
||||
|
||||
/// <summary>
|
||||
/// RadGrid1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::Telerik.Web.UI.RadGrid RadGrid1;
|
||||
|
||||
/// <summary>
|
||||
/// sqlDsDocAGrid control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.SqlDataSource sqlDsDocAGrid;
|
||||
|
||||
/// <summary>
|
||||
/// SqlDSRoles control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.SqlDataSource SqlDSRoles;
|
||||
}
|
||||
}
|
||||
136
safety/DocALinkCekCertificates.aspx
Normal file
136
safety/DocALinkCekCertificates.aspx
Normal file
|
|
@ -0,0 +1,136 @@
|
|||
<%@ Page Title="" Language="C#" MasterPageFile="~/Site2n.master" AutoEventWireup="true" CodeBehind="DocALinkCekCertificates.aspx.cs" Inherits="safety.DocALinkCekCertificates" MaintainScrollPositionOnPostback="true" %>
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
|
||||
<fieldset class="rfdRoundedCorners">
|
||||
<telerik:RadGrid ID="RadGrid1" runat="server" AutoGenerateColumns="False" DataSourceID="sqlDSLinkCek" AllowSorting="True" GroupPanelPosition="Top">
|
||||
|
||||
<GroupingSettings CaseSensitive="false" />
|
||||
<ExportSettings FileName="CekLinks" HideStructureColumns="True" OpenInNewWindow="True" IgnorePaging="True">
|
||||
<Pdf PageWidth="" PaperSize="A4">
|
||||
</Pdf>
|
||||
<Excel Format="Biff" AutoFitImages="True" />
|
||||
</ExportSettings>
|
||||
<MasterTableView AllowAutomaticDeletes="True" AllowAutomaticInserts="True" AllowAutomaticUpdates="True" CommandItemDisplay="Top" DataKeyNames="linkID" DataSourceID="sqlDSLinkCek">
|
||||
<CommandItemSettings ShowExportToExcelButton="True" ShowExportToWordButton="True" />
|
||||
<Columns>
|
||||
<%-- <telerik:GridBoundColumn DataField="subCat" FilterControlAltText="Filter subCat column" HeaderText="SubCat" MaxLength="20" SortExpression="subCat" UniqueName="subCat" ReadOnly="True">
|
||||
<ColumnValidationSettings>
|
||||
<ModelErrorMessage Text="" />
|
||||
</ColumnValidationSettings>
|
||||
<HeaderStyle Width="60px" />
|
||||
</telerik:GridBoundColumn>--%>
|
||||
<telerik:GridBoundColumn DataField="linkID" DataType="System.Int32" FilterControlAltText="Filter linkID column" HeaderText="ID" ReadOnly="True" UniqueName="linkID">
|
||||
<ColumnValidationSettings>
|
||||
<ModelErrorMessage Text="" />
|
||||
</ColumnValidationSettings>
|
||||
<HeaderStyle Width="50px" />
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridDropDownColumn DataField="roleID" DataSourceID="SqlDSRoles" FilterControlAltText="Filter column column" HeaderText="Role" ListTextField="name" ListValueField="roleID" UniqueName="column">
|
||||
<ColumnValidationSettings>
|
||||
<ModelErrorMessage Text="" />
|
||||
</ColumnValidationSettings>
|
||||
<HeaderStyle Width="150px" />
|
||||
</telerik:GridDropDownColumn>
|
||||
<telerik:GridBoundColumn DataField="part" DataType="System.Int32" FilterControlAltText="Filter part column" HeaderText="Part" ReadOnly="false" UniqueName="part" DefaultInsertValue="0" >
|
||||
<ColumnValidationSettings>
|
||||
<ModelErrorMessage Text="" />
|
||||
</ColumnValidationSettings>
|
||||
<HeaderStyle Width="50px" />
|
||||
</telerik:GridBoundColumn>
|
||||
|
||||
|
||||
<telerik:GridDateTimeColumn DataField="validFrom" DataFormatString="{0:yyyy-MM-dd}" EditDataFormatString="yyyy-MM-dd" DataType="System.DateTime" DefaultInsertValue="1900-01-01" FilterControlAltText="Filter validFrom column" HeaderText="From" UniqueName="validFrom">
|
||||
<ColumnValidationSettings>
|
||||
<ModelErrorMessage Text="" />
|
||||
</ColumnValidationSettings>
|
||||
<HeaderStyle Width="80px" />
|
||||
</telerik:GridDateTimeColumn>
|
||||
<telerik:GridDateTimeColumn DataField="validTill" DataFormatString="{0:yyyy-MM-dd}" EditDataFormatString="yyyy-MM-dd" DefaultInsertValue="2099-12-31" FilterControlAltText="Filter validTill column" HeaderText="Till" UniqueName="validTill">
|
||||
<ColumnValidationSettings>
|
||||
<ModelErrorMessage Text="" />
|
||||
</ColumnValidationSettings>
|
||||
<HeaderStyle Width="80px" />
|
||||
</telerik:GridDateTimeColumn>
|
||||
|
||||
<telerik:GridBoundColumn DataField="cid" DataType="System.Int32" HeaderText="CID" ReadOnly="True" UniqueName="cid" HeaderStyle-Width="50px"/>
|
||||
|
||||
<telerik:GridDropDownColumn DataField="certIDBase" DataSourceID="SqlDSCert" FilterControlAltText="Filter certIDBase column" HeaderText="Certificate" ListTextField="name" ListValueField="certID" SortExpression="certIDBase" UniqueName="certIDBase">
|
||||
<ColumnValidationSettings>
|
||||
<ModelErrorMessage Text="" />
|
||||
</ColumnValidationSettings>
|
||||
<HeaderStyle Width="80px" />
|
||||
</telerik:GridDropDownColumn>
|
||||
<telerik:GridCheckBoxColumn DataField="isDefault" DataType="System.Boolean" DefaultInsertValue="true" FilterControlAltText="Filter isDefault column" HeaderText="Default" UniqueName="isDefault" HeaderStyle-Width="50px">
|
||||
<HeaderStyle Width="50px"></HeaderStyle>
|
||||
</telerik:GridCheckBoxColumn>
|
||||
<telerik:GridBoundColumn DataField="validityM" DataType="System.Int32" FilterControlAltText="Filter validityM column" HeaderText="Validity months" SortExpression="validityM" UniqueName="validityM" HeaderTooltip="Validity in months">
|
||||
<ColumnValidationSettings>
|
||||
<ModelErrorMessage Text="" />
|
||||
</ColumnValidationSettings>
|
||||
<HeaderStyle Width="70px" />
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridDropDownColumn DataField="certIDRefresh" DataSourceID="SqlDSCert" EmptyListItemText="-" EnableEmptyListItem="True" FilterControlAltText="Filter certIDRefresh column" HeaderText="Refresh Certificate" ListTextField="name" ListValueField="certID" SortExpression="certIDRefresh" UniqueName="certIDRefresh" HeaderTooltip="CEK certificate to use, after Refresh monts" >
|
||||
<ColumnValidationSettings>
|
||||
<ModelErrorMessage Text="" />
|
||||
</ColumnValidationSettings>
|
||||
<HeaderStyle Width="80px" />
|
||||
</telerik:GridDropDownColumn>
|
||||
<telerik:GridBoundColumn DataField="recurrenceM" DataType="System.Int32" FilterControlAltText="Filter recurrenceM column" HeaderText="Refresh each M" SortExpression="recurrenceM" UniqueName="recurrenceM" HeaderTooltip="Refresh this education with the Refresh certificate, after main certificate, each x months." >
|
||||
<ColumnValidationSettings>
|
||||
<ModelErrorMessage Text="" />
|
||||
</ColumnValidationSettings>
|
||||
<HeaderStyle Width="70px" />
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="description" FilterControlAltText="Filter column1 column" HeaderText="Description" MaxLength="255" SortExpression="description" UniqueName="description">
|
||||
<ColumnValidationSettings>
|
||||
<ModelErrorMessage Text="" />
|
||||
</ColumnValidationSettings>
|
||||
<HeaderStyle Width="250px" />
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridCheckBoxColumn DataField="educationOnly" DataType="System.Boolean" FilterControlAltText="Filter educationOnly column" HeaderText="No Certificate" UniqueName="educationOnly">
|
||||
<HeaderStyle Width="60px" />
|
||||
</telerik:GridCheckBoxColumn>
|
||||
<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="sqlDSLinkCek" runat="server" ConnectionString="<%$ ConnectionStrings:idpbwConnectionString %>" DeleteCommand="docALinkCekCertDelete" DeleteCommandType="StoredProcedure" InsertCommand="docALinkCekCertInsert" InsertCommandType="StoredProcedure" SelectCommand="docALinkCekCertSelect" SelectCommandType="StoredProcedure" UpdateCommand="docALinkCekCertUpdate" UpdateCommandType="StoredProcedure">
|
||||
<DeleteParameters>
|
||||
<asp:Parameter Name="linkID" Type="Int32" />
|
||||
</DeleteParameters>
|
||||
<InsertParameters>
|
||||
<asp:Parameter Name="roleID" Type="Int32" />
|
||||
<asp:Parameter DefaultValue="0" Name="part" Type="Int32" />
|
||||
<asp:Parameter DbType="Date" Name="validFrom" />
|
||||
<asp:Parameter DbType="Date" Name="validTill" />
|
||||
<asp:Parameter Name="certIDBase" Type="Int32" />
|
||||
<asp:Parameter Name="validityM" Type="Int32" />
|
||||
<asp:Parameter Name="certIDRefresh" Type="Int32" />
|
||||
<asp:Parameter Name="recurrenceM" Type="Int32" />
|
||||
<asp:Parameter Name="description" Type="String" />
|
||||
<asp:Parameter Name="educationOnly" Type="Boolean" />
|
||||
<asp:Parameter Name="isDefault" Type="Boolean" />
|
||||
</InsertParameters>
|
||||
<UpdateParameters>
|
||||
<asp:Parameter Name="linkID" Type="Int32" />
|
||||
<asp:Parameter Name="roleID" Type="Int32" />
|
||||
<asp:Parameter Name="part" Type="Int32" />
|
||||
<asp:Parameter Name="validFrom" DbType="Date" />
|
||||
<asp:Parameter Name="validTill" DbType="Date" />
|
||||
<asp:Parameter Name="certIDBase" Type="Int32" />
|
||||
<asp:Parameter Name="validityM" Type="Int32" />
|
||||
<asp:Parameter Name="certIDRefresh" Type="Int32" />
|
||||
<asp:Parameter Name="recurrenceM" Type="Int32" />
|
||||
<asp:Parameter Name="description" Type="String" />
|
||||
<asp:Parameter Name="educationOnly" Type="Boolean" />
|
||||
<asp:Parameter Name="isDefault" Type="Boolean" />
|
||||
</UpdateParameters>
|
||||
</asp:SqlDataSource>
|
||||
<asp:SqlDataSource ID="SqlDSRoles" runat="server" ConnectionString="<%$ ConnectionStrings:idpbwConnectionString %>" SelectCommand="DocARolesCombo" SelectCommandType="StoredProcedure"></asp:SqlDataSource>
|
||||
<asp:SqlDataSource ID="SqlDSCert" runat="server" ConnectionString="<%$ ConnectionStrings:idpbwConnectionString %>" SelectCommand="DocACertCombo" SelectCommandType="StoredProcedure"></asp:SqlDataSource>
|
||||
</asp:Content>
|
||||
17
safety/DocALinkCekCertificates.aspx.cs
Normal file
17
safety/DocALinkCekCertificates.aspx.cs
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace safety
|
||||
{
|
||||
public partial class DocALinkCekCertificates : System.Web.UI.Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
General.setTitle(Master, "Link Risicofiches - CEK Certificaten (PL.IDPBW.0625)");
|
||||
}
|
||||
}
|
||||
}
|
||||
51
safety/DocALinkCekCertificates.aspx.designer.cs
generated
Normal file
51
safety/DocALinkCekCertificates.aspx.designer.cs
generated
Normal file
|
|
@ -0,0 +1,51 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace safety {
|
||||
|
||||
|
||||
public partial class DocALinkCekCertificates {
|
||||
|
||||
/// <summary>
|
||||
/// RadGrid1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::Telerik.Web.UI.RadGrid RadGrid1;
|
||||
|
||||
/// <summary>
|
||||
/// sqlDSLinkCek control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.SqlDataSource sqlDSLinkCek;
|
||||
|
||||
/// <summary>
|
||||
/// SqlDSRoles control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.SqlDataSource SqlDSRoles;
|
||||
|
||||
/// <summary>
|
||||
/// SqlDSCert control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.SqlDataSource SqlDSCert;
|
||||
}
|
||||
}
|
||||
74
safety/DocAQuiz.aspx
Normal file
74
safety/DocAQuiz.aspx
Normal file
|
|
@ -0,0 +1,74 @@
|
|||
<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeBehind="DocAQuiz.aspx.cs" Inherits="safety.DocAQuiz" %>
|
||||
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
|
||||
<fieldset class="rfdRoundedCorners">
|
||||
<h1>DocA Link Quiz</h1>
|
||||
<telerik:RadGrid ID="RadGrid1" runat="server" AutoGenerateColumns="False" DataSourceID="SqlDSDocAQuiz">
|
||||
<ExportSettings>
|
||||
<Pdf PageWidth="">
|
||||
</Pdf>
|
||||
</ExportSettings>
|
||||
<MasterTableView AllowAutomaticDeletes="True" AllowAutomaticInserts="True" AllowAutomaticUpdates="True" CommandItemDisplay="Top" DataKeyNames="id" DataSourceID="SqlDSDocAQuiz">
|
||||
<Columns>
|
||||
<telerik:GridBoundColumn DataField="id" DataType="System.Int32" FilterControlAltText="Filter id column" HeaderText="id" ReadOnly="True" SortExpression="id" UniqueName="id">
|
||||
<ColumnValidationSettings>
|
||||
<ModelErrorMessage Text="" />
|
||||
</ColumnValidationSettings>
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridDropDownColumn DataField="roleID" DataSourceID="SqlDSRoles" FilterControlAltText="Filter roleID column" HeaderText="Role" ListTextField="name" ListValueField="roleID" SortExpression="roleID" UniqueName="roleID">
|
||||
<ColumnValidationSettings>
|
||||
<ModelErrorMessage Text="" />
|
||||
</ColumnValidationSettings>
|
||||
</telerik:GridDropDownColumn>
|
||||
<telerik:GridDropDownColumn DataField="moduleID" DataSourceID="SqlDSModules" FilterControlAltText="Filter moduleID column" HeaderText="QuizModule" ListTextField="name" ListValueField="moduleID" SortExpression="moduleID" UniqueName="moduleID">
|
||||
<ColumnValidationSettings>
|
||||
<ModelErrorMessage Text="" />
|
||||
</ColumnValidationSettings>
|
||||
</telerik:GridDropDownColumn>
|
||||
<telerik:GridCheckBoxColumn DataField="onlyExtern" DataType="System.Boolean" FilterControlAltText="Filter onlyExtern" HeaderText="Extern" UniqueName="onlyExtern" DefaultInsertValue="True">
|
||||
</telerik:GridCheckBoxColumn>
|
||||
<telerik:GridCheckBoxColumn DataField="onlyEmployee" DataType="System.Boolean" FilterControlAltText="Filter onlyEmployee" HeaderText="Employee" UniqueName="onlyEmployee" DefaultInsertValue="True">
|
||||
</telerik:GridCheckBoxColumn>
|
||||
|
||||
<telerik:GridBoundColumn DataField="created" DataType="System.DateTime" FilterControlAltText="Filter created column" HeaderText="created" ReadOnly="True" SortExpression="created" UniqueName="created">
|
||||
<ColumnValidationSettings>
|
||||
<ModelErrorMessage Text="" />
|
||||
</ColumnValidationSettings>
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="creator" FilterControlAltText="Filter creator column" HeaderText="creator" ReadOnly="True" SortExpression="creator" UniqueName="creator">
|
||||
<ColumnValidationSettings>
|
||||
<ModelErrorMessage Text="" />
|
||||
</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="SqlDSDocAQuiz" runat="server" ConnectionString="<%$ ConnectionStrings:idpbwConnectionString %>" DeleteCommand="docALinkQuizDelete" DeleteCommandType="StoredProcedure" InsertCommand="docALinkQuizInsert" InsertCommandType="StoredProcedure" SelectCommand="docALinkQuizSelect" SelectCommandType="StoredProcedure" UpdateCommand="docALinkQuizUpdate" UpdateCommandType="StoredProcedure">
|
||||
<DeleteParameters>
|
||||
<asp:Parameter Name="id" Type="Int32" />
|
||||
</DeleteParameters>
|
||||
<InsertParameters>
|
||||
<asp:Parameter Name="roleID" Type="Int32" />
|
||||
<asp:Parameter Name="moduleID" Type="Int32" />
|
||||
<asp:Parameter Name="onlyExtern" Type="Boolean" />
|
||||
<asp:Parameter Name="onlyEmployee" Type="Boolean" />
|
||||
|
||||
</InsertParameters>
|
||||
<UpdateParameters>
|
||||
<asp:Parameter Name="roleID" Type="Int32" />
|
||||
<asp:Parameter Name="moduleID" Type="Int32" />
|
||||
<asp:Parameter Name="id" Type="Int32" />
|
||||
<asp:Parameter Name="onlyExtern" Type="Boolean" />
|
||||
<asp:Parameter Name="onlyEmployee" Type="Boolean" />
|
||||
</UpdateParameters>
|
||||
</asp:SqlDataSource>
|
||||
<asp:SqlDataSource ID="SqlDSRoles" runat="server" ConnectionString="<%$ ConnectionStrings:idpbwConnectionString %>" SelectCommand="DocARolesCombo" SelectCommandType="StoredProcedure"></asp:SqlDataSource>
|
||||
<asp:SqlDataSource ID="SqlDSModules" runat="server" ConnectionString="<%$ ConnectionStrings:idpbwConnectionString %>" SelectCommand="select moduleID,name=naamNL from modules order by moduleID"></asp:SqlDataSource>
|
||||
</asp:Content>
|
||||
17
safety/DocAQuiz.aspx.cs
Normal file
17
safety/DocAQuiz.aspx.cs
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace safety
|
||||
{
|
||||
public partial class DocAQuiz : System.Web.UI.Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
51
safety/DocAQuiz.aspx.designer.cs
generated
Normal file
51
safety/DocAQuiz.aspx.designer.cs
generated
Normal file
|
|
@ -0,0 +1,51 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace safety {
|
||||
|
||||
|
||||
public partial class DocAQuiz {
|
||||
|
||||
/// <summary>
|
||||
/// RadGrid1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::Telerik.Web.UI.RadGrid RadGrid1;
|
||||
|
||||
/// <summary>
|
||||
/// SqlDSDocAQuiz control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.SqlDataSource SqlDSDocAQuiz;
|
||||
|
||||
/// <summary>
|
||||
/// SqlDSRoles control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.SqlDataSource SqlDSRoles;
|
||||
|
||||
/// <summary>
|
||||
/// SqlDSModules control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.SqlDataSource SqlDSModules;
|
||||
}
|
||||
}
|
||||
86
safety/DocARoles.aspx
Normal file
86
safety/DocARoles.aspx
Normal file
|
|
@ -0,0 +1,86 @@
|
|||
<%@ Page Title="" Language="C#" MasterPageFile="~/Siten.master" AutoEventWireup="true" CodeBehind="DocARoles.aspx.cs" Inherits="safety.DocARoles" MaintainScrollPositionOnPostback="true" %>
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
|
||||
|
||||
<fieldset class="rfdRoundedCorners">
|
||||
|
||||
<telerik:RadGrid ID="RadGrid1" runat="server" AllowSorting="True" AutoGenerateColumns="False" DataSourceID="sqlDSDocARoles" ShowGroupPanel="True" CellSpacing="-1" GridLines="Both" GroupPanelPosition="Top">
|
||||
<ExportSettings>
|
||||
<Pdf PageWidth="">
|
||||
</Pdf>
|
||||
</ExportSettings>
|
||||
<ClientSettings AllowDragToGroup="True">
|
||||
</ClientSettings>
|
||||
<MasterTableView AllowAutomaticInserts="True" AllowAutomaticUpdates="True" CommandItemDisplay="Top" DataKeyNames="roleID" DataSourceID="sqlDSDocARoles">
|
||||
<Columns>
|
||||
<telerik:GridBoundColumn DataField="roleID" DataType="System.Int32" FilterControlAltText="Filter roleID column" HeaderText="roleID" ReadOnly="True" SortExpression="roleID" UniqueName="roleID">
|
||||
<ColumnValidationSettings>
|
||||
<ModelErrorMessage Text="" />
|
||||
</ColumnValidationSettings>
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="cat" FilterControlAltText="Filter cat column" HeaderText="cat" SortExpression="cat" UniqueName="cat">
|
||||
<ColumnValidationSettings>
|
||||
<ModelErrorMessage Text="" />
|
||||
</ColumnValidationSettings>
|
||||
<ItemStyle Width="40px" />
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="subcat" FilterControlAltText="Filter subcat column" HeaderText="subcat" SortExpression="subcat" UniqueName="subcat">
|
||||
<ColumnValidationSettings>
|
||||
<ModelErrorMessage Text="" />
|
||||
</ColumnValidationSettings>
|
||||
<ItemStyle Width="70px" />
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="nr" DataType="System.Int32" FilterControlAltText="Filter nr column" HeaderText="nr" SortExpression="nr" UniqueName="nr">
|
||||
<ColumnValidationSettings>
|
||||
<ModelErrorMessage Text="" />
|
||||
</ColumnValidationSettings>
|
||||
<ItemStyle Width="50px" />
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="name" FilterControlAltText="Filter name " HeaderText="Name" SortExpression="name" UniqueName="name">
|
||||
<ColumnValidationSettings>
|
||||
<ModelErrorMessage Text="" />
|
||||
</ColumnValidationSettings>
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="shortname" FilterControlAltText="Filter column column" HeaderText="Short" UniqueName="column">
|
||||
<ColumnValidationSettings>
|
||||
<ModelErrorMessage Text="" />
|
||||
</ColumnValidationSettings>
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridCheckBoxColumn DataField="isGZ" DataType="System.Boolean" FilterControlAltText="Filter column2 column" HeaderText="GZ" UniqueName="column2">
|
||||
</telerik:GridCheckBoxColumn>
|
||||
<telerik:GridCheckBoxColumn DataField="DesignOnly" DataType="System.Boolean" FilterControlAltText="Filter column1 column" HeaderText="Design" UniqueName="column1">
|
||||
</telerik:GridCheckBoxColumn>
|
||||
<telerik:GridBoundColumn DataField="NeedHPHApproval" DataType="System.Byte" FilterControlAltText="Filter NeedHPHApproval column" HeaderText="HPH Approve" SortExpression="nr" UniqueName="NeedHPHApproval" />
|
||||
<telerik:GridButtonColumn CommandName="Edit" Text="Edit" ButtonCssClass="rgEdit" UniqueName="EditColumn" HeaderStyle-Width="30px">
|
||||
</telerik:GridButtonColumn>
|
||||
</Columns>
|
||||
</MasterTableView>
|
||||
</telerik:RadGrid>
|
||||
</fieldset>
|
||||
<asp:SqlDataSource ID="sqlDSDocARoles" runat="server" ConnectionString="<%$ ConnectionStrings:idpbwConnectionString %>" SelectCommand="DocARolesSelect" DeleteCommand="DocARolesDelete" DeleteCommandType="StoredProcedure" InsertCommand="DocARolesInsert" InsertCommandType="StoredProcedure" SelectCommandType="StoredProcedure" UpdateCommand="DocARolesUpdate" UpdateCommandType="StoredProcedure">
|
||||
<DeleteParameters>
|
||||
<asp:Parameter Name="roleID" Type="Int32" />
|
||||
</DeleteParameters>
|
||||
<InsertParameters>
|
||||
<asp:Parameter Name="roleID" Type="Int32" />
|
||||
<asp:Parameter Name="cat" Type="String" />
|
||||
<asp:Parameter Name="subcat" Type="String" />
|
||||
<asp:Parameter Name="nr" Type="Int32" />
|
||||
<asp:Parameter Name="name" Type="String" />
|
||||
<asp:Parameter Name="shortname" Type="String" />
|
||||
<asp:Parameter Name="DesignOnly" Type="Boolean" />
|
||||
<asp:Parameter Name="isGZ" Type="Boolean" />
|
||||
<asp:Parameter Name="NeedHPHApproval" Type="Byte" />
|
||||
</InsertParameters>
|
||||
<UpdateParameters>
|
||||
<asp:Parameter Name="roleID" Type="Int32" />
|
||||
<asp:Parameter Name="cat" Type="String" />
|
||||
<asp:Parameter Name="subcat" Type="String" />
|
||||
<asp:Parameter Name="nr" Type="Int32" />
|
||||
<asp:Parameter Name="name" Type="String" />
|
||||
<asp:Parameter Name="shortname" Type="String" />
|
||||
<asp:Parameter Name="DesignOnly" Type="Boolean" />
|
||||
<asp:Parameter Name="isGZ" Type="Boolean" />
|
||||
<asp:Parameter Name="NeedHPHApproval" Type="Byte" />
|
||||
</UpdateParameters>
|
||||
</asp:SqlDataSource>
|
||||
</asp:Content>
|
||||
17
safety/DocARoles.aspx.cs
Normal file
17
safety/DocARoles.aspx.cs
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace safety
|
||||
{
|
||||
public partial class DocARoles : System.Web.UI.Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
General.setTitle(Master, "Risicos masterdata");
|
||||
}
|
||||
}
|
||||
}
|
||||
33
safety/DocARoles.aspx.designer.cs
generated
Normal file
33
safety/DocARoles.aspx.designer.cs
generated
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace safety {
|
||||
|
||||
|
||||
public partial class DocARoles {
|
||||
|
||||
/// <summary>
|
||||
/// RadGrid1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::Telerik.Web.UI.RadGrid RadGrid1;
|
||||
|
||||
/// <summary>
|
||||
/// sqlDSDocARoles control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.SqlDataSource sqlDSDocARoles;
|
||||
}
|
||||
}
|
||||
109
safety/Dosimetry/VingerDosAssign.aspx
Normal file
109
safety/Dosimetry/VingerDosAssign.aspx
Normal file
|
|
@ -0,0 +1,109 @@
|
|||
<%@ Page Language="C#" MasterPageFile="~/Site2n.master" AutoEventWireup="true" CodeBehind="VingerDosAssign.aspx.cs" Inherits="safety.Dosimetry.VingerDosAssign" EnableEventValidation="false" %>
|
||||
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
|
||||
<style>
|
||||
.dl {
|
||||
float:left;
|
||||
display: inline;
|
||||
}
|
||||
</style>
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
|
||||
<asp:HiddenField runat="server" Value="201702" ID="hPeriod" />
|
||||
<asp:HiddenField runat="server" Value="12321" ID="hPersID" />
|
||||
|
||||
<div>
|
||||
<fieldset>
|
||||
<telerik:RadDropDownList runat="server" ID="dGroup" AutoPostBack="true" DataSourceID="dsTLDGroup" DataTextField="displayName" DataValueField="TLDGroup" RenderMode="Lightweight" />
|
||||
<br />
|
||||
<telerik:RadLabel runat="server" Text="Jaar/maand" AssociatedControlID="pPeriod" CssClass="dl" RenderMode="Lightweight" />
|
||||
<telerik:RadMonthYearPicker runat="server" ID="pPeriod" Culture="nl-BE" AutoPostBack="true" CssClass="dl" RenderMode="Lightweight" >
|
||||
<DateInput DisplayDateFormat="MMMM yyyy" DateFormat="MMMM yyyy" AutoPostBack="True" LabelWidth="40%" RenderMode="Lightweight">
|
||||
<EmptyMessageStyle Resize="None"></EmptyMessageStyle>
|
||||
<ReadOnlyStyle Resize="None"></ReadOnlyStyle>
|
||||
|
||||
<FocusedStyle Resize="None"></FocusedStyle>
|
||||
|
||||
<DisabledStyle Resize="None"></DisabledStyle>
|
||||
|
||||
<InvalidStyle Resize="None"></InvalidStyle>
|
||||
|
||||
<HoveredStyle Resize="None"></HoveredStyle>
|
||||
|
||||
<EnabledStyle Resize="None"></EnabledStyle>
|
||||
</DateInput>
|
||||
|
||||
<DatePopupButton ImageUrl="" HoverImageUrl=""></DatePopupButton>
|
||||
|
||||
<MonthYearNavigationSettings DateIsOutOfRangeMessage="Cancel"></MonthYearNavigationSettings>
|
||||
</telerik:RadMonthYearPicker>
|
||||
<telerik:RadCheckBox ID="cShowAll" runat="server" AutoPostBack="true" Checked="false" RenderMode="Lightweight" CssClass="dl" />
|
||||
<telerik:RadLabel runat="server" Text=" + vaste TLD" AssociatedControlID="cShowAll" CssClass="dl" RenderMode="Lightweight" />
|
||||
</fieldset>
|
||||
</div>
|
||||
<telerik:RadGrid runat="server" ID="RG" DataSourceID="SqlDataSource1" GridLines="Both" AllowAutomaticDeletes="True" AllowAutomaticUpdates="True" AllowSorting="True" AutoGenerateColumns="False">
|
||||
<ExportSettings ExportOnlyData="True" FileName="VingerDosimeters" OpenInNewWindow="True">
|
||||
<Excel Format="Xlsx" />
|
||||
</ExportSettings>
|
||||
<ClientSettings AllowColumnsReorder="True" ReorderColumnsOnClient="True">
|
||||
<Scrolling AllowScroll="True" UseStaticHeaders="True" ScrollHeight="800" SaveScrollPosition="true" />
|
||||
</ClientSettings>
|
||||
<MasterTableView DataKeyNames="TLDPeriod, TLDVingerID" DataSourceID="SqlDataSource1" CommandItemDisplay="Top" Width="95%">
|
||||
<CommandItemSettings ShowExportToExcelButton="True" />
|
||||
<Columns>
|
||||
<telerik:GridBoundColumn DataField="TLDVingerID" HeaderText="TLD" UniqueName="TLDVingerID" HeaderStyle-Width="100px" ReadOnly="true" />
|
||||
<telerik:GridBoundColumn DataField="TLDPeriod" HeaderText="Period" SortExpression="TLDPeriod" UniqueName="TLDPeriod" HeaderStyle-Width="50px" ReadOnly="true" />
|
||||
<telerik:GridBoundColumn DataField="TLDGroup" FilterControlAltText="Filter TLDGroup column" HeaderText="Group" SortExpression="TLDGroup" UniqueName="TLDGroup" ReadOnly="true" HeaderStyle-Width="50px"/>
|
||||
<telerik:GridBoundColumn DataField="TLDCode" FilterControlAltText="Filter TLDCode column" HeaderText="Code" SortExpression="TLDCode" UniqueName="TLDCode" ReadOnly="true" HeaderStyle-Width="50px"/>
|
||||
<telerik:GridBoundColumn DataField="TLDNummer" FilterControlAltText="Filter TLDNummer column" HeaderText="Nummer" SortExpression="TLDNummer" UniqueName="TLDNummer" ReadOnly="true" HeaderStyle-Width="50px"/>
|
||||
<telerik:GridBoundColumn DataField="N_P" FilterControlAltText="Filter N_P column" HeaderText="N_P" SortExpression="N_P" UniqueName="N_P" HeaderStyle-Width="30px" ReadOnly="true" Visible="false" />
|
||||
<telerik:GridBoundColumn DataField="BlauwZwart" HeaderText="B/Z" SortExpression="BlauwZwart" UniqueName="BlauwZwart" HeaderStyle-Width="30px" ReadOnly="true" />
|
||||
|
||||
<telerik:GridTemplateColumn DataField="persid" HeaderText="Persoon" UniqueName="persid">
|
||||
<EditItemTemplate>
|
||||
<telerik:RadComboBox ID="persidRadComboBox1" runat="server" DataSourceID="SqlDSNamen" DataTextField="naam" DataValueField="persID" SelectedValue='<%# Bind("persid") %>' MarkFirstMatch="true" AllowCustomText="true" Width="500px" ZIndex="100000" EnableLoadOnDemand="true" OnItemsRequested="persidRadComboBox1_ItemsRequested" />
|
||||
</EditItemTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:HyperLink runat="server" NavigateUrl='<%# string.Format("https://toegang.intern.sckcen.be/pfiche/{0}",Eval("persid")) %>' Text='<%# Eval("fullname") %>' />
|
||||
</ItemTemplate>
|
||||
</telerik:GridTemplateColumn>
|
||||
|
||||
|
||||
<telerik:GridBoundColumn DataField="dosis" HeaderText="Dosis" SortExpression="dosis" UniqueName="dosis" HeaderStyle-Width="100px" ReadOnly="true"/>
|
||||
<telerik:GridBoundColumn DataField="AssignDate" DataType="System.DateTime" FilterControlAltText="Filter AssignDate column" HeaderText="AssignDate" SortExpression="AssignDate" UniqueName="AssignDate" ReadOnly="true" />
|
||||
<telerik:GridBoundColumn DataField="AssignedBy" FilterControlAltText="Filter AssignedBy column" HeaderText="AssignedBy" SortExpression="AssignedBy" UniqueName="AssignedBy" ReadOnly="true"/>
|
||||
|
||||
<telerik:GridButtonColumn CommandName="Delete" Text="Edit" ButtonCssClass="rgDel" UniqueName="DeleteColumn" HeaderStyle-Width="30px" ConfirmText="Wil je deze lijn verwijderen ? ">
|
||||
<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>
|
||||
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:idpbwConnectionString %>" DeleteCommand="tld_vinger_assign_delete" DeleteCommandType="StoredProcedure" SelectCommand="tld_vinger_assign_select" SelectCommandType="StoredProcedure" UpdateCommand="tld_vinger_assign_update" UpdateCommandType="StoredProcedure" CancelSelectOnNullParameter="False">
|
||||
<DeleteParameters>
|
||||
<asp:Parameter Name="TLDPeriod" Type="Int32" />
|
||||
<asp:Parameter Name="TLDVingerID" DbType="Int32" />
|
||||
</DeleteParameters>
|
||||
<SelectParameters>
|
||||
<asp:ControlParameter ControlID="hPeriod" Name="TLDPeriod" PropertyName="Value" Type="Int32" DefaultValue="201611" />
|
||||
<asp:ControlParameter ControlID="dGroup" Name="TLD_Group" Type="String" DefaultValue="" PropertyName="SelectedValue" />
|
||||
<asp:ControlParameter ControlID="cShowAll" DefaultValue="false" Name="showAll" PropertyName="Checked" Type="Boolean" />
|
||||
</SelectParameters>
|
||||
<UpdateParameters>
|
||||
<asp:Parameter Name="TLDPeriod" Type="Int32" />
|
||||
<asp:Parameter Name="TLDVingerID" Type="Int32" />
|
||||
<asp:Parameter Name="persid" Type="Int32" />
|
||||
</UpdateParameters>
|
||||
</asp:SqlDataSource>
|
||||
|
||||
<%--<asp:SqlDataSource ID="SqlDSTLD" runat="server" ConnectionString="<%$ ConnectionStrings:idpbwConnectionString %>" SelectCommand="tld_vinger_list" SelectCommandType="StoredProcedure" />--%>
|
||||
<asp:SqlDataSource ID="SqlDSNamen" runat="server" ConnectionString="<%$ ConnectionStrings:idpbwConnectionString %>" SelectCommand="TLD_getLijstNamen" SelectCommandType="StoredProcedure"></asp:SqlDataSource>
|
||||
<asp:SqlDataSource ID="dsTLDGroup" runat="server" ConnectionString="<%$ ConnectionStrings:idpbwConnectionString %>" SelectCommand="select displayName = TLDGroup+' '+name,Name,TLDGroup from TLD_Group order by TLDGroup" SelectCommandType="Text" />
|
||||
|
||||
|
||||
|
||||
</asp:Content>
|
||||
65
safety/Dosimetry/VingerDosAssign.aspx.cs
Normal file
65
safety/Dosimetry/VingerDosAssign.aspx.cs
Normal file
|
|
@ -0,0 +1,65 @@
|
|||
using System;
|
||||
using System.Data;
|
||||
using System.Data.SqlClient;
|
||||
using System.Linq;
|
||||
using Telerik.Web.UI;
|
||||
|
||||
namespace safety.Dosimetry
|
||||
{
|
||||
public partial class VingerDosAssign : System.Web.UI.Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
General.setTitle(Master, "Vinger dosimeters toewijzen");
|
||||
if (!IsPostBack)
|
||||
{
|
||||
DateTime now = DateTime.Now;
|
||||
pPeriod.SelectedDate = now;
|
||||
//pJaar.Value = now.Year;
|
||||
//pMaand.Value = now.Month;
|
||||
hPeriod.Value = (now.Year * 100 + now.Month).ToString();
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
//hPeriod.Value = (pJaar.Value * 100 + pMaand.Value).ToString();
|
||||
var n = pPeriod.SelectedDate;
|
||||
if (n.HasValue)
|
||||
{
|
||||
hPeriod.Value = (n.Value.Year * 100 + n.Value.Month).ToString();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
protected void persidRadComboBox1_ItemsRequested(object sender, Telerik.Web.UI.RadComboBoxItemsRequestedEventArgs e)
|
||||
{
|
||||
RadComboBox combo = (RadComboBox) sender;
|
||||
var cn = System.Web.Configuration.WebConfigurationManager.ConnectionStrings["idpbwConnectionString"].ConnectionString;
|
||||
string s = e.Text.Replace("'", "''") + "%";
|
||||
|
||||
System.Data.SqlClient.SqlDataAdapter da = new System.Data.SqlClient.SqlDataAdapter();
|
||||
System.Data.SqlClient.SqlCommand cmd = new System.Data.SqlClient.SqlCommand("TLD_getLijstNamen");
|
||||
cmd.Connection = new System.Data.SqlClient.SqlConnection(cn);
|
||||
cmd.CommandType = CommandType.StoredProcedure;
|
||||
cmd.Parameters.AddWithValue("search", s);
|
||||
//cmd.Parameters.AddWithValue("fetch", 200);
|
||||
//cmd.Parameters.AddWithValue("skip", 0);
|
||||
da.SelectCommand = cmd;
|
||||
cmd.Connection.Open();
|
||||
using (SqlDataReader de = cmd.ExecuteReader())
|
||||
{
|
||||
DataTable dt = new DataTable();
|
||||
dt.Load(de);
|
||||
cmd.Connection.Close();
|
||||
foreach (DataRow row in dt.Rows)
|
||||
{
|
||||
RadComboBoxItem item = new RadComboBoxItem(row["naam"].ToString(), row["persid"].ToString());
|
||||
combo.Items.Add(item);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
96
safety/Dosimetry/VingerDosAssign.aspx.designer.cs
generated
Normal file
96
safety/Dosimetry/VingerDosAssign.aspx.designer.cs
generated
Normal file
|
|
@ -0,0 +1,96 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace safety.Dosimetry {
|
||||
|
||||
|
||||
public partial class VingerDosAssign {
|
||||
|
||||
/// <summary>
|
||||
/// hPeriod control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.HiddenField hPeriod;
|
||||
|
||||
/// <summary>
|
||||
/// hPersID control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.HiddenField hPersID;
|
||||
|
||||
/// <summary>
|
||||
/// dGroup control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::Telerik.Web.UI.RadDropDownList dGroup;
|
||||
|
||||
/// <summary>
|
||||
/// pPeriod control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::Telerik.Web.UI.RadMonthYearPicker pPeriod;
|
||||
|
||||
/// <summary>
|
||||
/// cShowAll control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::Telerik.Web.UI.RadCheckBox cShowAll;
|
||||
|
||||
/// <summary>
|
||||
/// RG control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::Telerik.Web.UI.RadGrid RG;
|
||||
|
||||
/// <summary>
|
||||
/// SqlDataSource1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.SqlDataSource SqlDataSource1;
|
||||
|
||||
/// <summary>
|
||||
/// SqlDSNamen control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.SqlDataSource SqlDSNamen;
|
||||
|
||||
/// <summary>
|
||||
/// dsTLDGroup control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.SqlDataSource dsTLDGroup;
|
||||
}
|
||||
}
|
||||
92
safety/Dosimetry/VingerDosis.aspx
Normal file
92
safety/Dosimetry/VingerDosis.aspx
Normal file
|
|
@ -0,0 +1,92 @@
|
|||
<%@ Page Title="" Language="C#" MasterPageFile="~/Site2n.master" AutoEventWireup="true" CodeBehind="VingerDosis.aspx.cs" Inherits="safety.Dosimetry.VingerDosis" %>
|
||||
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
|
||||
<telerik:RadNumericTextBox ID="pJaar" runat="server" Label="Jaar" DataType="System.Int32" AutoPostBack="True" MaxValue="2025" MinValue="2010" Height="22px" LabelWidth="100px" MaxLength="4" Width="201px">
|
||||
<NegativeStyle Resize="None"></NegativeStyle>
|
||||
<NumberFormat ZeroPattern="n" AllowRounding="False" DecimalDigits="0" GroupSeparator=""></NumberFormat>
|
||||
<EmptyMessageStyle Resize="None"></EmptyMessageStyle>
|
||||
<ReadOnlyStyle Resize="None"></ReadOnlyStyle>
|
||||
<FocusedStyle Resize="None"></FocusedStyle>
|
||||
<DisabledStyle Resize="None"></DisabledStyle>
|
||||
<InvalidStyle Resize="None"></InvalidStyle>
|
||||
<HoveredStyle Resize="None"></HoveredStyle>
|
||||
<EnabledStyle Resize="None"></EnabledStyle>
|
||||
</telerik:RadNumericTextBox>
|
||||
|
||||
|
||||
<telerik:RadNumericTextBox ID="pMaand" runat="server" Label="Maand" DataType="System.Int32" AutoPostBack="True" MaxValue="12" MinValue="1" Height="22px" LabelWidth="100px" MaxLength="2" Width="201px">
|
||||
<NegativeStyle Resize="None"></NegativeStyle>
|
||||
<NumberFormat ZeroPattern="n" AllowRounding="False" DecimalDigits="0" GroupSeparator=""></NumberFormat>
|
||||
<EmptyMessageStyle Resize="None"></EmptyMessageStyle>
|
||||
<ReadOnlyStyle Resize="None"></ReadOnlyStyle>
|
||||
<FocusedStyle Resize="None"></FocusedStyle>
|
||||
<DisabledStyle Resize="None"></DisabledStyle>
|
||||
<InvalidStyle Resize="None"></InvalidStyle>
|
||||
<HoveredStyle Resize="None"></HoveredStyle>
|
||||
<EnabledStyle Resize="None"></EnabledStyle>
|
||||
</telerik:RadNumericTextBox>
|
||||
|
||||
|
||||
<telerik:RadGrid runat="server" ID="rgDose" DataSourceID="SqlDSDos" AllowSorting="True" AutoGenerateColumns="False" DataKeyNames="TLDPeriod,persid">
|
||||
<GroupingSettings CollapseAllTooltip="Collapse all groups"></GroupingSettings>
|
||||
<ExportSettings FileName="TldFingerDose" OpenInNewWindow="True">
|
||||
<Excel FileExtension="xlsx" Format="Xlsx" />
|
||||
</ExportSettings>
|
||||
<MasterTableView DataSourceID="SqlDSDos" CommandItemDisplay="Top" ClientDataKeyNames="persid,TLDPeriod" DataKeyNames="persid,TLDPeriod">
|
||||
<DetailTables>
|
||||
<telerik:GridTableView runat="server" DataKeyNames="TLDPeriod,persid" DataSourceID="SqlDsDosDetail" ShowFooter="True" AllowNaturalSort="False" AllowSorting="False">
|
||||
<ParentTableRelation>
|
||||
<telerik:GridRelationFields DetailKeyField="TLDPeriod" MasterKeyField="TLDPeriod" />
|
||||
<telerik:GridRelationFields DetailKeyField="persid" MasterKeyField="persid" />
|
||||
</ParentTableRelation>
|
||||
<Columns>
|
||||
<telerik:GridBoundColumn DataField="dosis" DataType="System.Single" FilterControlAltText="Filter dosis column" HeaderText="dosis" SortExpression="dosis" UniqueName="dosis" Aggregate="Sum" FooterAggregateFormatString="T: {0:0.00}" ReadOnly="True">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="TLDPeriod" DataType="System.Int32" FilterControlAltText="Filter TLDPeriod column" HeaderText="TLDPeriod" SortExpression="TLDPeriod" UniqueName="TLDPeriod">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="TLD" HeaderText="TLD" SortExpression="TLD" UniqueName="TLD">
|
||||
</telerik:GridBoundColumn>
|
||||
</Columns>
|
||||
</telerik:GridTableView>
|
||||
</DetailTables>
|
||||
<CommandItemSettings ShowExportToExcelButton="True" />
|
||||
<Columns>
|
||||
<telerik:GridBoundColumn DataField="persid" DataType="System.Int32" FilterControlAltText="Filter persid column" HeaderText="persid" SortExpression="persid" UniqueName="persid" />
|
||||
|
||||
<telerik:GridBoundColumn DataField="name" FilterControlAltText="Filter name column" HeaderText="name" ReadOnly="True" SortExpression="name" UniqueName="name">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="Company" FilterControlAltText="Filter Company column" HeaderText="Company" SortExpression="Company" UniqueName="Company">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="dosis" DataType="System.Single" FilterControlAltText="Filter dosis column" HeaderText="dosis" ReadOnly="True" SortExpression="dosis" UniqueName="dosis" DataFormatString="{0:0.00}" />
|
||||
<telerik:GridBoundColumn DataField="dosis12tede" DataType="System.Double" FilterControlAltText="Filter dosis12tede column" HeaderText="dosis12tede" ReadOnly="True" SortExpression="dosis12tede" UniqueName="dosis12tede" DataFormatString="{0:0.00}" />
|
||||
<telerik:GridBoundColumn DataField="records" DataType="System.Int32" FilterControlAltText="Filter records column" HeaderText="records" ReadOnly="True" SortExpression="records" UniqueName="records" />
|
||||
<telerik:GridBoundColumn DataField="MinPeriod" DataType="System.Int32" FilterControlAltText="Filter MinPeriod column" HeaderText="MinPeriod" ReadOnly="True" SortExpression="MinPeriod" UniqueName="MinPeriod">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="MaxPeriod" DataType="System.Int32" FilterControlAltText="Filter MaxPeriod column" HeaderText="MaxPeriod" ReadOnly="True" SortExpression="MaxPeriod" UniqueName="MaxPeriod">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="TLDPeriod" DataType="System.Int32" ReadOnly="True" SortExpression="TLDPeriod" UniqueName="TLDPeriod" />
|
||||
</Columns>
|
||||
</MasterTableView>
|
||||
</telerik:RadGrid>
|
||||
|
||||
|
||||
|
||||
<asp:SqlDataSource ID="SqlDSDos" runat="server" ConnectionString="<%$ ConnectionStrings:idpbwConnectionString %>" SelectCommand="tld_vinger_dose" SelectCommandType="StoredProcedure">
|
||||
<SelectParameters>
|
||||
<asp:ControlParameter ControlID="pJaar" DefaultValue="2017" Name="tldJaar" PropertyName="Text" Type="Int32" />
|
||||
<asp:ControlParameter ControlID="pMaand" DefaultValue="01" Name="tldMaand" PropertyName="Text" Type="Int32" />
|
||||
</SelectParameters>
|
||||
</asp:SqlDataSource>
|
||||
|
||||
<asp:SqlDataSource ID="SqlDsDosDetail" runat="server" ConnectionString="<%$ ConnectionStrings:idpbwConnectionString %>" SelectCommand="TLD_Vinger_Dose_Detail" SelectCommandType="StoredProcedure">
|
||||
<SelectParameters>
|
||||
<asp:Parameter Name="TLDPeriod" Type="Int32" DefaultValue="201702" />
|
||||
<asp:Parameter Name="persid" Type="Int32" DefaultValue="13115" />
|
||||
</SelectParameters>
|
||||
</asp:SqlDataSource>
|
||||
|
||||
|
||||
|
||||
</asp:Content>
|
||||
23
safety/Dosimetry/VingerDosis.aspx.cs
Normal file
23
safety/Dosimetry/VingerDosis.aspx.cs
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace safety.Dosimetry
|
||||
{
|
||||
public partial class VingerDosis : System.Web.UI.Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
General.setTitle(Page.Master, "VingerTLD dosis");
|
||||
if (!Page.IsPostBack)
|
||||
{
|
||||
pJaar.Text = DateTime.Now.Year.ToString();
|
||||
pMaand.Text = DateTime.Now.Month.ToString();
|
||||
rgDose.Rebind();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
60
safety/Dosimetry/VingerDosis.aspx.designer.cs
generated
Normal file
60
safety/Dosimetry/VingerDosis.aspx.designer.cs
generated
Normal file
|
|
@ -0,0 +1,60 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace safety.Dosimetry {
|
||||
|
||||
|
||||
public partial class VingerDosis {
|
||||
|
||||
/// <summary>
|
||||
/// pJaar control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::Telerik.Web.UI.RadNumericTextBox pJaar;
|
||||
|
||||
/// <summary>
|
||||
/// pMaand control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::Telerik.Web.UI.RadNumericTextBox pMaand;
|
||||
|
||||
/// <summary>
|
||||
/// rgDose control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::Telerik.Web.UI.RadGrid rgDose;
|
||||
|
||||
/// <summary>
|
||||
/// SqlDSDos control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.SqlDataSource SqlDSDos;
|
||||
|
||||
/// <summary>
|
||||
/// SqlDsDosDetail control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.SqlDataSource SqlDsDosDetail;
|
||||
}
|
||||
}
|
||||
57
safety/Dosimetry/VingerDosismeters.aspx
Normal file
57
safety/Dosimetry/VingerDosismeters.aspx
Normal file
|
|
@ -0,0 +1,57 @@
|
|||
<%@ Page Title="" Language="C#" MasterPageFile="~/Site2n.master" AutoEventWireup="true" CodeBehind="VingerDosismeters.aspx.cs" Inherits="safety.Dosimetry.VingerDosismeters" %>
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
|
||||
<telerik:RadGrid runat="server" ID="RG" AllowAutomaticDeletes="True" AllowAutomaticInserts="True" AllowAutomaticUpdates="True" DataSourceID="SqlDSVingerDosismeters" AllowSorting="True" AutoGenerateColumns="False" >
|
||||
<GroupingSettings CollapseAllTooltip="Collapse all groups" CaseSensitive="False"></GroupingSettings>
|
||||
<ExportSettings FileName="VingerDosimeters" OpenInNewWindow="True">
|
||||
<Excel Format="Xlsx" />
|
||||
</ExportSettings>
|
||||
<MasterTableView CommandItemDisplay="Top" DataKeyNames="TLDVingerID" DataSourceID="SqlDSVingerDosismeters">
|
||||
<CommandItemSettings ShowExportToExcelButton="True" />
|
||||
<Columns>
|
||||
<telerik:GridBoundColumn DataField="TLDVingerID" DataType="System.Int32" FilterControlAltText="Filter TLDVingerID column" HeaderText="ID" ReadOnly="True" SortExpression="TLDVingerID" UniqueName="TLDVingerID">
|
||||
<HeaderStyle Width="30px" />
|
||||
</telerik:GridBoundColumn>
|
||||
|
||||
<telerik:GridBoundColumn DataField="TLDGroup" HeaderText="Group" UniqueName="TLDGroup" HeaderStyle-Width="100px">
|
||||
</telerik:GridBoundColumn>
|
||||
|
||||
<telerik:GridBoundColumn DataField="TLDCode" FilterControlAltText="Filter TLDCode column" HeaderText="TLDCode" SortExpression="TLDCode" UniqueName="TLDCode">
|
||||
</telerik:GridBoundColumn>
|
||||
|
||||
<telerik:GridBoundColumn DataField="TLDNummer" FilterControlAltText="Filter TLDNummer column" HeaderText="TLDNummer" SortExpression="TLDNummer" UniqueName="TLDNummer">
|
||||
</telerik:GridBoundColumn>
|
||||
|
||||
<telerik:GridButtonColumn CommandName="Delete" Text="Edit" ButtonCssClass="rgDel" UniqueName="DeleteColumn" HeaderStyle-Width="30px" ConfirmText="Wil je dit antwoord verwijderen ? ">
|
||||
<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>
|
||||
<asp:SqlDataSource ID="SqlDSVingerDosismeters" runat="server" ConnectionString="<%$ ConnectionStrings:idpbwConnectionString %>" DeleteCommand="tld_vinger_delete" DeleteCommandType="StoredProcedure" InsertCommand="tld_vinger_insert" InsertCommandType="StoredProcedure" SelectCommand="tld_vinger_select" SelectCommandType="StoredProcedure" UpdateCommand="tld_vinger_update" UpdateCommandType="StoredProcedure">
|
||||
<DeleteParameters>
|
||||
<asp:Parameter Name="TLDVingerID" Type="Int32" />
|
||||
</DeleteParameters>
|
||||
<InsertParameters>
|
||||
<asp:Parameter Name="TLDGroup" Type="String" />
|
||||
<asp:Parameter Name="TLDCode" Type="String" />
|
||||
<asp:Parameter Name="TLDNummer" Type="String" />
|
||||
</InsertParameters>
|
||||
<UpdateParameters>
|
||||
<asp:Parameter Name="TLDVingerID" Type="Int32" />
|
||||
<asp:Parameter Name="TLDGroup" Type="String" />
|
||||
<asp:Parameter Name="TLDCode" Type="String" />
|
||||
<asp:Parameter Name="TLDNummer" Type="String" />
|
||||
</UpdateParameters>
|
||||
</asp:SqlDataSource>
|
||||
|
||||
|
||||
<asp:SqlDataSource ID="SqlTLDGroup" runat="server" ConnectionString="<%$ ConnectionStrings:idpbwConnectionString %>" SelectCommand="tld_group_list" SelectCommandType="StoredProcedure" />
|
||||
|
||||
</asp:Content>
|
||||
17
safety/Dosimetry/VingerDosismeters.aspx.cs
Normal file
17
safety/Dosimetry/VingerDosismeters.aspx.cs
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace safety.Dosimetry
|
||||
{
|
||||
public partial class VingerDosismeters : System.Web.UI.Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
General.setTitle(Master, "Vingerdosismeters");
|
||||
}
|
||||
}
|
||||
}
|
||||
42
safety/Dosimetry/VingerDosismeters.aspx.designer.cs
generated
Normal file
42
safety/Dosimetry/VingerDosismeters.aspx.designer.cs
generated
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace safety.Dosimetry {
|
||||
|
||||
|
||||
public partial class VingerDosismeters {
|
||||
|
||||
/// <summary>
|
||||
/// RG control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::Telerik.Web.UI.RadGrid RG;
|
||||
|
||||
/// <summary>
|
||||
/// SqlDSVingerDosismeters control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.SqlDataSource SqlDSVingerDosismeters;
|
||||
|
||||
/// <summary>
|
||||
/// SqlTLDGroup control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.SqlDataSource SqlTLDGroup;
|
||||
}
|
||||
}
|
||||
48
safety/GebVW/IMS_BuildingClusters.aspx
Normal file
48
safety/GebVW/IMS_BuildingClusters.aspx
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
<%@ Page Title="" Language="C#" MasterPageFile="~/Siten.master" AutoEventWireup="true" CodeBehind="IMS_BuildingClusters.aspx.cs" Inherits="safety.GebVW.IMS_BuildingClusters" MaintainScrollPositionOnPostback="true" %>
|
||||
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
|
||||
<telerik:RadGrid ID="RadGrid1" runat="server" CellSpacing="-1" GridLines="Both" DataSourceID="SqlDataSource1" AllowSorting="True" AllowAutomaticInserts="True" AllowAutomaticUpdates="True" AutoGenerateColumns="False">
|
||||
<GroupingSettings CollapseAllTooltip="Collapse all groups" CaseSensitive="False"></GroupingSettings>
|
||||
<ExportSettings ExportOnlyData="True" HideStructureColumns="True" OpenInNewWindow="True">
|
||||
<Excel FileExtension="xlsx" Format="Xlsx" />
|
||||
</ExportSettings>
|
||||
<MasterTableView DataSourceID="SqlDataSource1" CommandItemDisplay="Top" DataKeyNames="IMS_BuildingClusterID">
|
||||
<CommandItemSettings ShowExportToExcelButton="True" />
|
||||
<Columns>
|
||||
<telerik:GridBoundColumn DataField="IMS_BuildingClusterID" DataType="System.Int32" FilterControlAltText="Filter IMS_BuildingClusterID column" HeaderText="ClusterID" ReadOnly="True" SortExpression="IMS_BuildingClusterID" UniqueName="IMS_BuildingClusterID">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="Ims_BuildingCluster" FilterControlAltText="Filter Ims_BuildingCluster column" HeaderText="Cluster" SortExpression="Ims_BuildingCluster" UniqueName="Ims_BuildingCluster">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridTemplateColumn DataField="BeheerderID" FilterControlAltText="Filter column column" HeaderText="Beheerder" UniqueName="BeheerderID">
|
||||
<EditItemTemplate>
|
||||
<telerik:RadComboBox ID="persidRadComboBox" runat="server" DataSourceID="SqlDSNamen" DataTextField="naam" DataValueField="persid" SelectedValue='<%# Bind("BeheerderID") %>'>
|
||||
</telerik:RadComboBox>
|
||||
</EditItemTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:HyperLink runat="server" NavigateUrl='<%# string.Format("http://intern.sckcen.be/phonebook/fiche.asp?id={0}",Eval("BeheerderID")) %>' Text='<%# Eval("Beheerder") %>' />
|
||||
</ItemTemplate>
|
||||
</telerik:GridTemplateColumn>
|
||||
<telerik:GridButtonColumn CommandName="Edit" Text="Edit" ButtonCssClass="rgEdit" UniqueName="EditColumn" HeaderStyle-Width="30px">
|
||||
<HeaderStyle Width="30px"></HeaderStyle>
|
||||
</telerik:GridButtonColumn>
|
||||
|
||||
</Columns>
|
||||
</MasterTableView>
|
||||
</telerik:RadGrid>
|
||||
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:idpbwConnectionString %>" SelectCommand="ims_BuildingClustersSelect" SelectCommandType="StoredProcedure" InsertCommand="ims_BuildingClustersUpdate" InsertCommandType="StoredProcedure" UpdateCommand="ims_BuildingClustersUpdate" UpdateCommandType="StoredProcedure">
|
||||
<InsertParameters>
|
||||
<asp:Parameter Name="IMS_BuildingClusterID" Type="Int32" />
|
||||
<asp:Parameter Name="Ims_BuildingCluster" Type="String" />
|
||||
<asp:Parameter Name="BeheerderID" Type="Int32" />
|
||||
</InsertParameters>
|
||||
<UpdateParameters>
|
||||
<asp:Parameter Name="IMS_BuildingClusterID" Type="Int32" />
|
||||
<asp:Parameter Name="Ims_BuildingCluster" Type="String" />
|
||||
<asp:Parameter Name="BeheerderID" Type="Int32" />
|
||||
</UpdateParameters>
|
||||
</asp:SqlDataSource>
|
||||
<asp:SqlDataSource ID="SqlDSNamen" runat="server" ConnectionString="<%$ ConnectionStrings:idpbwConnectionString %>"
|
||||
SelectCommand="getLijstNamen" SelectCommandType="StoredProcedure"></asp:SqlDataSource>
|
||||
</asp:Content>
|
||||
|
||||
|
||||
17
safety/GebVW/IMS_BuildingClusters.aspx.cs
Normal file
17
safety/GebVW/IMS_BuildingClusters.aspx.cs
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace safety.GebVW
|
||||
{
|
||||
public partial class IMS_BuildingClusters : System.Web.UI.Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
General.setTitle(Master, "Gebouw clusters");
|
||||
}
|
||||
}
|
||||
}
|
||||
42
safety/GebVW/IMS_BuildingClusters.aspx.designer.cs
generated
Normal file
42
safety/GebVW/IMS_BuildingClusters.aspx.designer.cs
generated
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace safety.GebVW {
|
||||
|
||||
|
||||
public partial class IMS_BuildingClusters {
|
||||
|
||||
/// <summary>
|
||||
/// RadGrid1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::Telerik.Web.UI.RadGrid RadGrid1;
|
||||
|
||||
/// <summary>
|
||||
/// SqlDataSource1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.SqlDataSource SqlDataSource1;
|
||||
|
||||
/// <summary>
|
||||
/// SqlDSNamen control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.SqlDataSource SqlDSNamen;
|
||||
}
|
||||
}
|
||||
147
safety/GebVW/IMS_BuildingResponsable.aspx
Normal file
147
safety/GebVW/IMS_BuildingResponsable.aspx
Normal file
|
|
@ -0,0 +1,147 @@
|
|||
<%@ Page Title="" Language="C#" MasterPageFile="~/Siten.master" AutoEventWireup="true" CodeBehind="IMS_BuildingResponsable.aspx.cs" Inherits="safety.GebVW.IMS_BuildingResponsable" MaintainScrollPositionOnPostback="true" %>
|
||||
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
|
||||
|
||||
<%-- <telerik:RadAjaxManager runat="server">
|
||||
<AjaxSettings>
|
||||
<telerik:AjaxSetting AjaxControlID="ddIDPBW">
|
||||
<UpdatedControls>
|
||||
<telerik:AjaxUpdatedControl ControlID="ddFuncties" UpdatePanelCssClass="" />
|
||||
<telerik:AjaxUpdatedControl ControlID="RadGrid1" UpdatePanelCssClass="" />
|
||||
</UpdatedControls>
|
||||
</telerik:AjaxSetting>
|
||||
|
||||
<telerik:AjaxSetting AjaxControlID="ddFuncties">
|
||||
<UpdatedControls>
|
||||
<telerik:AjaxUpdatedControl ControlID="RadGrid1" UpdatePanelCssClass="" />
|
||||
</UpdatedControls>
|
||||
</telerik:AjaxSetting>
|
||||
|
||||
<telerik:AjaxSetting AjaxControlID="ddBuildings">
|
||||
<UpdatedControls>
|
||||
<telerik:AjaxUpdatedControl ControlID="RadGrid1" UpdatePanelCssClass="" />
|
||||
</UpdatedControls>
|
||||
</telerik:AjaxSetting>
|
||||
</AjaxSettings>
|
||||
</telerik:RadAjaxManager>--%>
|
||||
|
||||
<div style="width: 100%;">
|
||||
<telerik:RadDropDownList ID="ddFuncties" runat="server" AppendDataBoundItems="True" DataSourceID="SqlDSGebouwFuncties" DataTextField="ims_gebFunctieNaam" DataValueField="ims_gebFunctieID" AutoPostBack="true">
|
||||
<Items>
|
||||
<telerik:DropDownListItem runat="server" Text="Alle" Value="0" />
|
||||
</Items>
|
||||
</telerik:RadDropDownList>
|
||||
<telerik:RadDropDownList ID="ddBuildings" runat="server" AppendDataBoundItems="True" DataSourceID="SqlDSBuildings" DataTextField="Ims_BuildingCluster" DataValueField="IMS_BuildingClusterID" AutoPostBack="true">
|
||||
<Items>
|
||||
<telerik:DropDownListItem runat="server" Text="Alle" Value="0" />
|
||||
</Items>
|
||||
</telerik:RadDropDownList>
|
||||
</div>
|
||||
|
||||
|
||||
<telerik:RadGrid ID="RadGrid1" runat="server" AutoGenerateColumns="False" DataSourceID="dsBResponsables" AllowSorting="True" AutoPostBack="true" CellSpacing="-1" GridLines="Both" OnPreRender="RadGrid1_PreRender">
|
||||
<GroupingSettings CollapseAllTooltip="Collapse all groups" CaseSensitive="False"></GroupingSettings>
|
||||
<ExportSettings ExportOnlyData="True" FileName="GebouwVerantwoordelijken" OpenInNewWindow="True">
|
||||
<Pdf PageWidth="">
|
||||
</Pdf>
|
||||
<Excel Format="Xlsx" />
|
||||
</ExportSettings>
|
||||
<MasterTableView DataKeyNames="IMS_BFRespID" DataSourceID="dsBResponsables" AllowAutomaticDeletes="True" AllowAutomaticInserts="True" AllowAutomaticUpdates="True" CommandItemDisplay="Top">
|
||||
<CommandItemSettings ShowExportToExcelButton="True" />
|
||||
<Columns>
|
||||
<telerik:GridBoundColumn DataField="IMS_BFRespID" UniqueName="IMS_BFRespID" ReadOnly="true" Visible="false" />
|
||||
<telerik:GridDropDownColumn DataField="ims_GebFunctieID" HeaderText="Functie" ListValueField="ims_GebFunctieID" UniqueName="ims_GebFunctieID" DataSourceID="SqlDSGebouwFuncties" ListTextField="ims_GebFunctieNaam" ListTextFormatString="{0}" ReadOnly="false">
|
||||
<ColumnValidationSettings>
|
||||
<ModelErrorMessage Text="" />
|
||||
</ColumnValidationSettings>
|
||||
</telerik:GridDropDownColumn>
|
||||
|
||||
<telerik:GridDropDownColumn DataField="IMS_BuildingClusterID" HeaderText="Cluster" ListValueField="IMS_BuildingClusterID" UniqueName="IMS_BuildingClusterID" DataSourceID="SqlDSBuildings" ListTextField="IMS_BuildingCluster" ListTextFormatString="{0}" ReadOnly="false">
|
||||
<ColumnValidationSettings>
|
||||
<ModelErrorMessage Text="" />
|
||||
</ColumnValidationSettings>
|
||||
</telerik:GridDropDownColumn>
|
||||
|
||||
<telerik:GridTemplateColumn DataField="persid1" FilterControlAltText="Filter column column" HeaderText="Coordinator1" UniqueName="persid1">
|
||||
<EditItemTemplate>
|
||||
<telerik:RadComboBox ID="persidRadComboBox1" runat="server" DataSourceID="SqlDSNamen" DataTextField="naam" DataValueField="persid" SelectedValue='<%# Bind("persid1") %>'>
|
||||
</telerik:RadComboBox>
|
||||
</EditItemTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:HyperLink runat="server" NavigateUrl='<%# string.Format("http://intern.sckcen.be/phonebook/fiche.asp?id={0}",Eval("persid1")) %>' Text='<%# Eval("name1") %>' />
|
||||
</ItemTemplate>
|
||||
</telerik:GridTemplateColumn>
|
||||
|
||||
<telerik:GridTemplateColumn DataField="persid2" FilterControlAltText="Filter column column" HeaderText="Coordinator 2" UniqueName="persid2">
|
||||
<EditItemTemplate>
|
||||
<telerik:RadComboBox ID="persidRadComboBox2" runat="server" DataSourceID="SqlDSNamen" DataTextField="naam" DataValueField="persid" SelectedValue='<%# Bind("persid2") %>'>
|
||||
</telerik:RadComboBox>
|
||||
</EditItemTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:HyperLink runat="server" NavigateUrl='<%# string.Format("http://intern.sckcen.be/phonebook/fiche.asp?id={0}",Eval("persid2")) %>' Text='<%# Eval("name2") %>' />
|
||||
</ItemTemplate>
|
||||
</telerik:GridTemplateColumn>
|
||||
|
||||
<telerik:GridTemplateColumn DataField="persidsec1" FilterControlAltText="Filter column column" HeaderText="Delegate 1" UniqueName="persidsec1">
|
||||
<EditItemTemplate>
|
||||
<telerik:RadComboBox ID="persidRadComboBox3" runat="server" DataSourceID="SqlDSNamen" DataTextField="naam" DataValueField="persid" SelectedValue='<%# Bind("persidsec1") %>'>
|
||||
</telerik:RadComboBox>
|
||||
</EditItemTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:HyperLink runat="server" NavigateUrl='<%# string.Format("http://intern.sckcen.be/phonebook/fiche.asp?id={0}",Eval("persidsec1")) %>' Text='<%# Eval("name3") %>' />
|
||||
</ItemTemplate>
|
||||
</telerik:GridTemplateColumn>
|
||||
|
||||
<telerik:GridTemplateColumn DataField="persidsec2" FilterControlAltText="Filter column column" HeaderText="Delegate 2" UniqueName="persidsec2">
|
||||
<EditItemTemplate>
|
||||
<telerik:RadComboBox ID="persidRadComboBox4" runat="server" DataSourceID="SqlDSNamen" DataTextField="naam" DataValueField="persid" SelectedValue='<%# Bind("persidsec2") %>'>
|
||||
</telerik:RadComboBox>
|
||||
</EditItemTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:HyperLink runat="server" NavigateUrl='<%# string.Format("http://intern.sckcen.be/phonebook/fiche.asp?id={0}",Eval("persidsec2")) %>' Text='<%# Eval("name4") %>' />
|
||||
</ItemTemplate>
|
||||
</telerik:GridTemplateColumn>
|
||||
|
||||
<telerik:GridButtonColumn CommandName="Edit" Text="Edit" ButtonCssClass="rgEdit" UniqueName="EditColumn" HeaderStyle-Width="30px">
|
||||
<HeaderStyle Width="30px"></HeaderStyle>
|
||||
</telerik:GridButtonColumn>
|
||||
|
||||
<telerik:GridButtonColumn CommandName="Delete" Text="Del" ButtonCssClass="rgDel" UniqueName="DeleteColumn" HeaderStyle-Width="30px" ConfirmText="Wil je dit wissen?" ConfirmDialogType="RadWindow" ConfirmTitle="Wissen">
|
||||
<HeaderStyle Width="30px"></HeaderStyle>
|
||||
</telerik:GridButtonColumn>
|
||||
</Columns>
|
||||
</MasterTableView>
|
||||
</telerik:RadGrid>
|
||||
<asp:SqlDataSource ID="dsBResponsables" runat="server" ConnectionString="<%$ ConnectionStrings:idpbwConnectionString %>" DeleteCommand="IMS_ClusterResponsablesDelete" DeleteCommandType="StoredProcedure" InsertCommand="IMS_ClusterResponsablesInsert" InsertCommandType="StoredProcedure" SelectCommand="IMS_ClusterResponsablesSelect" SelectCommandType="StoredProcedure" UpdateCommand="IMS_ClusterResponsablesUpdate" UpdateCommandType="StoredProcedure" CancelSelectOnNullParameter="False">
|
||||
<DeleteParameters>
|
||||
<asp:Parameter Name="IMS_BFRespID" Type="Int32" />
|
||||
</DeleteParameters>
|
||||
<InsertParameters>
|
||||
<asp:Parameter Name="IMS_BuildingClusterID" Type="Int32" />
|
||||
<asp:Parameter Name="ims_GebFunctieID" Type="Int32" />
|
||||
<asp:Parameter Name="persid1" Type="Int32" />
|
||||
<asp:Parameter Name="persid2" Type="Int32" />
|
||||
<asp:Parameter Name="persidSec1" Type="Int32" />
|
||||
<asp:Parameter Name="persidSec2" Type="Int32" />
|
||||
</InsertParameters>
|
||||
<SelectParameters>
|
||||
<asp:ControlParameter ControlID="ddBuildings" Name="IMS_BuildingClusterID" PropertyName="SelectedValue" Type="Int32" />
|
||||
<asp:ControlParameter ControlID="ddFuncties" Name="ims_GebFunctieID" PropertyName="SelectedValue" Type="Int32" />
|
||||
</SelectParameters>
|
||||
<UpdateParameters>
|
||||
<asp:Parameter Name="IMS_BFRespID" Type="Int32" />
|
||||
<asp:Parameter Name="IMS_BuildingClusterID" Type="Int32" />
|
||||
<asp:Parameter Name="ims_GebFunctieID" Type="Int32" />
|
||||
<asp:Parameter Name="persid1" Type="Int32" />
|
||||
<asp:Parameter Name="persid2" Type="Int32" />
|
||||
<asp:Parameter Name="persidSec1" Type="Int32" />
|
||||
<asp:Parameter Name="persidSec2" Type="Int32" />
|
||||
</UpdateParameters>
|
||||
</asp:SqlDataSource>
|
||||
<asp:SqlDataSource ID="SqlDSBuildings" runat="server" ConnectionString="<%$ ConnectionStrings:idpbwConnectionString %>"
|
||||
SelectCommand="ims_BuildingClustersList" SelectCommandType="StoredProcedure"></asp:SqlDataSource>
|
||||
<asp:SqlDataSource ID="SqlDSGebouwFuncties" runat="server" ConnectionString="<%$ ConnectionStrings:idpbwConnectionString %>"
|
||||
SelectCommand="Ims_GebFunctiesList" SelectCommandType="StoredProcedure"></asp:SqlDataSource>
|
||||
<asp:SqlDataSource ID="SqlDSNamen" runat="server" ConnectionString="<%$ ConnectionStrings:idpbwConnectionString %>"
|
||||
SelectCommand="getLijstNamen" SelectCommandType="StoredProcedure"></asp:SqlDataSource>
|
||||
</asp:Content>
|
||||
52
safety/GebVW/IMS_BuildingResponsable.aspx.cs
Normal file
52
safety/GebVW/IMS_BuildingResponsable.aspx.cs
Normal file
|
|
@ -0,0 +1,52 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using Telerik.Web.UI;
|
||||
|
||||
namespace safety.GebVW
|
||||
{
|
||||
public partial class IMS_BuildingResponsable : System.Web.UI.Page
|
||||
{
|
||||
bool mayUpdate = false;
|
||||
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
General.setTitle(Master, "Cluster verantwoordelijken");
|
||||
using (System.Data.SqlClient.SqlConnection cn = new System.Data.SqlClient.SqlConnection(System.Configuration.ConfigurationManager.ConnectionStrings["idpbwConnectionString"].ConnectionString))
|
||||
{
|
||||
System.Data.SqlClient.SqlCommand cm = new System.Data.SqlClient.SqlCommand("select execperm=convert(bit,HAS_PERMS_BY_NAME('dbo.IMS_ClusterResponsablesUpdate', 'OBJECT', 'EXECUTE'))", cn);
|
||||
cm.CommandType = System.Data.CommandType.Text;
|
||||
cn.Open();
|
||||
mayUpdate = (bool)cm.ExecuteScalar();
|
||||
cn.Close();
|
||||
}
|
||||
}
|
||||
|
||||
protected void ddFuncties_DataBound(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
protected void RadGrid1_PreRender(object sender, EventArgs e)
|
||||
{
|
||||
if (!mayUpdate)
|
||||
{
|
||||
|
||||
|
||||
//RadGrid1.MasterTableView.GetColumn("EditColumn").Display = false;
|
||||
|
||||
//foreach (GridDataItem dataItem in RadGrid1.MasterTableView.Items)
|
||||
// {
|
||||
// ((LinkButton)dataItem["EditColumn"].Controls[0]).Enabled = false;
|
||||
// ((LinkButton)dataItem["EditColumn"].Controls[0]).Visible = false;
|
||||
// GridCommandItem cmdItem = (GridCommandItem)RadGrid1.MasterTableView.GetItems(GridItemType.CommandItem)[0];
|
||||
// //((LinkButton)cmdItem.FindControl("InitInsertButton")).Visible = false;
|
||||
// //((Button)cmdItem.FindControl("AddNewRecordButton")).Visible = false;
|
||||
// }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
78
safety/GebVW/IMS_BuildingResponsable.aspx.designer.cs
generated
Normal file
78
safety/GebVW/IMS_BuildingResponsable.aspx.designer.cs
generated
Normal file
|
|
@ -0,0 +1,78 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace safety.GebVW {
|
||||
|
||||
|
||||
public partial class IMS_BuildingResponsable {
|
||||
|
||||
/// <summary>
|
||||
/// ddFuncties control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::Telerik.Web.UI.RadDropDownList ddFuncties;
|
||||
|
||||
/// <summary>
|
||||
/// ddBuildings control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::Telerik.Web.UI.RadDropDownList ddBuildings;
|
||||
|
||||
/// <summary>
|
||||
/// RadGrid1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::Telerik.Web.UI.RadGrid RadGrid1;
|
||||
|
||||
/// <summary>
|
||||
/// dsBResponsables control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.SqlDataSource dsBResponsables;
|
||||
|
||||
/// <summary>
|
||||
/// SqlDSBuildings control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.SqlDataSource SqlDSBuildings;
|
||||
|
||||
/// <summary>
|
||||
/// SqlDSGebouwFuncties control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.SqlDataSource SqlDSGebouwFuncties;
|
||||
|
||||
/// <summary>
|
||||
/// SqlDSNamen control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.SqlDataSource SqlDSNamen;
|
||||
}
|
||||
}
|
||||
46
safety/GebVW/IMS_Buildings.aspx
Normal file
46
safety/GebVW/IMS_Buildings.aspx
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
<%@ Page Title="" Language="C#" MasterPageFile="~/Siten.master" AutoEventWireup="true" CodeBehind="IMS_Buildings.aspx.cs" Inherits="safety.GebVW.IMS_Buildings" MaintainScrollPositionOnPostback="true" %>
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
|
||||
<telerik:RadGrid ID="RadGrid1" runat="server" CellSpacing="-1" GridLines="Both" AutoGenerateColumns="False" DataSourceID="SqlDataSource1" AllowAutomaticInserts="True" AllowAutomaticUpdates="True" AllowSorting="True" >
|
||||
<GroupingSettings CollapseAllTooltip="Collapse all groups" CaseSensitive="False"></GroupingSettings>
|
||||
<ExportSettings ExportOnlyData="True" HideStructureColumns="True" OpenInNewWindow="True">
|
||||
<Excel FileExtension="xlsx" Format="Xlsx" />
|
||||
</ExportSettings>
|
||||
<MasterTableView CommandItemDisplay="Top" DataKeyNames="IMS_BuildingID" DataSourceID="SqlDataSource1">
|
||||
<CommandItemSettings ShowExportToExcelButton="True" />
|
||||
<Columns>
|
||||
<telerik:GridBoundColumn DataField="IMS_BuildingID" DataType="System.Int32" FilterControlAltText="Filter ImsBuildingID column" HeaderText="ID" ReadOnly="True" SortExpression="IMS_BuildingID" UniqueName="IMS_BuildingID">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="IMS_BuildingCode" FilterControlAltText="Filter ImsBuildingCode column" HeaderText="Code" SortExpression="IMS_BuildingCode" UniqueName="IMS_BuildingCode">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="IMS_BuildingName" FilterControlAltText="Filter ImsBuildingName column" HeaderText="Naam" SortExpression="IMS_BuildingName" UniqueName="IMS_BuildingName">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="CTSBuildingID" DataType="System.Int32" FilterControlAltText="Filter CTSBuildingID column" HeaderText="CTS nr" SortExpression="CTSBuildingID" UniqueName="CTSBuildingID">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridDropDownColumn DataField="IMS_BuildingClusterID" DataSourceID="SqlDataSource2" FilterControlAltText="Filter column column" HeaderText="Cluster" ListTextField="IMS_BuildingCluster" ListValueField="IMS_BuildingClusterID" UniqueName="IMS_BuildingClusterID">
|
||||
</telerik:GridDropDownColumn>
|
||||
<telerik:GridBoundColumn DataField="beheerder" FilterControlAltText="Filter beheerder column" HeaderText="Beheerder" SortExpression="beheerder" UniqueName="beheerder" ReadOnly="True">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridButtonColumn CommandName="Edit" Text="Edit" ButtonCssClass="rgEdit" UniqueName="EditColumn" HeaderStyle-Width="30px">
|
||||
<HeaderStyle Width="30px"></HeaderStyle>
|
||||
</telerik:GridButtonColumn>
|
||||
|
||||
</Columns>
|
||||
</MasterTableView>
|
||||
</telerik:RadGrid>
|
||||
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:idpbwConnectionString %>" SelectCommand="ims_BuildingsSelect" SelectCommandType="StoredProcedure" InsertCommand="ims_BuildingsInsert" InsertCommandType="StoredProcedure" UpdateCommand="ims_BuildingsUpdate" UpdateCommandType="StoredProcedure">
|
||||
<InsertParameters>
|
||||
<asp:Parameter Name="IMS_BuildingCode" Type="String" />
|
||||
<asp:Parameter Name="IMS_BuildingName" Type="String" />
|
||||
<asp:Parameter Name="CTSBuildingID" Type="Int32" />
|
||||
<asp:Parameter Name="IMS_BuildingClusterID" Type="Int32" />
|
||||
</InsertParameters>
|
||||
<UpdateParameters>
|
||||
<asp:Parameter Name="IMS_BuildingID" Type="Int32" />
|
||||
<asp:Parameter Name="IMS_BuildingCode" Type="String" />
|
||||
<asp:Parameter Name="IMS_BuildingName" Type="String" />
|
||||
<asp:Parameter Name="CTSBuildingID" Type="Int32" />
|
||||
<asp:Parameter Name="IMS_BuildingClusterID" Type="Int32" />
|
||||
</UpdateParameters>
|
||||
</asp:SqlDataSource>
|
||||
<asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="<%$ ConnectionStrings:idpbwConnectionString %>" SelectCommand="IMS_BuildingClustersList" SelectCommandType="StoredProcedure"></asp:SqlDataSource>
|
||||
</asp:Content>
|
||||
17
safety/GebVW/IMS_Buildings.aspx.cs
Normal file
17
safety/GebVW/IMS_Buildings.aspx.cs
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace safety.GebVW
|
||||
{
|
||||
public partial class IMS_Buildings : System.Web.UI.Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
General.setTitle(Master, "Gebouwen");
|
||||
}
|
||||
}
|
||||
}
|
||||
42
safety/GebVW/IMS_Buildings.aspx.designer.cs
generated
Normal file
42
safety/GebVW/IMS_Buildings.aspx.designer.cs
generated
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace safety.GebVW {
|
||||
|
||||
|
||||
public partial class IMS_Buildings {
|
||||
|
||||
/// <summary>
|
||||
/// RadGrid1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::Telerik.Web.UI.RadGrid RadGrid1;
|
||||
|
||||
/// <summary>
|
||||
/// SqlDataSource1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.SqlDataSource SqlDataSource1;
|
||||
|
||||
/// <summary>
|
||||
/// SqlDataSource2 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.SqlDataSource SqlDataSource2;
|
||||
}
|
||||
}
|
||||
63
safety/GebVW/IMS_GebouwFuncties.aspx
Normal file
63
safety/GebVW/IMS_GebouwFuncties.aspx
Normal file
|
|
@ -0,0 +1,63 @@
|
|||
<%@ Page Title="" Language="C#" MasterPageFile="~/Siten.master" AutoEventWireup="true" CodeBehind="IMS_GebouwFuncties.aspx.cs" Inherits="safety.GebVW.IMS_GebouwFuncties" MaintainScrollPositionOnPostback="true" %>
|
||||
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
|
||||
<telerik:RadGrid ID="RadGrid1" runat="server" CellSpacing="-1" GridLines="Both" DataSourceID="SqlDataSource1" AllowAutomaticInserts="True" AllowAutomaticUpdates="True" AllowSorting="True">
|
||||
<GroupingSettings CollapseAllTooltip="Collapse all groups" CaseSensitive="False"></GroupingSettings>
|
||||
<ExportSettings ExportOnlyData="True" OpenInNewWindow="True">
|
||||
<Excel FileExtension="xlsx" Format="Xlsx" />
|
||||
</ExportSettings>
|
||||
|
||||
<MasterTableView DataSourceID="SqlDataSource1" AutoGenerateColumns="False" DataKeyNames="ims_GebFunctieID">
|
||||
<CommandItemSettings ShowExportToExcelButton="True" />
|
||||
<Columns>
|
||||
<telerik:GridBoundColumn DataField="ims_GebFunctieID" FilterControlAltText="Filter ims_GebFunctie column" HeaderText="ID" SortExpression="ims_GebFunctieID" UniqueName="ims_GebFunctieID">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="ims_GebFunctie" FilterControlAltText="Filter ims_GebFunctie column" HeaderText="Code" SortExpression="ims_GebFunctie" UniqueName="ims_GebFunctie">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="ims_GebFunctieNaam" FilterControlAltText="Filter ims_GebFunctieNaam column" HeaderText="Coord.Type" SortExpression="ims_GebFunctieNaam" UniqueName="ims_GebFunctieNaam">
|
||||
</telerik:GridBoundColumn>
|
||||
|
||||
<telerik:GridTemplateColumn DataField="EigenaarID" FilterControlAltText="Filter column column" HeaderText="Eigenaar" UniqueName="EigenaarID">
|
||||
<EditItemTemplate>
|
||||
<telerik:RadComboBox ID="persidRadComboBox" runat="server" DataSourceID="SqlDSNamen" DataTextField="naam" DataValueField="persid" SelectedValue='<%# Bind("EigenaarID") %>'>
|
||||
</telerik:RadComboBox>
|
||||
</EditItemTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:HyperLink runat="server" NavigateUrl='<%# string.Format("http://intern.sckcen.be/phonebook/fiche.asp?id={0}",Eval("EigenaarID")) %>' Text='<%# Eval("Eigenaar") %>' />
|
||||
</ItemTemplate>
|
||||
</telerik:GridTemplateColumn>
|
||||
|
||||
<telerik:GridBoundColumn DataField="volgorde" DataType="System.Byte" FilterControlAltText="Filter volgorde column" HeaderText="Volgorde" SortExpression="volgorde" UniqueName="volgorde">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridCheckBoxColumn DataField="visible" DataType="System.Boolean" FilterControlAltText="Filter visible column" HeaderText="Zichtbaar" SortExpression="visible" UniqueName="visible">
|
||||
</telerik:GridCheckBoxColumn>
|
||||
|
||||
|
||||
<telerik:GridButtonColumn CommandName="Edit" Text="Edit" ButtonCssClass="rgEdit" UniqueName="EditColumn" HeaderStyle-Width="30px">
|
||||
<HeaderStyle Width="30px"></HeaderStyle>
|
||||
</telerik:GridButtonColumn>
|
||||
|
||||
</Columns>
|
||||
</MasterTableView>
|
||||
</telerik:RadGrid>
|
||||
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:idpbwConnectionString %>" SelectCommand="ims_GebfunctiesSelect" SelectCommandType="StoredProcedure" InsertCommand="ims_GebfunctiesInsert" InsertCommandType="StoredProcedure" UpdateCommand="ims_GebfunctiesUpdate" UpdateCommandType="StoredProcedure">
|
||||
<InsertParameters>
|
||||
<asp:Parameter Name="ims_GebFunctie" Type="String" />
|
||||
<asp:Parameter Name="ims_GebFunctieNaam" Type="String" />
|
||||
<asp:Parameter Name="volgorde" Type="Byte" />
|
||||
<asp:Parameter Name="visible" Type="Boolean" />
|
||||
<asp:Parameter Name="EigenaarID" Type="Int32" />
|
||||
</InsertParameters>
|
||||
<UpdateParameters>
|
||||
<asp:Parameter Name="ims_GebFunctieID" Type="Int32" />
|
||||
<asp:Parameter Name="ims_GebFunctie" Type="String" />
|
||||
<asp:Parameter Name="ims_GebFunctieNaam" Type="String" />
|
||||
<asp:Parameter Name="volgorde" Type="Byte" />
|
||||
<asp:Parameter Name="visible" Type="Boolean" />
|
||||
<asp:Parameter Name="EigenaarID" Type="Int32" />
|
||||
</UpdateParameters>
|
||||
</asp:SqlDataSource>
|
||||
<br />
|
||||
<asp:SqlDataSource ID="SqlDSNamen" runat="server" ConnectionString="<%$ ConnectionStrings:idpbwConnectionString %>"
|
||||
SelectCommand="getLijstNamen" SelectCommandType="StoredProcedure"></asp:SqlDataSource>
|
||||
</asp:Content>
|
||||
17
safety/GebVW/IMS_GebouwFuncties.aspx.cs
Normal file
17
safety/GebVW/IMS_GebouwFuncties.aspx.cs
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace safety.GebVW
|
||||
{
|
||||
public partial class IMS_GebouwFuncties : System.Web.UI.Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
General.setTitle(Master, "Gebouw coordinator types");
|
||||
}
|
||||
}
|
||||
}
|
||||
42
safety/GebVW/IMS_GebouwFuncties.aspx.designer.cs
generated
Normal file
42
safety/GebVW/IMS_GebouwFuncties.aspx.designer.cs
generated
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace safety.GebVW {
|
||||
|
||||
|
||||
public partial class IMS_GebouwFuncties {
|
||||
|
||||
/// <summary>
|
||||
/// RadGrid1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::Telerik.Web.UI.RadGrid RadGrid1;
|
||||
|
||||
/// <summary>
|
||||
/// SqlDataSource1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.SqlDataSource SqlDataSource1;
|
||||
|
||||
/// <summary>
|
||||
/// SqlDSNamen control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.SqlDataSource SqlDSNamen;
|
||||
}
|
||||
}
|
||||
623
safety/HPHApprove.aspx
Normal file
623
safety/HPHApprove.aspx
Normal file
|
|
@ -0,0 +1,623 @@
|
|||
<%@ Page Title="HPH Approve" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeBehind="HPHApprove.aspx.cs" Inherits="safety.HPHApprove" %>
|
||||
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
|
||||
<div style="width: 65%; float: left">
|
||||
<telerik:RadDataForm ID="RadDataForm1" runat="server" CssClass="rdfLeftAligned rdfNoFieldHint" DataKeyNames="ID" DataSourceID="SqlDataSource1" RenderMode="Lightweight" OnItemCommand="RadDataForm1_ItemCommand" OnNeedDataSource="RadDataForm1_NeedDataSource" Width="100%">
|
||||
<LayoutTemplate>
|
||||
<div class="RadDataForm RadDataForm_<%# Container.Skin %> rdfLeftAligned rdfNoFieldHint">
|
||||
<div id="itemPlaceholder" runat="server">
|
||||
</div>
|
||||
<div style="display: none">
|
||||
<telerik:RadCalendar ID="rdfSharedCalendar" runat="server" RangeMinDate="<%#new DateTime(1900, 1, 1) %>" RenderMode="Lightweight" Skin="<%#Container.Skin %>" />
|
||||
</div>
|
||||
<div style="display: none">
|
||||
<telerik:RadTimeView ID="rdfSharedTimeView" runat="server" RenderMode="Lightweight" Skin="<%# Container.Skin %>" />
|
||||
</div>
|
||||
</div>
|
||||
</LayoutTemplate>
|
||||
<ItemTemplate >
|
||||
<fieldset class="rdfFieldset rdfBorders" >
|
||||
<legend class="rdfLegend">View</legend>
|
||||
<table width="100%">
|
||||
<tr>
|
||||
<td colspan="6">
|
||||
<fieldset>
|
||||
<table>
|
||||
<tr>
|
||||
<th style="text-align:left;">
|
||||
<asp:Label ID="IDLabel2" runat="server" CssClass="rdfLabel" Text="RF"></asp:Label>
|
||||
</th>
|
||||
<td>
|
||||
<asp:Label ID="IDLabel1" runat="server" CssClass="rdfFieldValue" Text='<%# Eval("ID") %>' />
|
||||
</td>
|
||||
<th>
|
||||
<asp:Label ID="startLabel2" runat="server" CssClass="rdfLabel" Text="start"></asp:Label>
|
||||
</th>
|
||||
<td>
|
||||
<asp:Label ID="startLabel1" runat="server" CssClass="rdfFieldValue" Text='<%# Eval("start","{0:yyyy-MM-dd}") %>' />
|
||||
</td>
|
||||
<th>
|
||||
<asp:Label ID="eindeLabel2" runat="server" CssClass="rdfLabel" Text="einde"></asp:Label>
|
||||
</th>
|
||||
<td>
|
||||
<asp:Label ID="eindeLabel1" runat="server" CssClass="rdfFieldValue" Text='<%# Eval("einde","{0:yyyy-MM-dd}") %>' />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>
|
||||
<asp:Label ID="persidLabel2" runat="server" CssClass="rdfLabel" Text="persid"></asp:Label>
|
||||
</th>
|
||||
<td>
|
||||
<asp:Label ID="persidLabel1" runat="server" CssClass="rdfFieldValue" Text='<%# Eval("persid") %>' />
|
||||
</td>
|
||||
<th>
|
||||
<asp:Label ID="nameLabel2" runat="server" CssClass="rdfLabel" Text="name"></asp:Label>
|
||||
</th>
|
||||
<td>
|
||||
<asp:Label ID="nameLabel1" runat="server" CssClass="rdfFieldValue" Text='<%# Eval("name") %>' />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>
|
||||
<asp:Label ID="companynameLabel2" runat="server" CssClass="rdfLabel" Text="companyname"></asp:Label>
|
||||
</th>
|
||||
<td>
|
||||
<asp:Label ID="companynameLabel1" runat="server" CssClass="rdfFieldValue" Text='<%# Eval("companyname") %>' />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</fieldset>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="6">
|
||||
<fieldset>
|
||||
<table>
|
||||
<tr style="background-color: lightgray">
|
||||
<th>
|
||||
<asp:Label ID="Label26" runat="server" CssClass="rdfLabel" Text=""></asp:Label>
|
||||
</th>
|
||||
<th>
|
||||
<asp:Label ID="wbcLabel2" runat="server" CssClass="rdfLabel" Text="wbc"></asp:Label>
|
||||
</th>
|
||||
<th>
|
||||
<asp:Label ID="lungLabel2" runat="server" CssClass="rdfLabel" Text="lung"></asp:Label>
|
||||
</th>
|
||||
<th>
|
||||
<asp:Label ID="thyLabel2" runat="server" CssClass="rdfLabel" Text="thy"></asp:Label>
|
||||
</th>
|
||||
<th>
|
||||
<asp:Label ID="PuLabel2" runat="server" CssClass="rdfLabel" Text="Pu"></asp:Label>
|
||||
</th>
|
||||
<th>
|
||||
<asp:Label ID="AmLabel2" runat="server" CssClass="rdfLabel" Text="Am"></asp:Label>
|
||||
</th>
|
||||
<th>
|
||||
<asp:Label ID="ULabel2" runat="server" CssClass="rdfLabel" Text="U"></asp:Label>
|
||||
</th>
|
||||
<th>
|
||||
<asp:Label ID="TrLabel2" runat="server" CssClass="rdfLabel" Text="Tr"></asp:Label>
|
||||
</th>
|
||||
<th>
|
||||
<asp:Label ID="PoLabel2" runat="server" CssClass="rdfLabel" Text="Po"></asp:Label>
|
||||
</th>
|
||||
<th>
|
||||
<asp:Label ID="otherLabel2" runat="server" CssClass="rdfLabel" Text="other"></asp:Label>
|
||||
</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>
|
||||
<asp:Label ID="Label27" runat="server" CssClass="rdfFieldValue" Text="Manual" />
|
||||
</th>
|
||||
<td>
|
||||
<asp:Label ID="wbcLabel1" runat="server" CssClass="rdfFieldValue" Text='<%# Eval("wbc") %>' />
|
||||
</td>
|
||||
<td>
|
||||
<asp:Label ID="lungLabel1" runat="server" CssClass="rdfFieldValue" Text='<%# Eval("lung") %>' />
|
||||
</td>
|
||||
<td>
|
||||
<asp:Label ID="thyLabel1" runat="server" CssClass="rdfFieldValue" Text='<%# Eval("thy") %>' />
|
||||
</td>
|
||||
<td>
|
||||
<asp:Label ID="PuLabel1" runat="server" CssClass="rdfFieldValue" Text='<%# Eval("Pu") %>' />
|
||||
</td>
|
||||
<td>
|
||||
<asp:Label ID="AmLabel1" runat="server" CssClass="rdfFieldValue" Text='<%# Eval("Am") %>' />
|
||||
</td>
|
||||
<td>
|
||||
<asp:Label ID="ULabel1" runat="server" CssClass="rdfFieldValue" Text='<%# Eval("U") %>' />
|
||||
</td>
|
||||
<td>
|
||||
<asp:Label ID="TrLabel1" runat="server" CssClass="rdfFieldValue" Text='<%# Eval("Tr") %>' />
|
||||
</td>
|
||||
<td>
|
||||
<asp:Label ID="PoLabel1" runat="server" CssClass="rdfFieldValue" Text='<%# Eval("Po") %>' />
|
||||
</td>
|
||||
<td>
|
||||
<asp:Label ID="otherLabel1" runat="server" CssClass="rdfFieldValue" Text='<%# Eval("other") %>' />
|
||||
</td>
|
||||
</tr>
|
||||
<tr style="color: gray; font-style: oblique;">
|
||||
<th>
|
||||
<asp:Label ID="Label28" runat="server" CssClass="rdfFieldValue" Text="Grid" />
|
||||
</th>
|
||||
|
||||
<td>
|
||||
<asp:Label ID="Label1" runat="server" CssClass="rdfFieldValue" Text='<%# Eval("wbcOr") %>' />
|
||||
</td>
|
||||
<td>
|
||||
<asp:Label ID="Label2" runat="server" CssClass="rdfFieldValue" Text='<%# Eval("lungOr") %>' />
|
||||
</td>
|
||||
<td>
|
||||
<asp:Label ID="Label3" runat="server" CssClass="rdfFieldValue" Text='<%# Eval("thyOr") %>' />
|
||||
</td>
|
||||
<td>
|
||||
<asp:Label ID="Label4" runat="server" CssClass="rdfFieldValue" Text='<%# Eval("PuOr") %>' />
|
||||
</td>
|
||||
<td>
|
||||
<asp:Label ID="Label5" runat="server" CssClass="rdfFieldValue" Text='<%# Eval("AmOr") %>' />
|
||||
</td>
|
||||
<td>
|
||||
<asp:Label ID="Label6" runat="server" CssClass="rdfFieldValue" Text='<%# Eval("UOr") %>' />
|
||||
</td>
|
||||
<td>
|
||||
<asp:Label ID="Label7" runat="server" CssClass="rdfFieldValue" Text='<%# Eval("TrOr") %>' />
|
||||
</td>
|
||||
<td>
|
||||
<asp:Label ID="Label8" runat="server" CssClass="rdfFieldValue" Text='<%# Eval("PoOr") %>' />
|
||||
</td>
|
||||
<td>
|
||||
<asp:Label ID="Label9" runat="server" CssClass="rdfFieldValue" Text='<%# Eval("otherOr") %>' />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table><br />
|
||||
<asp:label ID="Label30" runat="server" Text="Opmerking" AssociatedControlID="tOpmerking" /><br />
|
||||
<asp:TextBox ID="tOpmerking" runat="server" Width="100%" Text='<%# Eval("Remark") %>' AutoPostBack="False" ReadOnly="true"/>
|
||||
|
||||
|
||||
<asp:label ID="Label31" runat="server" Text="Opmerking Agamas" AssociatedControlID="bOpmerking" /><br />
|
||||
<asp:TextBox ID="bOpmerking" runat="server" Width="100%" Text='<%# Eval("bRemark") %>' AutoPostBack="False"/>
|
||||
|
||||
|
||||
<asp:label ID="Label32" runat="server" Text="Opmerking LRM" AssociatedControlID="uOpmerking" /><br />
|
||||
<asp:TextBox ID="uOpmerking" runat="server" Width="100%" Text='<%# Eval("uRemark") %>' AutoPostBack="False"/>
|
||||
</fieldset>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="6">
|
||||
<hr />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="6">
|
||||
<fieldset>
|
||||
<asp:label ID="li_163" runat="server" Text="Andere isotopen" AssociatedControlID="tb_163" /><br />
|
||||
<asp:TextBox ID="tb_163" runat="server" Width="100%" Text='<%# Eval("Isotopes") %>' AutoPostBack="False"/>
|
||||
<asp:Checkbox ID="otherReasonCheckBox" runat="server" Checked='<%# BoolNullIsFalse(Eval("otherReason")) %>' Enabled="false" Text="Zijn er andere redenen" TextAlign="Right" /><br />
|
||||
<asp:Checkbox ID="cb_165" runat="server" Text="Geen inwendig onderzoek noodzakelijk" Checked='<%# BoolNullIsFalse(Eval("NoInternal")) %>' AutoPostBack="False" TextAlign="Right" />
|
||||
<telerik:RadTextBox ID="tb_165" runat="server" Label="Reden" Text='<%# Eval("ReasonNoIn") %>' LabelCssClass="RedenRed" TextMode="MultiLine" Width="100%" LabelWidth="25%" AutoPostBack="False" />
|
||||
|
||||
</fieldset>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="6">
|
||||
<fieldset>
|
||||
<asp:CheckBox runat="server" Text="Werkt met handshoenkast" TextAlign="Right" Checked='<%# Eval("Handschoenkast") %>' /><br />
|
||||
<asp:CheckBox runat="server" Text="Risico 1mSv/maand" TextAlign="Right" Checked='<%# Eval("1mSv") %>' /><br />
|
||||
<asp:CheckBox runat="server" Text="Meer dan 10x/jaar in zone" TextAlign="Right" Checked='<%# Eval("10Times") %>' /><br />
|
||||
<asp:Label runat="server" Text="Nrs van de labo's waar de persoon zal werken" AssociatedControlID="tb_159" /></label><br />
|
||||
<asp:TextBox ID="tb_159" runat="server" Text='<%# Eval("Labs") %>' Width="100%" Resize="Both" AutoPostBack="False" /><br />
|
||||
<asp:label ID="Literal4" runat="server" Text="Aard van het uit te voeren werk" AssociatedControlID="tb_160" /><br />
|
||||
<asp:TextBox ID="tb_160" runat="server" Text='<%# Eval("extraWerk") %>' Width="100%" AutoPostBack="False" /><br />
|
||||
<asp:Label ID="Literal5" runat="server" Text="Aard en activiteitsniveau van de gewoonlijk behandelde radioactieve producten" AssociatedControlID="tb_161" /><br />
|
||||
<asp:TextBox ID="tb_161" runat="server" Text='<%# Eval("rProduct") %>' Width="100%" AutoPostBack="False" /><br />
|
||||
</fieldset>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="6">
|
||||
<fieldset>
|
||||
<table>
|
||||
<tr>
|
||||
<th style="text-align: left;">
|
||||
<asp:Label ID="changedLabel2" runat="server" AssociatedControlID="changedLabel1" CssClass="rdfLabel" Text="Changed on"></asp:Label>
|
||||
</th>
|
||||
<td>
|
||||
<asp:Label ID="changedLabel1" runat="server" CssClass="rdfFieldValue" Text='<%# Eval("changed") %>' />
|
||||
</td>
|
||||
<th style="text-align: left;">
|
||||
<asp:Label ID="OverrideLabel2" runat="server" AssociatedControlID="OverrideCheckBox" Text="Override"></asp:Label>
|
||||
</th>
|
||||
<td>
|
||||
<asp:CheckBox ID="OverrideCheckBox" runat="server" Checked='<%# BoolNullIsFalse(Eval("Override")) %>' Enabled="false" />
|
||||
</td>
|
||||
<th style="text-align: left;">
|
||||
<asp:Label ID="DeniedLabel2" runat="server" AssociatedControlID="DeniedCheckBox" Text="Denied"></asp:Label>
|
||||
</th>
|
||||
<td>
|
||||
<asp:CheckBox ID="DeniedCheckBox" runat="server" Checked='<%# BoolNullIsFalse(Eval("Denied")) %>' Enabled="false" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th style="text-align: left;">
|
||||
<asp:Label ID="HphCheckedLabel2" runat="server" AssociatedControlID="HphCheckedLabel1" Text="Hph Checked"></asp:Label>
|
||||
</th>
|
||||
<td>
|
||||
<asp:Label ID="HphCheckedLabel1" runat="server" CssClass="rdfFieldValue" Text='<%# Eval("HphChecked","{0:yyyy-MM-dd}") %>' />
|
||||
</td>
|
||||
<th style="text-align: left;">
|
||||
<asp:Label ID="HphCheckedByLabel2" runat="server" AssociatedControlID="HphCheckedByLabel1" Text="By"></asp:Label>
|
||||
</th>
|
||||
<td>
|
||||
<asp:Label ID="HphCheckedByLabel1" runat="server" CssClass="rdfFieldValue" Text='<%# Eval("HphCheckedBy") %>' />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</fieldset>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br />
|
||||
<hr />
|
||||
<div class="rdfCommandButtons">
|
||||
<telerik:RadButton ID="EditButton" runat="server" ButtonType="SkinnedButton" CausesValidation="False" CommandName="Edit" RenderMode="Lightweight" Text="Edit" ToolTip="Edit" />
|
||||
</div>
|
||||
</fieldset>
|
||||
</ItemTemplate>
|
||||
<EditItemTemplate>
|
||||
<fieldset class="rdfFieldset rdfBorders">
|
||||
<legend class="rdfLegend">Edit</legend>
|
||||
<table width="100%">
|
||||
<tr>
|
||||
<td colspan="6">
|
||||
<fieldset>
|
||||
<table>
|
||||
<tr>
|
||||
<th>
|
||||
<asp:Label ID="Label10" runat="server" CssClass="rdfLabel" Text="ID"></asp:Label>
|
||||
</th>
|
||||
<td>
|
||||
<asp:Label ID="Label11" runat="server" CssClass="rdfFieldValue" Text='<%# Eval("ID") %>' />
|
||||
</td>
|
||||
<th>
|
||||
<asp:Label ID="Label12" runat="server" CssClass="rdfLabel" Text="start"></asp:Label>
|
||||
</th>
|
||||
<td>
|
||||
<asp:Label ID="startLabel1" runat="server" CssClass="rdfFieldValue" Text='<%# Eval("start","{0:yyyy-MM-dd}") %>' />
|
||||
</td>
|
||||
<th>
|
||||
<asp:Label ID="Label13" runat="server" CssClass="rdfLabel" Text="einde"></asp:Label>
|
||||
|
||||
</th>
|
||||
<td>
|
||||
<asp:Label ID="eindeLabel1" runat="server" CssClass="rdfFieldValue" Text='<%# Eval("einde","{0:yyyy-MM-dd}") %>' />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>
|
||||
<asp:Label ID="Label14" runat="server" CssClass="rdfLabel" Text="persid"></asp:Label>
|
||||
</th>
|
||||
<td>
|
||||
<asp:Label ID="persidLabel1" runat="server" CssClass="rdfFieldValue" Text='<%# Eval("persid") %>' />
|
||||
</td>
|
||||
<th>
|
||||
<asp:Label ID="Label15" runat="server" CssClass="rdfLabel" Text="name"></asp:Label>
|
||||
</th>
|
||||
<td>
|
||||
<asp:Label ID="nameLabel1" runat="server" CssClass="rdfFieldValue" Text='<%# Eval("name") %>' />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>
|
||||
<asp:Label ID="Label16" runat="server" CssClass="rdfLabel" Text="companyname"></asp:Label>
|
||||
</th>
|
||||
<td>
|
||||
<asp:Label ID="companynameLabel1" runat="server" CssClass="rdfFieldValue" Text='<%# Eval("companyname") %>' />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</fieldset>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="6">
|
||||
<fieldset>
|
||||
<table>
|
||||
<tr style="background-color: lightgray;">
|
||||
<th></th>
|
||||
<th>
|
||||
<asp:Label ID="Label17" runat="server" CssClass="rdfLabel" Text="wbc"></asp:Label>
|
||||
</th>
|
||||
<th>
|
||||
<asp:Label ID="Label18" runat="server" CssClass="rdfLabel" Text="lung"></asp:Label>
|
||||
</th>
|
||||
<th>
|
||||
<asp:Label ID="Label19" runat="server" CssClass="rdfLabel" Text="thy"></asp:Label>
|
||||
</th>
|
||||
<th>
|
||||
<asp:Label ID="Label20" runat="server" CssClass="rdfLabel" Text="Pu"></asp:Label>
|
||||
</th>
|
||||
<th>
|
||||
<asp:Label ID="Label21" runat="server" CssClass="rdfLabel" Text="Am"></asp:Label>
|
||||
</th>
|
||||
<th>
|
||||
<asp:Label ID="Label22" runat="server" CssClass="rdfLabel" Text="U"></asp:Label>
|
||||
</th>
|
||||
<th>
|
||||
<asp:Label ID="Label23" runat="server" CssClass="rdfLabel" Text="Tr"></asp:Label>
|
||||
</th>
|
||||
<th>
|
||||
<asp:Label ID="Label24" runat="server" CssClass="rdfLabel" Text="Po"></asp:Label>
|
||||
</th>
|
||||
<th>
|
||||
<asp:Label ID="Label25" runat="server" CssClass="rdfLabel" Text="other"></asp:Label>
|
||||
</th>
|
||||
</tr>
|
||||
<tr>
|
||||
|
||||
<th>
|
||||
<asp:Label ID="Label29" runat="server" CssClass="rdfFieldValue" Text="Manual" />
|
||||
</th>
|
||||
|
||||
|
||||
<td>
|
||||
<telerik:RadNumericTextBox ID="wbcTextBox" runat="server" DataType="Byte" DbValue='<%# Bind("wbc") %>' NumberFormat-DecimalDigits="0" RenderMode="Lightweight" Skin="<%#Container.OwnerDataForm.Skin %>" WrapperCssClass="rdfInput" />
|
||||
</td>
|
||||
<td>
|
||||
<telerik:RadNumericTextBox ID="lungTextBox" runat="server" DataType="Byte" DbValue='<%# Bind("lung") %>' NumberFormat-DecimalDigits="0" RenderMode="Lightweight" Skin="<%#Container.OwnerDataForm.Skin %>" WrapperCssClass="rdfInput" />
|
||||
</td>
|
||||
<td>
|
||||
<telerik:RadNumericTextBox ID="thyTextBox" runat="server" DataType="Byte" DbValue='<%# Bind("thy") %>' NumberFormat-DecimalDigits="0" RenderMode="Lightweight" Skin="<%#Container.OwnerDataForm.Skin %>" WrapperCssClass="rdfInput" />
|
||||
</td>
|
||||
<td>
|
||||
<telerik:RadNumericTextBox ID="PuTextBox" runat="server" DataType="Byte" DbValue='<%# Bind("Pu") %>' NumberFormat-DecimalDigits="0" RenderMode="Lightweight" Skin="<%#Container.OwnerDataForm.Skin %>" WrapperCssClass="rdfInput" />
|
||||
</td>
|
||||
<td>
|
||||
<telerik:RadNumericTextBox ID="AmTextBox" runat="server" DataType="Byte" DbValue='<%# Bind("Am") %>' NumberFormat-DecimalDigits="0" RenderMode="Lightweight" Skin="<%#Container.OwnerDataForm.Skin %>" WrapperCssClass="rdfInput" />
|
||||
</td>
|
||||
<td>
|
||||
<telerik:RadNumericTextBox ID="UTextBox" runat="server" DataType="Byte" DbValue='<%# Bind("U") %>' NumberFormat-DecimalDigits="0" RenderMode="Lightweight" Skin="<%#Container.OwnerDataForm.Skin %>" WrapperCssClass="rdfInput" />
|
||||
</td>
|
||||
<td>
|
||||
<telerik:RadNumericTextBox ID="TrTextBox" runat="server" DataType="Byte" DbValue='<%# Bind("Tr") %>' NumberFormat-DecimalDigits="0" RenderMode="Lightweight" Skin="<%#Container.OwnerDataForm.Skin %>" WrapperCssClass="rdfInput" />
|
||||
</td>
|
||||
<td>
|
||||
<telerik:RadNumericTextBox ID="PoTextBox" runat="server" DataType="Byte" DbValue='<%# Bind("Po") %>' NumberFormat-DecimalDigits="0" RenderMode="Lightweight" Skin="<%#Container.OwnerDataForm.Skin %>" WrapperCssClass="rdfInput" />
|
||||
</td>
|
||||
<td>
|
||||
<telerik:RadNumericTextBox ID="otherTextBox" runat="server" DataType="Byte" DbValue='<%# Bind("other") %>' NumberFormat-DecimalDigits="0" RenderMode="Lightweight" Skin="<%#Container.OwnerDataForm.Skin %>" WrapperCssClass="rdfInput" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr style="color: gray; font-style: oblique;">
|
||||
<th>
|
||||
<asp:Label ID="Label28" runat="server" CssClass="rdfFieldValue" Text="Grid" />
|
||||
</th>
|
||||
<td>
|
||||
<asp:Label ID="Label1" runat="server" CssClass="rdfFieldValue" Text='<%# Eval("wbcOr") %>' />
|
||||
</td>
|
||||
<td>
|
||||
<asp:Label ID="Label2" runat="server" CssClass="rdfFieldValue" Text='<%# Eval("lungOr") %>' />
|
||||
</td>
|
||||
<td>
|
||||
<asp:Label ID="Label3" runat="server" CssClass="rdfFieldValue" Text='<%# Eval("thyOr") %>' />
|
||||
</td>
|
||||
<td>
|
||||
<asp:Label ID="Label4" runat="server" CssClass="rdfFieldValue" Text='<%# Eval("PuOr") %>' />
|
||||
</td>
|
||||
<td>
|
||||
<asp:Label ID="Label5" runat="server" CssClass="rdfFieldValue" Text='<%# Eval("AmOr") %>' />
|
||||
</td>
|
||||
<td>
|
||||
<asp:Label ID="Label6" runat="server" CssClass="rdfFieldValue" Text='<%# Eval("UOr") %>' />
|
||||
</td>
|
||||
<td>
|
||||
<asp:Label ID="Label7" runat="server" CssClass="rdfFieldValue" Text='<%# Eval("TrOr") %>' />
|
||||
</td>
|
||||
<td>
|
||||
<asp:Label ID="Label8" runat="server" CssClass="rdfFieldValue" Text='<%# Eval("PoOr") %>' />
|
||||
</td>
|
||||
<td>
|
||||
<asp:Label ID="Label9" runat="server" CssClass="rdfFieldValue" Text='<%# Eval("otherOr") %>' />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<asp:label ID="Label30" runat="server" Text="Opmerking" AssociatedControlID="tOpmerking" /><br />
|
||||
<asp:TextBox ID="tOpmerking" runat="server" Width="100%" Text='<%# Bind("Remark") %>' AutoPostBack="False"/>
|
||||
|
||||
<asp:label ID="Label31" runat="server" Text="Opmerking Agamas" AssociatedControlID="bOpmerking" /><br />
|
||||
<asp:TextBox ID="bOpmerking" runat="server" Width="100%" Text='<%# Bind("bRemark") %>' AutoPostBack="False"/>
|
||||
|
||||
|
||||
<asp:label ID="Label32" runat="server" Text="Opmerking LRM" AssociatedControlID="uOpmerking" /><br />
|
||||
<asp:TextBox ID="uOpmerking" runat="server" Width="100%" Text='<%# Bind("uRemark") %>' AutoPostBack="False"/>
|
||||
|
||||
</fieldset>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td colspan="6">
|
||||
<hr />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr>
|
||||
<td colspan="6">
|
||||
<fieldset>
|
||||
<table>
|
||||
|
||||
<tr>
|
||||
<th colspan="1" style="text-align: left;">
|
||||
<asp:Label ID="OtherIsotopesLabel2" runat="server" AssociatedControlID="OtherIsotopesCheckBox" Text="Behandelt de volgende isotopen"></asp:Label>
|
||||
</th>
|
||||
<td>
|
||||
<asp:CheckBox ID="OtherIsotopesCheckBox" runat="server" Checked='<%# BoolNullIsFalse(Eval("OtherIsotopes")) %>' Enabled="false" />
|
||||
</td>
|
||||
<th style="text-align: left;">
|
||||
<asp:Label ID="IsotopesLabel2" runat="server" AssociatedControlID="IsotopesLabel1" Text="Isotopes:"></asp:Label>
|
||||
</th>
|
||||
<td style="text-align: left;">
|
||||
<asp:Label ID="IsotopesLabel1" runat="server" CssClass="rdfFieldValue" Text='<%# Eval("Isotopes") %>' BorderStyle="Solid" BorderWidth="1px" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th colspan="1" style="text-align: left;">
|
||||
<asp:Label ID="otherReasonLabel2" runat="server" AssociatedControlID="otherReasonCheckBox" Text="Zijn er andere redenen voor inwendige monitoring ?"></asp:Label>
|
||||
</th>
|
||||
<td>
|
||||
<telerik:RadCheckBox ID="otherReasonCheckBox" runat="server" Checked='<%# BoolNullIsFalse(Eval("otherReason")) %>' Enabled="false" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th style="text-align: left;">
|
||||
<asp:Label ID="NoInternalLabel2" runat="server" AssociatedControlID="NoInternalCheckBox" Text="Is er een reden om geen interne meting te doen?"></asp:Label>
|
||||
</th>
|
||||
<td>
|
||||
<asp:CheckBox ID="NoInternalCheckBox" runat="server" Checked='<%# BoolNullIsFalse(Eval("NoInternal")) %>' Enabled="false" />
|
||||
</td>
|
||||
<th style="text-align: left;">
|
||||
<asp:Label ID="ReasonNoInLabel2" runat="server" AssociatedControlID="ReasonNoInLabel1" Text="justificatie:"></asp:Label>
|
||||
</th>
|
||||
<td>
|
||||
<asp:Label ID="ReasonNoInLabel1" runat="server" CssClass="rdfFieldValue" Text='<%# Eval("ReasonNoIn") %>' />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</fieldset>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td colspan="6">
|
||||
<fieldset>
|
||||
<table>
|
||||
<tr>
|
||||
<th style="text-align: left;">
|
||||
<asp:Label ID="changedLabel2" runat="server" AssociatedControlID="changedLabel1" CssClass="rdfLabel" Text="changed"></asp:Label>
|
||||
</th>
|
||||
<td>
|
||||
<asp:Label ID="changedLabel1" runat="server" CssClass="rdfFieldValue" Text='<%# Eval("changed") %>' />
|
||||
</td>
|
||||
<th style="text-align: left;">
|
||||
<asp:Label ID="OverrideLabel2" runat="server" AssociatedControlID="OverrideCheckBox" Text="Override"></asp:Label>
|
||||
</th>
|
||||
<td>
|
||||
<asp:CheckBox ID="CheckBox1" runat="server" Checked='<%# BoolNullIsFalse(Eval("Override")) %>' Enabled="false" />
|
||||
</td>
|
||||
<th style="text-align: left;">
|
||||
<asp:Label ID="DeniedLabel2" runat="server" AssociatedControlID="DeniedCheckBox" Text="Denied"></asp:Label>
|
||||
</th>
|
||||
<td>
|
||||
<asp:CheckBox ID="CheckBox2" runat="server" Checked='<%# BoolNullIsFalse(Eval("Denied")) %>' Enabled="false" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th style="text-align: left;">
|
||||
<asp:Label ID="HphCheckedLabel2" runat="server" AssociatedControlID="HphCheckedLabel1" Text="Hph Checked"></asp:Label>
|
||||
</th>
|
||||
<td>
|
||||
<asp:Label ID="HphCheckedLabel1" runat="server" CssClass="rdfFieldValue" Text='<%# Eval("HphChecked","{0:yyyy-MM-dd}") %>' />
|
||||
</td>
|
||||
<th style="text-align: left;">
|
||||
<asp:Label ID="HphCheckedByLabel2" runat="server" AssociatedControlID="HphCheckedByLabel1" Text="By"></asp:Label>
|
||||
</th>
|
||||
<td>
|
||||
<asp:Label ID="HphCheckedByLabel1" runat="server" CssClass="rdfFieldValue" Text='<%# Eval("HphCheckedBy") %>' />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</fieldset>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
<asp:CheckBox ID="DeniedCheckBox" runat="server" Checked='<%# Bind("Denied") %>' Enabled="true" Visible="false" />
|
||||
<asp:CheckBox ID="OverrideCheckBox" runat="server" Checked='<%# Bind("Override") %>' Enabled="true" Visible="false" />
|
||||
<br />
|
||||
<hr />
|
||||
<div class="rdfCommandButtons">
|
||||
|
||||
<telerik:RadButton ID="ApproveButton" runat="server" ButtonType="SkinnedButton" CommandName="Approve" RenderMode="Lightweight" Text="Approve" ToolTip="Approve" />
|
||||
<telerik:RadButton ID="DisapproveButton" runat="server" ButtonType="SkinnedButton" CommandName="Disapprove" RenderMode="Lightweight" Text="Disapprove" ToolTip="Disapprove" />
|
||||
<telerik:RadButton ID="CancelButton" runat="server" ButtonType="SkinnedButton" CommandName="Cancel" RenderMode="Lightweight" Text="Cancel" ToolTip="Cancel" />
|
||||
|
||||
</div>
|
||||
</fieldset>
|
||||
</EditItemTemplate>
|
||||
<EmptyDataTemplate>
|
||||
<div class="RadDataForm RadDataForm_<%# Container.Skin %>">
|
||||
<div class="rdfEmpty">
|
||||
There are no items to be displayed.
|
||||
</div>
|
||||
</div>
|
||||
</EmptyDataTemplate>
|
||||
</telerik:RadDataForm>
|
||||
</div>
|
||||
<div style="width: 34%; float: left;">
|
||||
<telerik:RadGrid runat="server" ID="rg2" DataSourceID="SqlDataSource2" GroupPanelPosition="Top" AutoGenerateColumns="False">
|
||||
<GroupingSettings CollapseAllTooltip="Collapse all groups" CaseSensitive="False" MainTableCaption="Personal history"></GroupingSettings>
|
||||
<ExportSettings FileName="PersonHist">
|
||||
</ExportSettings>
|
||||
<MasterTableView DataSourceID="SqlDataSource2" Caption="Personal history">
|
||||
<Columns>
|
||||
<telerik:GridBoundColumn DataField="changedate" DataType="System.DateTime" FilterControlAltText="Filter changedate column" HeaderText="Changed" SortExpression="changedate" UniqueName="changedate">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="WBC" DataType="System.Int32" FilterControlAltText="Filter WBC column" HeaderText="Antropo" SortExpression="WBC" UniqueName="WBC">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="Urine" DataType="System.Int32" FilterControlAltText="Filter Urine column" HeaderText="Urine" SortExpression="Urine" UniqueName="Urine">
|
||||
</telerik:GridBoundColumn>
|
||||
</Columns>
|
||||
</MasterTableView>
|
||||
</telerik:RadGrid>
|
||||
</div>
|
||||
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:idpbwConnectionString %>" SelectCommand="HPGApproveRFSelect" SelectCommandType="StoredProcedure" UpdateCommand="HPGApproveRFUpdate" UpdateCommandType="StoredProcedure" OnUpdating="SqlDataSource1_Updating">
|
||||
<SelectParameters>
|
||||
<asp:QueryStringParameter DefaultValue="45" Name="id" QueryStringField="docaID" Type="Int32" />
|
||||
</SelectParameters>
|
||||
<UpdateParameters>
|
||||
<asp:Parameter Name="ID" Type="Int32" />
|
||||
<asp:Parameter Name="wbc" Type="Byte" />
|
||||
<asp:Parameter Name="lung" Type="Byte" />
|
||||
<asp:Parameter Name="thy" Type="Byte" />
|
||||
<asp:Parameter Name="Pu" Type="Byte" />
|
||||
<asp:Parameter Name="Am" Type="Byte" />
|
||||
<asp:Parameter Name="U" Type="Byte" />
|
||||
<asp:Parameter Name="Tr" Type="Byte" />
|
||||
<asp:Parameter Name="Po" Type="Byte" />
|
||||
<asp:Parameter Name="other" Type="Byte" />
|
||||
<asp:Parameter Name="wbcOr" Type="Byte" />
|
||||
<asp:Parameter Name="lungOr" Type="Byte" />
|
||||
<asp:Parameter Name="thyOr" Type="Byte" />
|
||||
<asp:Parameter Name="PuOr" Type="Byte" />
|
||||
<asp:Parameter Name="AmOr" Type="Byte" />
|
||||
<asp:Parameter Name="UOr" Type="Byte" />
|
||||
<asp:Parameter Name="TrOr" Type="Byte" />
|
||||
<asp:Parameter Name="PoOr" Type="Byte" />
|
||||
<asp:Parameter Name="otherOr" Type="Byte" />
|
||||
<asp:Parameter Name="OrChanged" Type="DateTime" />
|
||||
<asp:Parameter Name="otherReason" Type="Boolean" />
|
||||
<asp:Parameter Name="OtherIsotopes" Type="Boolean" />
|
||||
<asp:Parameter Name="Isotopes" Type="String" />
|
||||
<asp:Parameter Name="NoInternal" Type="Boolean" />
|
||||
<asp:Parameter Name="ReasonNoIn" Type="String" />
|
||||
<asp:Parameter Name="changed" Type="DateTime" />
|
||||
<asp:Parameter Name="Override" Type="Boolean" />
|
||||
<asp:Parameter Name="Denied" Type="Boolean" />
|
||||
<asp:Parameter Name="HphChecked" Type="DateTime" />
|
||||
<asp:Parameter Name="HphCheckedBy" Type="String" />
|
||||
<asp:Parameter Name="Remark" Type="String" />
|
||||
<asp:Parameter Name="bRemark" Type="String" />
|
||||
<asp:Parameter Name="uRemark" Type="String" />
|
||||
</UpdateParameters>
|
||||
</asp:SqlDataSource>
|
||||
<asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="<%$ ConnectionStrings:idpbwConnectionString %>" SelectCommand="PersfrequencyPersonHistory" SelectCommandType="StoredProcedure" CancelSelectOnNullParameter="false">
|
||||
<SelectParameters>
|
||||
<asp:QueryStringParameter DefaultValue="13527" Name="persid" QueryStringField="persid" Type="Int32" />
|
||||
</SelectParameters>
|
||||
</asp:SqlDataSource>
|
||||
|
||||
</asp:Content>
|
||||
56
safety/HPHApprove.aspx.cs
Normal file
56
safety/HPHApprove.aspx.cs
Normal file
|
|
@ -0,0 +1,56 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using Telerik.Web.UI;
|
||||
|
||||
namespace safety
|
||||
{
|
||||
public partial class HPHApprove : System.Web.UI.Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public bool BoolNullIsFalse ( object b)
|
||||
{
|
||||
if (b is bool && (bool)b) return true; else return false;
|
||||
}
|
||||
|
||||
protected void RadDataForm1_ItemCommand(object sender, Telerik.Web.UI.RadDataFormCommandEventArgs e)
|
||||
{
|
||||
CheckBox b = null;
|
||||
RadDataFormEditableItem editedItem = null;
|
||||
switch (e.CommandName)
|
||||
{
|
||||
case "Approve":
|
||||
editedItem = e.DataFormItem as RadDataFormEditableItem;
|
||||
b = editedItem.FindControl("DeniedCheckBox") as CheckBox; b.Checked=false;
|
||||
b = editedItem.FindControl("OverrideCheckBox") as CheckBox; b.Checked=true;
|
||||
editedItem.FireCommandEvent("Update",e);
|
||||
break;
|
||||
case "DisApprove":
|
||||
b = editedItem.FindControl("DeniedCheckBox") as CheckBox; b.Checked=false;
|
||||
b = editedItem.FindControl("OverrideCheckBox") as CheckBox; b.Checked=true;
|
||||
editedItem.FireCommandEvent("Update",e);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
protected void SqlDataSource1_Updating(object sender, SqlDataSourceCommandEventArgs e)
|
||||
{
|
||||
//e.Cancel = true;
|
||||
}
|
||||
|
||||
protected void RadDataForm1_NeedDataSource(object sender, RadDataFormNeedDataSourceEventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
51
safety/HPHApprove.aspx.designer.cs
generated
Normal file
51
safety/HPHApprove.aspx.designer.cs
generated
Normal file
|
|
@ -0,0 +1,51 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace safety {
|
||||
|
||||
|
||||
public partial class HPHApprove {
|
||||
|
||||
/// <summary>
|
||||
/// RadDataForm1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::Telerik.Web.UI.RadDataForm RadDataForm1;
|
||||
|
||||
/// <summary>
|
||||
/// rg2 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::Telerik.Web.UI.RadGrid rg2;
|
||||
|
||||
/// <summary>
|
||||
/// SqlDataSource1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.SqlDataSource SqlDataSource1;
|
||||
|
||||
/// <summary>
|
||||
/// SqlDataSource2 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.SqlDataSource SqlDataSource2;
|
||||
}
|
||||
}
|
||||
39
safety/HPHOrphans.aspx
Normal file
39
safety/HPHOrphans.aspx
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
<%@ Page Title="" Language="C#" MasterPageFile="~/Siten.master" AutoEventWireup="true" CodeBehind="HPHOrphans.aspx.cs" Inherits="safety.HPHOrphans" %>
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
|
||||
<telerik:RadGrid ID="RadGrid1" runat="server" DataSourceID="SqlDataSource1" GroupPanelPosition="Top" AllowSorting="True" AutoGenerateColumns="False" OnItemDataBound="RadGrid1_ItemDataBound">
|
||||
<GroupingSettings CollapseAllTooltip="Collapse all groups" CaseSensitive="False"></GroupingSettings>
|
||||
<ExportSettings ExportOnlyData="True" FileName="Orphans" OpenInNewWindow="True">
|
||||
<Excel Format="Xlsx" />
|
||||
</ExportSettings>
|
||||
<MasterTableView DataKeyNames="id,persid" DataSourceID="SqlDataSource1" CommandItemDisplay="Top">
|
||||
<CommandItemSettings ShowAddNewRecordButton="False" ShowExportToExcelButton="True" />
|
||||
<Columns>
|
||||
<telerik:GridBoundColumn DataField="soort" FilterControlAltText="Filter soort column" HeaderText="soort" SortExpression="soort" UniqueName="soort">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridHyperLinkColumn DataType="System.Int32" FilterControlAltText="Filter id column" HeaderText="id" SortExpression="id" UniqueName="id" DataNavigateUrlFormatString="http://toegang/HPH/RF/{0}?lang=fr" DataNavigateUrlFields="id" DataTextFormatString="RF {0}" DataTextField="id" Target="_blank"/>
|
||||
<telerik:GridHyperLinkColumn DataType="System.Int32" FilterControlAltText="Filter id column" HeaderText="Exception" SortExpression="id" UniqueName="id2" DataNavigateUrlFormatString="http://toegang/HPH/RF/{0}?lang=fr" DataNavigateUrlFields="id" DataTextFormatString="EX {0}" DataTextField="id" Target="_blank"/>
|
||||
<telerik:GridBoundColumn DataField="persid" DataType="System.Int32" FilterControlAltText="Filter persid column" HeaderText="persid" SortExpression="persid" UniqueName="persid">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="name" FilterControlAltText="Filter name column" HeaderText="name" ReadOnly="True" SortExpression="name" UniqueName="name">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="Orphan" DataType="System.Int32" FilterControlAltText="Filter Orphan column" HeaderText="Orphan" ReadOnly="True" SortExpression="Orphan" UniqueName="Orphan">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="override" DataType="System.Int32" FilterControlAltText="Filter override column" HeaderText="override" SortExpression="override" UniqueName="override">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="denied" DataType="System.Int32" FilterControlAltText="Filter denied column" HeaderText="denied" SortExpression="denied" UniqueName="denied">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="accountHPHCheck" FilterControlAltText="Filter accountHPHCheck column" HeaderText="accountHPHCheck" SortExpression="accountHPHCheck" UniqueName="accountHPHCheck">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="datumHphCheck" DataType="System.DateTime" FilterControlAltText="Filter datumHphCheck column" HeaderText="datumHphCheck" SortExpression="datumHphCheck" UniqueName="datumHphCheck">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="NeedApproval" DataType="System.Int32" FilterControlAltText="Filter NeedApproval column" HeaderText="NeedApproval" SortExpression="NeedApproval" UniqueName="NeedApproval">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridCheckBoxColumn DataField="approvedHPHCheck" DataType="System.Boolean" FilterControlAltText="Filter approvedHPHCheck column" HeaderText="approvedHPHCheck" SortExpression="approvedHPHCheck" UniqueName="approvedHPHCheck">
|
||||
</telerik:GridCheckBoxColumn>
|
||||
<telerik:GridBoundColumn DataField="MailSentHPH" DataType="System.DateTime" FilterControlAltText="Filter MailSentHPH column" HeaderText="MailSentHPH" SortExpression="MailSentHPH" UniqueName="MailSentHPH">
|
||||
</telerik:GridBoundColumn>
|
||||
</Columns>
|
||||
</MasterTableView>
|
||||
</telerik:RadGrid>
|
||||
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:idpbwConnectionString %>" SelectCommand="hphListOrphans" SelectCommandType="StoredProcedure"></asp:SqlDataSource>
|
||||
</asp:Content>
|
||||
47
safety/HPHOrphans.aspx.cs
Normal file
47
safety/HPHOrphans.aspx.cs
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using Telerik.Web.UI;
|
||||
|
||||
namespace safety
|
||||
{
|
||||
public partial class HPHOrphans : System.Web.UI.Page
|
||||
{
|
||||
int currentDocAID = 0;
|
||||
int? AanvragerID, mentorID, unit; bool? isIV, isNV, isIDPBW; string lang = "nl", aanvragerFullname = "?", mentorFullname = "?", building = "", soort = "", ifa = "", prefLang = ""; bool? isMedic = null;
|
||||
|
||||
protected void Page_PreInit(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
if (!IsPostBack) { };
|
||||
|
||||
General.PageBasicSettings3(Page, ref AanvragerID, ref isIV, ref isNV, ref isIDPBW, ref lang, ref aanvragerFullname, ref mentorID, ref mentorFullname, ref unit, ref building, ref isMedic, ref ifa, ref soort, ref prefLang);
|
||||
}
|
||||
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
General.setTitle(Master,"Uitzonderingen : mogelijke anomalien");
|
||||
}
|
||||
|
||||
protected void RadGrid1_ItemDataBound(object sender, Telerik.Web.UI.GridItemEventArgs e)
|
||||
{
|
||||
if (e.Item is GridDataItem)
|
||||
{
|
||||
GridDataItem item = (GridDataItem)e.Item;
|
||||
int id = (int)item.GetDataKeyValue("id");
|
||||
int persid = (int)item.GetDataKeyValue("persid");
|
||||
//string plang = string.Empty; if (!string.IsNullOrEmpty(lang)) plang = "?lang=" + Session["lang"].ToString();
|
||||
HyperLink link = (HyperLink)item["id"].Controls[0];
|
||||
link.NavigateUrl = string.Format("http://toegang/HPH/RF/{0}", id);
|
||||
link = (HyperLink)item["id2"].Controls[0];
|
||||
link.NavigateUrl = string.Format("http://localhost:47213/HPHApprove.aspx?docaID={0}&persid={1}", id, persid);
|
||||
|
||||
//http://localhost:47213/HPHApprove.aspx?docaID=4229&persid=12006
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
33
safety/HPHOrphans.aspx.designer.cs
generated
Normal file
33
safety/HPHOrphans.aspx.designer.cs
generated
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace safety {
|
||||
|
||||
|
||||
public partial class HPHOrphans {
|
||||
|
||||
/// <summary>
|
||||
/// RadGrid1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::Telerik.Web.UI.RadGrid RadGrid1;
|
||||
|
||||
/// <summary>
|
||||
/// SqlDataSource1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.SqlDataSource SqlDataSource1;
|
||||
}
|
||||
}
|
||||
108
safety/HphApprovePeople.aspx
Normal file
108
safety/HphApprovePeople.aspx
Normal file
|
|
@ -0,0 +1,108 @@
|
|||
<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeBehind="HphApprovePeople.aspx.cs" Inherits="safety.HphApprovePeople" MaintainScrollPositionOnPostback="true" %>
|
||||
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
|
||||
<fieldset>
|
||||
<telerik:RadLabel runat="server" ID ="RadLabel1" AssociatedControlID="dChoice" Text="Soort" ></telerik:RadLabel>
|
||||
<telerik:RadDropDownList runat="server" ID="dSoort" AutoPostBack="true">
|
||||
<Items>
|
||||
<telerik:DropDownListItem Value="" Text="Alles" />
|
||||
<telerik:DropDownListItem Value="E" Text="Extern" />
|
||||
<telerik:DropDownListItem Value="W" Text="Werknemer" Selected="true" />
|
||||
</Items>
|
||||
</telerik:RadDropDownList>
|
||||
|
||||
<telerik:RadLabel runat="server" ID ="ldc" AssociatedControlID="dChoice" Text="Filter todo" ></telerik:RadLabel>
|
||||
<telerik:RadDropDownList runat="server" ID="dChoice" AutoPostBack="true">
|
||||
<Items>
|
||||
<telerik:DropDownListItem Value="" Text="Alles" />
|
||||
<telerik:DropDownListItem Value="true" Text="To Do" Selected="true" />
|
||||
<telerik:DropDownListItem Value="false" Text="Done" />
|
||||
</Items>
|
||||
</telerik:RadDropDownList>
|
||||
</fieldset>
|
||||
<telerik:RadGrid runat="server" ID="rg1" DataSourceID="SqlDataSource1" GroupPanelPosition="Top" AllowFilteringByColumn="True" CellSpacing="-1" GridLines="Both" OnItemDataBound="rg1_ItemDataBound">
|
||||
<GroupingSettings CollapseAllTooltip="Collapse all groups" CaseSensitive="false" />
|
||||
<MasterTableView AutoGenerateColumns="False" DataSourceID="SqlDataSource1" AllowFilteringByColumn="True" DataKeyNames="persid">
|
||||
<DetailTables>
|
||||
<telerik:GridTableView runat="server" AllowFilteringByColumn="False" DataKeyNames="persid,id" DataSourceID="SqlDataSource2" CommandItemDisplay="Top" AllowPaging="True" PageSize="100" AutoGenerateColumns="false" Name="ChildGrid">
|
||||
<ParentTableRelation>
|
||||
<telerik:GridRelationFields DetailKeyField="persid" MasterKeyField="persid" />
|
||||
</ParentTableRelation>
|
||||
<CommandItemSettings ShowAddNewRecordButton="False" />
|
||||
<ColumnGroups>
|
||||
|
||||
<telerik:GridColumnGroup HeaderText="Risc datasheet" Name="RF" HeaderStyle-HorizontalAlign="Center"/>
|
||||
<telerik:GridColumnGroup HeaderText="Max. Frequency" Name="MaxFreq" HeaderStyle-HorizontalAlign="Center"/>
|
||||
<telerik:GridColumnGroup HeaderText="Approval" Name="Approve" HeaderStyle-HorizontalAlign="Center"/>
|
||||
|
||||
|
||||
|
||||
|
||||
</ColumnGroups>
|
||||
<Columns>
|
||||
<telerik:GridBoundColumn DataField="persid" DataType="System.Int32" FilterControlAltText="Filter persid column" HeaderText="persid" SortExpression="persid" UniqueName="persid" Visible="false" />
|
||||
<telerik:GridHyperLinkColumn DataType="System.Int32" HeaderText="RF" SortExpression="id" UniqueName="id" DataNavigateUrlFields="id,persid" DataNavigateUrlFormatString="~/HPHApprove.aspx?docaID={0}&persid={1}" DataTextField="id" DataTextFormatString="RF{0}" ColumnGroupName="RF"/>
|
||||
<telerik:GridBoundColumn DataField="roleID" DataType="System.Int32" FilterControlAltText="Filter roleID column" HeaderText="roleID" SortExpression="roleID" UniqueName="roleID" ColumnGroupName="RF"/>
|
||||
<telerik:GridBoundColumn DataField="roleName" FilterControlAltText="Filter roleName column" HeaderText="roleName" SortExpression="roleName" UniqueName="roleName" ColumnGroupName="RF"/>
|
||||
<telerik:GridCheckBoxColumn DataField="checked" DataType="System.Boolean" FilterControlAltText="Filter checked column" HeaderText="checked" ReadOnly="True" SortExpression="checked" UniqueName="checked" ColumnGroupName="RF">
|
||||
</telerik:GridCheckBoxColumn>
|
||||
<telerik:GridBoundColumn DataField="text" FilterControlAltText="Filter text column" HeaderText="text" ReadOnly="True" SortExpression="text" UniqueName="text" ColumnGroupName="RF">
|
||||
</telerik:GridBoundColumn>
|
||||
<%--<telerik:GridBoundColumn DataField="wbcf" DataType="System.Int32" FilterControlAltText="Filter wbcf column" HeaderText="Wbc grid" SortExpression="wbcf" UniqueName="wbcf" ColumnGroupName="MaxFreq" />
|
||||
<telerik:GridBoundColumn DataField="lrmf" DataType="System.Int32" FilterControlAltText="Filter lrmf column" HeaderText="urine grid" SortExpression="lrmf" UniqueName="lrmf" ColumnGroupName="MaxFreq" />
|
||||
--%>
|
||||
|
||||
<telerik:GridBoundColumn DataField="MaxWbcFreq" DataType="System.Int32" FilterControlAltText="Filter MaxWbcFreq column" HeaderText="Wbc" SortExpression="MaxWbcFreq" UniqueName="MaxWbcFreq" ColumnGroupName="MaxFreq" />
|
||||
|
||||
<telerik:GridBoundColumn DataField="MaxWbcFreqOr" DataType="System.Int32" FilterControlAltText="Filter MaxWbcFreqOr column" HeaderText="Wbc Grid" SortExpression="MaxWbcFreqOr" UniqueName="MaxWbcFreqOr" ColumnGroupName="MaxFreq"/>
|
||||
|
||||
<telerik:GridBoundColumn DataField="MaxUrineFreq" DataType="System.Int32" FilterControlAltText="Filter MaxUrineFreq column" HeaderText="Urine" SortExpression="MaxUrineFreq" UniqueName="MaxUrineFreq" ColumnGroupName="MaxFreq"/>
|
||||
<telerik:GridBoundColumn DataField="MaxUrineFreqOr" DataType="System.Int32" FilterControlAltText="Filter MaxUrineFreqOr column" HeaderText="Urine Grid" SortExpression="MaxUrineFreqOr" UniqueName="MaxUrineFreqOr" ColumnGroupName="MaxFreq"/>
|
||||
<telerik:GridCheckBoxColumn DataField="AutoApprove" DataType="System.Boolean" FilterControlAltText="Filter AutoApprove column" HeaderText="Auto-Approve" ReadOnly="True" SortExpression="AutoApprove" UniqueName="AutoApprove" ColumnGroupName="Approve">
|
||||
</telerik:GridCheckBoxColumn>
|
||||
<telerik:GridBoundColumn DataField="HphChecked" DataType="System.DateTime" FilterControlAltText="Filter HphChecked column" HeaderText="Checked date" SortExpression="HphChecked" UniqueName="HphChecked" ColumnGroupName="Approve">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="HphCheckedBy" FilterControlAltText="Filter HphCheckedBy column" HeaderText="HphCheckedBy" SortExpression="Checked By" UniqueName="HphCheckedBy" ColumnGroupName="Approve">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridCheckBoxColumn DataField="toCheck" DataType="System.Boolean" FilterControlAltText="Filter toCheck column" HeaderText="To Check" ReadOnly="True" SortExpression="toCheck" UniqueName="toCheck" ColumnGroupName="Approve">
|
||||
</telerik:GridCheckBoxColumn>
|
||||
</Columns>
|
||||
</telerik:GridTableView>
|
||||
</DetailTables>
|
||||
<Columns>
|
||||
<telerik:GridBoundColumn DataField="persid" DataType="System.Int32" FilterControlAltText="Filter persid column" HeaderText="persid" SortExpression="persid" UniqueName="persid" AllowFiltering="false" HeaderStyle-Width="80px">
|
||||
<HeaderStyle Width="80px"></HeaderStyle>
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="fullname" FilterControlAltText="Filter fullname column" HeaderText="Fullname" ReadOnly="True" SortExpression="fullname" UniqueName="fullname" CurrentFilterFunction="Contains" ShowFilterIcon="false" AutoPostBackOnFilter="true" HeaderStyle-Width="150px" FilterControlWidth="120px">
|
||||
<HeaderStyle Width="150px"></HeaderStyle>
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="persGroup" FilterControlAltText="Filter persGroup column" HeaderText="persGroup" SortExpression="persGroup" UniqueName="persGroup" CurrentFilterFunction="Contains" ShowFilterIcon="false" AutoPostBackOnFilter="true" HeaderStyle-Width="60px" FilterControlWidth="30px">
|
||||
<HeaderStyle Width="60px"></HeaderStyle>
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="building" FilterControlAltText="Filter building column" HeaderText="Building" SortExpression="building" UniqueName="building" AllowFiltering="false">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="toCheck" DataType="System.Int32" FilterControlAltText="Filter toCheck column" HeaderText="# items" ReadOnly="True" SortExpression="toCheck" UniqueName="toCheck" AllowFiltering="false">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="TotalRF" DataType="System.Int32" FilterControlAltText="Filter TotalRF column" HeaderText="# of RF" ReadOnly="True" SortExpression="TotalRF" UniqueName="TotalRF" AllowFiltering="false">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="maxWbc" DataType="System.Int32" FilterControlAltText="Filter maxWbc column" HeaderText="WBC" ReadOnly="True" SortExpression="maxWbc" UniqueName="maxWbc" AllowFiltering="false">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="maxUrine" DataType="System.Int32" FilterControlAltText="Filter maxUrine column" HeaderText="Urine" ReadOnly="True" SortExpression="maxUrine" UniqueName="maxUrine" AllowFiltering="false">
|
||||
</telerik:GridBoundColumn>
|
||||
</Columns>
|
||||
</MasterTableView>
|
||||
</telerik:RadGrid>
|
||||
<asp:SqlDataSource ID="SqlDataSource1" runat="server" CancelSelectOnNullParameter="False" ConnectionString="<%$ ConnectionStrings:idpbwConnectionString %>" SelectCommand="hphApprovePeople" SelectCommandType="StoredProcedure">
|
||||
<SelectParameters>
|
||||
<asp:ControlParameter ControlID="dSoort" DefaultValue="" Name="soort" PropertyName="SelectedValue" Type="String" />
|
||||
<asp:ControlParameter ControlID="dChoice" Name="tocheck" PropertyName="SelectedValue" Type="Boolean" />
|
||||
</SelectParameters>
|
||||
</asp:SqlDataSource>
|
||||
<br />
|
||||
<asp:SqlDataSource ID="SqlDataSource2" runat="server" CancelSelectOnNullParameter="False" ConnectionString="<%$ ConnectionStrings:idpbwConnectionString %>" SelectCommand="hphApprovePersid" SelectCommandType="StoredProcedure">
|
||||
<SelectParameters>
|
||||
<asp:Parameter DefaultValue="" Name="persid" Type="Int32" />
|
||||
</SelectParameters>
|
||||
</asp:SqlDataSource>
|
||||
|
||||
</asp:Content>
|
||||
37
safety/HphApprovePeople.aspx.cs
Normal file
37
safety/HphApprovePeople.aspx.cs
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using Telerik.Web.UI;
|
||||
|
||||
namespace safety
|
||||
{
|
||||
public partial class HphApprovePeople : System.Web.UI.Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
protected void rg1_ItemDataBound(object sender, Telerik.Web.UI.GridItemEventArgs e)
|
||||
{
|
||||
//Visible="<%= Eval("hasCheckbox") %>"
|
||||
if (e.Item.DataItem is System.Data.DataRowView && e.Item.OwnerTableView.Name == "ChildGrid")
|
||||
{
|
||||
System.Data.DataRowView r = e.Item.DataItem as System.Data.DataRowView;
|
||||
var o = r.Row["hasCheckbox"];
|
||||
if (o is bool)
|
||||
{
|
||||
GridDataItem i = e.Item as GridDataItem;
|
||||
if (i != null)
|
||||
{
|
||||
CheckBox cb = i["checked"].Controls[0] as CheckBox;
|
||||
if (cb != null) cb.Visible = (bool)o;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
78
safety/HphApprovePeople.aspx.designer.cs
generated
Normal file
78
safety/HphApprovePeople.aspx.designer.cs
generated
Normal file
|
|
@ -0,0 +1,78 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace safety {
|
||||
|
||||
|
||||
public partial class HphApprovePeople {
|
||||
|
||||
/// <summary>
|
||||
/// RadLabel1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::Telerik.Web.UI.RadLabel RadLabel1;
|
||||
|
||||
/// <summary>
|
||||
/// dSoort control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::Telerik.Web.UI.RadDropDownList dSoort;
|
||||
|
||||
/// <summary>
|
||||
/// ldc control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::Telerik.Web.UI.RadLabel ldc;
|
||||
|
||||
/// <summary>
|
||||
/// dChoice control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::Telerik.Web.UI.RadDropDownList dChoice;
|
||||
|
||||
/// <summary>
|
||||
/// rg1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::Telerik.Web.UI.RadGrid rg1;
|
||||
|
||||
/// <summary>
|
||||
/// SqlDataSource1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.SqlDataSource SqlDataSource1;
|
||||
|
||||
/// <summary>
|
||||
/// SqlDataSource2 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.SqlDataSource SqlDataSource2;
|
||||
}
|
||||
}
|
||||
114
safety/IES/CtsRooms.aspx
Normal file
114
safety/IES/CtsRooms.aspx
Normal file
|
|
@ -0,0 +1,114 @@
|
|||
<%@ Page Title="" Language="C#" MasterPageFile="~/Site2n.master" AutoEventWireup="true" CodeBehind="CtsRooms.aspx.cs" Inherits="safety.IES.CtsRooms" %>
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
|
||||
|
||||
<telerik:RadDropDownList runat="server" ID="dBuilding" AutoPostBack="true" DataSourceID="SqlDSBuildings" DataTextField="BuildingText" DataValueField="BuildingID" DropDownWidth="400px" AppendDataBoundItems="true" >
|
||||
<Items>
|
||||
<telerik:DropDownListItem Text="Kies een gebouw" Value="0" />
|
||||
</Items>
|
||||
</telerik:RadDropDownList>
|
||||
|
||||
|
||||
<telerik:RadGrid runat="server" ID="rgRooms" DataSourceID="sqlDSRooms" AllowAutomaticInserts="True" AllowAutomaticUpdates="True" AutoGenerateColumns="False" AutoGenerateEditColumn="True" >
|
||||
<GroupingSettings CollapseAllTooltip="Collapse all groups" CaseSensitive="False"></GroupingSettings>
|
||||
<ExportSettings IgnorePaging="True" OpenInNewWindow="True">
|
||||
<Excel FileExtension="xlsx" Format="Xlsx" />
|
||||
</ExportSettings>
|
||||
<MasterTableView DataSourceID="sqlDSRooms" CommandItemDisplay="Top" DataKeyNames="RoomID">
|
||||
<CommandItemSettings ShowExportToExcelButton="True" />
|
||||
<Columns>
|
||||
|
||||
<telerik:GridHyperLinkColumn DataNavigateUrlFormatString="https://svg.app.sckcen.be/building.asp?geb={0}&lok={1}" DataNavigateUrlFields="SvgBuildingCode,Room" DataTextField="RoomID" HeaderText="ID" />
|
||||
<telerik:GridBoundColumn DataField="ID" FilterControlAltText="Filter BuildingSite column" HeaderText="BuildingSite" SortExpression="BuildingSite" UniqueName="BuildingSite" Visible="false" ReadOnly="true">
|
||||
</telerik:GridBoundColumn>
|
||||
|
||||
<telerik:GridBoundColumn DataField="BuildingSite" FilterControlAltText="Filter BuildingSite column" HeaderText="BuildingSite" SortExpression="BuildingSite" UniqueName="BuildingSite" Visible="false" ReadOnly="true">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridDropDownColumn DataField="BuildingID" DataType="System.Int32" FilterControlAltText="Filter BuildingID column" HeaderText="BuildingID" SortExpression="BuildingID" UniqueName="BuildingID" Visible="false" DataSourceID="SqlDSBuildings" ListValueField="BuildingID" ListTextField="BuildingText" />
|
||||
|
||||
<telerik:GridBoundColumn DataField="BuildingCode" FilterControlAltText="Filter BuildingCode column" HeaderText="BuildingCode" SortExpression="BuildingCode" UniqueName="BuildingCode" Visible="false" ReadOnly="true"/>
|
||||
<telerik:GridBoundColumn DataField="BuildingName" FilterControlAltText="Filter BuildingName column" HeaderText="BuildingName" SortExpression="BuildingName" UniqueName="BuildingName" Visible="false" ReadOnly="true"/>
|
||||
<telerik:GridDropDownColumn DataField="SubGebouwID" HeaderText="SubGebouw" SortExpression="SubGebouw" UniqueName="SubGebouw" DataSourceID="SqlDSSubgebouw" ListValueField="SubgebouwID" ListTextField="Name" />
|
||||
<telerik:GridBoundColumn DataField="Cluster" DataType="System.Int32" HeaderText="Cluster" SortExpression="Cluster" UniqueName="Cluster" ReadOnly="true">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="Room" FilterControlAltText="Filter Room column" HeaderText="Room" SortExpression="Room" UniqueName="Room">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="SapCode" FilterControlAltText="Filter SapCode column" HeaderText="SapCode" SortExpression="SapCode" UniqueName="SapCode">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="Omschrijving" FilterControlAltText="Filter Omschrijving column" HeaderText="Omschrijving" SortExpression="Omschrijving" UniqueName="Omschrijving">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridDropDownColumn DataField="TypeLokaalID" HeaderText="Type Lokaal" SortExpression="TypeLokaal" UniqueName="TypeLokaal" DataSourceID="SqlDSTypeLokaal" ListValueField="TypeLokaalID" ListTextField="TypeLokaal" />
|
||||
<telerik:GridDropDownColumn DataField="NucleairID" FilterControlAltText="Filter Nucleair column" HeaderText="Nucleair" SortExpression="Nucleair" UniqueName="Nucleair" DataSourceID="SqlDSNucleair" ListValueField="NucleairID" ListTextField="Nucleair" />
|
||||
<telerik:GridDropDownColumn DataField="NiveauID" FilterControlAltText="Filter Niveau column" HeaderText="Niveau" SortExpression="Niveau" UniqueName="NiveauID" DataSourceID="SqlDSNiveau" ListValueField="NiveauID" ListTextField="Niveau" />
|
||||
<telerik:GridDropDownColumn DataField="StatusID" HeaderText="Status" SortExpression="StatusID" UniqueName="StatusID" DataSourceID="SqlDSStatus" ListValueField="StatusID" ListTextField="Status" />
|
||||
<telerik:GridDropDownColumn DataField="BioveiligheidszoneID" FilterControlAltText="Filter Bioveiligheidszone column" HeaderText="Bioveiligheidszone" SortExpression="Bioveiligheidszone" UniqueName="Bioveiligheidszone" DataSourceID="SqlDSBioveiligheidszone" ListValueField="BioveiligheidszoneID" ListTextField="Bioveiligheidszone" />
|
||||
<telerik:GridDropDownColumn DataField="VeiligheidsniveauID" FilterControlAltText="Filter Veiligheidsniveau column" HeaderText="Veiligheidsniveau" SortExpression="Veiligheidsniveau" UniqueName="Veiligheidsniveau" DataSourceID="SqlDSVeiligheidsniveau" ListValueField="VeiligheidsniveauID" ListTextField="Veiligheidsniveau" />
|
||||
<telerik:GridBoundColumn DataField="LinkPLan" FilterControlAltText="Filter LinkPLan column" HeaderText="LinkPLan" SortExpression="LinkPLan" UniqueName="LinkPLan">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="BrandCompartiment" FilterControlAltText="Filter BrandCompartiment column" HeaderText="BrandCompartiment" SortExpression="BrandCompartiment" UniqueName="BrandCompartiment">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="OpmerkingWijziging" FilterControlAltText="Filter OpmerkingWijziging column" HeaderText="OpmerkingWijziging" SortExpression="OpmerkingWijziging" UniqueName="OpmerkingWijziging">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="changed" DataType="System.DateTime" FilterControlAltText="Filter changed column" HeaderText="changed" SortExpression="changed" UniqueName="changed" ReadOnly="true" >
|
||||
</telerik:GridBoundColumn>
|
||||
</Columns>
|
||||
</MasterTableView>
|
||||
</telerik:RadGrid>
|
||||
<asp:SqlDataSource ID="sqlDSRooms" runat="server" ConnectionString="<%$ ConnectionStrings:IESConnectionString %>" SelectCommand="cts.RoomsSelect" SelectCommandType="StoredProcedure" CancelSelectOnNullParameter="False" UpdateCommand="cts.RoomsUpdate" UpdateCommandType="StoredProcedure" InsertCommand="cts.RoomsInsert" InsertCommandType="StoredProcedure">
|
||||
<InsertParameters>
|
||||
<asp:Parameter Direction="ReturnValue" Name="RETURN_VALUE" Type="Int32" />
|
||||
<asp:Parameter Name="BuildingID" Type="Int32" />
|
||||
<asp:Parameter Name="SubgebouwID" Type="Int32" />
|
||||
<asp:Parameter Name="Room" Type="String" />
|
||||
<asp:Parameter Name="SAPCODE" Type="String" />
|
||||
<asp:Parameter Name="Omschrijving" Type="String" />
|
||||
<asp:Parameter Name="NucleairID" Type="Int32" />
|
||||
<asp:Parameter Name="Changed" Type="DateTime" />
|
||||
<asp:Parameter Name="OpmerkingWijziging" Type="String" />
|
||||
<asp:Parameter Name="BrandCompartiment" Type="String" />
|
||||
<asp:Parameter Name="LinkPlan" Type="String" />
|
||||
<asp:Parameter Name="NiveauID" Type="Int32" />
|
||||
<asp:Parameter Name="TypeLokaalID" Type="Int32" />
|
||||
<asp:Parameter Name="StatusID" Type="Int32" />
|
||||
<asp:Parameter Name="BioveiligheidszoneID" Type="Int32" />
|
||||
<asp:Parameter Name="VeiligheidsniveauID" Type="Int32" />
|
||||
</InsertParameters>
|
||||
<SelectParameters>
|
||||
<asp:ControlParameter ControlID="dBuilding" Name="BuildingID" PropertyName="SelectedValue" Type="Int32" DefaultValue="6" />
|
||||
</SelectParameters>
|
||||
<UpdateParameters>
|
||||
<asp:Parameter Direction="ReturnValue" Name="RETURN_VALUE" Type="Int32" />
|
||||
<asp:Parameter Name="RoomID" Type="Int32" />
|
||||
<asp:Parameter Name="BuildingID" Type="Int32" />
|
||||
<asp:Parameter Name="SubgebouwID" Type="Int32" />
|
||||
<asp:Parameter Name="Room" Type="String" />
|
||||
<asp:Parameter Name="SAPCODE" Type="String" />
|
||||
<asp:Parameter Name="Omschrijving" Type="String" />
|
||||
<asp:Parameter Name="NucleairID" Type="Int32" />
|
||||
<asp:Parameter Name="Changed" Type="DateTime" />
|
||||
<asp:Parameter Name="OpmerkingWijziging" Type="String" />
|
||||
<asp:Parameter Name="BrandCompartiment" Type="String" />
|
||||
<asp:Parameter Name="LinkPlan" Type="String" />
|
||||
<asp:Parameter Name="NiveauID" Type="Int32" />
|
||||
<asp:Parameter Name="TypeLokaalID" Type="Int32" />
|
||||
<asp:Parameter Name="StatusID" Type="Int32" />
|
||||
<asp:Parameter Name="BioveiligheidszoneID" Type="Int32" />
|
||||
<asp:Parameter Name="VeiligheidsniveauID" Type="Int32" />
|
||||
</UpdateParameters>
|
||||
</asp:SqlDataSource>
|
||||
|
||||
|
||||
<asp:SqlDataSource ID="SqlDSBuildings" runat="server" ConnectionString="<%$ ConnectionStrings:IESConnectionString %>" SelectCommand="cts.BuildingList" SelectCommandType="StoredProcedure" CancelSelectOnNullParameter="True">
|
||||
</asp:SqlDataSource>
|
||||
<asp:SqlDataSource ID="SqlDSSubgebouw" runat="server" ConnectionString="<%$ ConnectionStrings:IESConnectionString %>" SelectCommand="cts.SubgebouwList" SelectCommandType="StoredProcedure" CancelSelectOnNullParameter="False"/>
|
||||
|
||||
<asp:SqlDataSource ID="SqlDSTypeLokaal" runat="server" ConnectionString="<%$ ConnectionStrings:IESConnectionString %>" SelectCommand="cts.TypeLokaalSelect" SelectCommandType="StoredProcedure" CancelSelectOnNullParameter="False" />
|
||||
<asp:SqlDataSource ID="SqlDSNucleair" runat="server" ConnectionString="<%$ ConnectionStrings:IESConnectionString %>" SelectCommand="cts.NucleairList" SelectCommandType="StoredProcedure" CancelSelectOnNullParameter="False" />
|
||||
<asp:SqlDataSource ID="SqlDSNiveau" runat="server" ConnectionString="<%$ ConnectionStrings:IESConnectionString %>" SelectCommand="cts.NiveauList" SelectCommandType="StoredProcedure" CancelSelectOnNullParameter="False" />
|
||||
<asp:SqlDataSource ID="SqlDSBioveiligheidszone" runat="server" ConnectionString="<%$ ConnectionStrings:IESConnectionString %>" SelectCommand="cts.BioveiligheidszoneList" SelectCommandType="StoredProcedure" CancelSelectOnNullParameter="False" />
|
||||
<asp:SqlDataSource ID="SqlDSVeiligheidsniveau" runat="server" ConnectionString="<%$ ConnectionStrings:IESConnectionString %>" SelectCommand="cts.VeiligheidsniveauList" SelectCommandType="StoredProcedure" CancelSelectOnNullParameter="False" />
|
||||
<asp:SqlDataSource ID="SqlDSStatus" runat="server" ConnectionString="<%$ ConnectionStrings:IESConnectionString %>" SelectCommand="cts.StatusList" SelectCommandType="StoredProcedure" CancelSelectOnNullParameter="False" />
|
||||
|
||||
|
||||
</asp:Content>
|
||||
17
safety/IES/CtsRooms.aspx.cs
Normal file
17
safety/IES/CtsRooms.aspx.cs
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace safety.IES
|
||||
{
|
||||
public partial class CtsRooms : System.Web.UI.Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
General.setTitle(Master, "Beheer gebouwen");
|
||||
}
|
||||
}
|
||||
}
|
||||
114
safety/IES/CtsRooms.aspx.designer.cs
generated
Normal file
114
safety/IES/CtsRooms.aspx.designer.cs
generated
Normal file
|
|
@ -0,0 +1,114 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace safety.IES {
|
||||
|
||||
|
||||
public partial class CtsRooms {
|
||||
|
||||
/// <summary>
|
||||
/// dBuilding control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::Telerik.Web.UI.RadDropDownList dBuilding;
|
||||
|
||||
/// <summary>
|
||||
/// rgRooms control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::Telerik.Web.UI.RadGrid rgRooms;
|
||||
|
||||
/// <summary>
|
||||
/// sqlDSRooms control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.SqlDataSource sqlDSRooms;
|
||||
|
||||
/// <summary>
|
||||
/// SqlDSBuildings control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.SqlDataSource SqlDSBuildings;
|
||||
|
||||
/// <summary>
|
||||
/// SqlDSSubgebouw control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.SqlDataSource SqlDSSubgebouw;
|
||||
|
||||
/// <summary>
|
||||
/// SqlDSTypeLokaal control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.SqlDataSource SqlDSTypeLokaal;
|
||||
|
||||
/// <summary>
|
||||
/// SqlDSNucleair control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.SqlDataSource SqlDSNucleair;
|
||||
|
||||
/// <summary>
|
||||
/// SqlDSNiveau control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.SqlDataSource SqlDSNiveau;
|
||||
|
||||
/// <summary>
|
||||
/// SqlDSBioveiligheidszone control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.SqlDataSource SqlDSBioveiligheidszone;
|
||||
|
||||
/// <summary>
|
||||
/// SqlDSVeiligheidsniveau control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.SqlDataSource SqlDSVeiligheidsniveau;
|
||||
|
||||
/// <summary>
|
||||
/// SqlDSStatus control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.SqlDataSource SqlDSStatus;
|
||||
}
|
||||
}
|
||||
60
safety/IES/ctsBuildings.aspx
Normal file
60
safety/IES/ctsBuildings.aspx
Normal file
|
|
@ -0,0 +1,60 @@
|
|||
<%@ Page Title="" Language="C#" MasterPageFile="~/Site2n.master" AutoEventWireup="true" CodeBehind="ctsBuildings.aspx.cs" Inherits="safety.IES.ctsBuildings" %>
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
|
||||
|
||||
<telerik:RadGrid runat="server" ID="rgBuildings" DataSourceID="sqlDSBuildings" AllowAutomaticInserts="True" AllowAutomaticUpdates="True" AutoGenerateColumns="False" AutoGenerateEditColumn="True" >
|
||||
<GroupingSettings CollapseAllTooltip="Collapse all groups" CaseSensitive="False"></GroupingSettings>
|
||||
<ExportSettings IgnorePaging="True" OpenInNewWindow="True" FileName="Buildings">
|
||||
<Excel FileExtension="xlsx" Format="Xlsx" />
|
||||
</ExportSettings>
|
||||
|
||||
<MasterTableView DataSourceID="sqlDSBuildings" AllowSorting="True" CommandItemDisplay="Top" DataKeyNames="BuildingID">
|
||||
<Columns>
|
||||
<telerik:GridBoundColumn DataField="BuildingID" DataType="System.Int32" FilterControlAltText="Filter BuildingID column" HeaderText="BuildingID" ReadOnly="True" SortExpression="BuildingID" UniqueName="BuildingID" Visible="false">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="BuildingSiteID" DataType="System.Int32" FilterControlAltText="Filter BuildingSiteID column" HeaderText="BuildingSiteID" SortExpression="BuildingSiteID" UniqueName="BuildingSiteID" Visible="false">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="BuildingSite" FilterControlAltText="Filter BuildingSite column" HeaderText="BuildingSite" SortExpression="BuildingSite" UniqueName="BuildingSite">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="BuildingCode" FilterControlAltText="Filter BuildingCode column" HeaderText="BuildingCode" SortExpression="BuildingCode" UniqueName="BuildingCode">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="BuildingName" FilterControlAltText="Filter BuildingName column" HeaderText="BuildingName" SortExpression="BuildingName" UniqueName="BuildingName">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="BuildingRemark" FilterControlAltText="Filter BuildingRemark column" HeaderText="BuildingRemark" SortExpression="BuildingRemark" UniqueName="BuildingRemark">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="BuildingSAP" FilterControlAltText="Filter BuildingSAP column" HeaderText="BuildingSAP" SortExpression="BuildingSAP" UniqueName="BuildingSAP">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="SvgBuildingCode" HeaderText="SVG Code" SortExpression="SvgBuildingCode" UniqueName="SvgBuildingCode" HeaderTooltip="contact Katrijn">
|
||||
</telerik:GridBoundColumn>
|
||||
|
||||
</Columns>
|
||||
</MasterTableView>
|
||||
</telerik:RadGrid>
|
||||
|
||||
<asp:SqlDataSource ID="sqlDSBuildings" runat="server" ConnectionString="<%$ ConnectionStrings:IESConnectionString %>" SelectCommand="cts.BuildingsSelect" SelectCommandType="StoredProcedure" CancelSelectOnNullParameter="False" UpdateCommand="cts.BuildingsUpdate" UpdateCommandType="StoredProcedure" InsertCommand="cts.BuildingsInsert" InsertCommandType="StoredProcedure" >
|
||||
<InsertParameters>
|
||||
<asp:Parameter Direction="ReturnValue" Name="RETURN_VALUE" Type="Int32" />
|
||||
<asp:Parameter Name="BuildingSiteID" Type="Int32" />
|
||||
<asp:Parameter Name="BuildingCode" Type="String" />
|
||||
<asp:Parameter Name="BuildingName" Type="String" />
|
||||
<asp:Parameter Name="BuildingRemark" Type="String" />
|
||||
<asp:Parameter Name="BuildingSAP" Type="String" />
|
||||
<asp:Parameter Name="SvgBuildingCode" Type="String" />
|
||||
</InsertParameters>
|
||||
<SelectParameters>
|
||||
<asp:Parameter Direction="ReturnValue" Name="RETURN_VALUE" Type="Int32" />
|
||||
</SelectParameters>
|
||||
<UpdateParameters>
|
||||
<asp:Parameter Direction="ReturnValue" Name="RETURN_VALUE" Type="Int32" />
|
||||
<asp:Parameter Name="BuildingID" Type="Int32" />
|
||||
<asp:Parameter Name="BuildingSiteID" Type="Int32" />
|
||||
<asp:Parameter Name="BuildingCode" Type="String" />
|
||||
<asp:Parameter Name="BuildingName" Type="String" />
|
||||
<asp:Parameter Name="BuildingRemark" Type="String" />
|
||||
<asp:Parameter Name="BuildingSAP" Type="String" />
|
||||
<asp:Parameter Name="SvgBuildingCode" Type="String" />
|
||||
</UpdateParameters>
|
||||
</asp:SqlDataSource>
|
||||
|
||||
</asp:Content>
|
||||
17
safety/IES/ctsBuildings.aspx.cs
Normal file
17
safety/IES/ctsBuildings.aspx.cs
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace safety.IES
|
||||
{
|
||||
public partial class ctsBuildings : System.Web.UI.Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
General.setTitle(Master, "Beheer Gebouwen");
|
||||
}
|
||||
}
|
||||
}
|
||||
33
safety/IES/ctsBuildings.aspx.designer.cs
generated
Normal file
33
safety/IES/ctsBuildings.aspx.designer.cs
generated
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace safety.IES {
|
||||
|
||||
|
||||
public partial class ctsBuildings {
|
||||
|
||||
/// <summary>
|
||||
/// rgBuildings control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::Telerik.Web.UI.RadGrid rgBuildings;
|
||||
|
||||
/// <summary>
|
||||
/// sqlDSBuildings control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.SqlDataSource sqlDSBuildings;
|
||||
}
|
||||
}
|
||||
68
safety/IES/ctsCylinders.aspx
Normal file
68
safety/IES/ctsCylinders.aspx
Normal file
|
|
@ -0,0 +1,68 @@
|
|||
<%@ Page Title="" Language="C#" MasterPageFile="~/Site2n.master" AutoEventWireup="true" CodeBehind="ctsCylinders.aspx.cs" Inherits="safety.IES.ctsCylinders" %>
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
|
||||
<telerik:RadDropDownList runat="server" ID="dBuilding" AutoPostBack="true" DataSourceID="SqlDSBuildings" DataTextField="BuildingText" DataValueField="BuildingID" DropDownWidth="400px" AppendDataBoundItems="true" >
|
||||
<Items>
|
||||
<telerik:DropDownListItem Text="Kies een gebouw" Value="0" />
|
||||
</Items>
|
||||
</telerik:RadDropDownList>
|
||||
|
||||
<telerik:RadGrid runat="server" ID="rgCylinders" DataSourceID="SqlDSCylinders" AllowAutomaticInserts="True" AllowAutomaticUpdates="True" AutoGenerateColumns="False" AutoGenerateEditColumn="True" >
|
||||
<GroupingSettings CollapseAllTooltip="Collapse all groups" CaseSensitive="False"></GroupingSettings>
|
||||
<ExportSettings IgnorePaging="True" OpenInNewWindow="True" FileName="Cylinders">
|
||||
<Excel FileExtension="xlsx" Format="Xlsx" />
|
||||
</ExportSettings>
|
||||
|
||||
<MasterTableView DataSourceID="SqlDSCylinders" CommandItemDisplay="Top" DataKeyNames="CylinderID">
|
||||
<CommandItemSettings ShowExportToExcelButton="True" />
|
||||
<Columns>
|
||||
<telerik:GridBoundColumn DataField="CylinderID" DataType="System.Int32" FilterControlAltText="Filter CylinderID column" HeaderText="CylinderID" ReadOnly="True" SortExpression="CylinderID" UniqueName="CylinderID" Visible="False">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="Niveau" FilterControlAltText="Filter Niveau column" HeaderText="Niveau" SortExpression="Niveau" UniqueName="Niveau" ReadOnly="true">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridTemplateColumn DataField="RoomID" HeaderText="Room" SortExpression="Room" UniqueName="RoomID">
|
||||
<EditItemTemplate>
|
||||
<telerik:RadComboBox ID="RoomID" DataSourceID="SqlDSRooms" runat="server" SelectedValue='<%# Bind("RoomId") %>' DataTextField="RoomText" DataValueField="RoomID" Width="400px" />
|
||||
</EditItemTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="RoomLabel" runat="server" Text='<%# Eval("Room") %>'></asp:Label>
|
||||
</ItemTemplate>
|
||||
</telerik:GridTemplateColumn>
|
||||
<telerik:GridBoundColumn DataField="Omschrijving" FilterControlAltText="Filter Omschrijving column" HeaderText="Omschrijving" SortExpression="Omschrijving" UniqueName="Omschrijving" ReadOnly="true">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="Door" FilterControlAltText="Filter Door column" HeaderText="Door" SortExpression="Door" UniqueName="Door">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="Cylinder" FilterControlAltText="Filter Cylinder column" HeaderText="Cylinder" SortExpression="Cylinder" UniqueName="Cylinder">
|
||||
</telerik:GridBoundColumn>
|
||||
</Columns>
|
||||
</MasterTableView>
|
||||
|
||||
</telerik:RadGrid>
|
||||
|
||||
|
||||
<asp:SqlDataSource ID="SqlDSCylinders" runat="server" ConnectionString="<%$ ConnectionStrings:IESConnectionString %>" SelectCommand="cts.CylindersSelect" SelectCommandType="StoredProcedure" CancelSelectOnNullParameter="False" UpdateCommand="cts.CylindersUpdate" UpdateCommandType="StoredProcedure" InsertCommand="cts.CylindersInsert" InsertCommandType="StoredProcedure" >
|
||||
<InsertParameters>
|
||||
<asp:Parameter Name="RoomId" Type="Int32" />
|
||||
<asp:Parameter Name="Door" Type="String" />
|
||||
<asp:Parameter Name="Cylinder" Type="String" />
|
||||
</InsertParameters>
|
||||
<SelectParameters>
|
||||
<asp:ControlParameter ControlID="dBuilding" Name="BuildingID" PropertyName="SelectedValue" Type="Int32" />
|
||||
</SelectParameters>
|
||||
<UpdateParameters>
|
||||
<asp:Parameter Name="CylinderID" Type="Int32" />
|
||||
<asp:Parameter Name="RoomId" Type="Int32" />
|
||||
<asp:Parameter Name="Door" Type="String" />
|
||||
<asp:Parameter Name="Cylinder" Type="String" />
|
||||
</UpdateParameters>
|
||||
</asp:SqlDataSource>
|
||||
|
||||
<asp:SqlDataSource ID="SqlDSBuildings" runat="server" ConnectionString="<%$ ConnectionStrings:IESConnectionString %>" SelectCommand="[cts].[CylindersBuildingsList]" SelectCommandType="StoredProcedure" CancelSelectOnNullParameter="False"/>
|
||||
<asp:SqlDataSource ID="SqlDSRooms" runat="server" ConnectionString="<%$ ConnectionStrings:IESConnectionString %>" SelectCommand="[cts].[RoomsList]" SelectCommandType="StoredProcedure" CancelSelectOnNullParameter="False">
|
||||
<SelectParameters>
|
||||
<asp:ControlParameter ControlID="dBuilding" Name="BuildingID" PropertyName="SelectedValue" Type="Int32" />
|
||||
</SelectParameters>
|
||||
</asp:SqlDataSource>
|
||||
|
||||
</asp:Content>
|
||||
17
safety/IES/ctsCylinders.aspx.cs
Normal file
17
safety/IES/ctsCylinders.aspx.cs
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace safety.IES
|
||||
{
|
||||
public partial class ctsCylinders : System.Web.UI.Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
General.setTitle(Master, "Cylinders");
|
||||
}
|
||||
}
|
||||
}
|
||||
60
safety/IES/ctsCylinders.aspx.designer.cs
generated
Normal file
60
safety/IES/ctsCylinders.aspx.designer.cs
generated
Normal file
|
|
@ -0,0 +1,60 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace safety.IES {
|
||||
|
||||
|
||||
public partial class ctsCylinders {
|
||||
|
||||
/// <summary>
|
||||
/// dBuilding control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::Telerik.Web.UI.RadDropDownList dBuilding;
|
||||
|
||||
/// <summary>
|
||||
/// rgCylinders control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::Telerik.Web.UI.RadGrid rgCylinders;
|
||||
|
||||
/// <summary>
|
||||
/// SqlDSCylinders control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.SqlDataSource SqlDSCylinders;
|
||||
|
||||
/// <summary>
|
||||
/// SqlDSBuildings control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.SqlDataSource SqlDSBuildings;
|
||||
|
||||
/// <summary>
|
||||
/// SqlDSRooms control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.SqlDataSource SqlDSRooms;
|
||||
}
|
||||
}
|
||||
37
safety/IES/ctsTypeLokaal.aspx
Normal file
37
safety/IES/ctsTypeLokaal.aspx
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
<%@ Page Title="" Language="C#" MasterPageFile="~/Site2n.master" AutoEventWireup="true" CodeBehind="ctsTypeLokaal.aspx.cs" Inherits="safety.IES.ctsTypeLokaal" MaintainScrollPositionOnPostback="true" %>
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
|
||||
<telerik:RadGrid runat="server" ID="rgRooms" DataSourceID="sqlDSTypeLokaal" AutoGenerateColumns="False" AutoGenerateEditColumn="True" ClientSettings-Scrolling-SaveScrollPosition="true" >
|
||||
<GroupingSettings CollapseAllTooltip="Collapse all groups" CaseSensitive="False"></GroupingSettings>
|
||||
|
||||
<ExportSettings FileName="TyeLokaal" OpenInNewWindow="True">
|
||||
<Excel FileExtension="xlsx" Format="Xlsx" />
|
||||
</ExportSettings>
|
||||
|
||||
<MasterTableView DataSourceID="sqlDSTypeLokaal" AllowFilteringByColumn="True" AllowSorting="True" CommandItemDisplay="Top" DataKeyNames="TypeLokaalID" AllowAutomaticInserts="True" AllowAutomaticUpdates="True">
|
||||
<CommandItemSettings ShowExportToExcelButton="True" />
|
||||
<Columns>
|
||||
<telerik:GridBoundColumn DataField="TypeLokaalID" DataType="System.Int32" FilterControlAltText="Filter TypeLokaalID column" HeaderText="TypeLokaalID" ReadOnly="True" SortExpression="TypeLokaalID" UniqueName="TypeLokaalID" AllowFiltering="false">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="TypeLokaal" FilterControlAltText="Filter TypeLokaal column" HeaderText="TypeLokaal" SortExpression="TypeLokaal" UniqueName="TypeLokaal" CurrentFilterFunction="Contains" AutoPostBackOnFilter="true" ShowFilterIcon="false" >
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="Comment" FilterControlAltText="Filter Comment column" HeaderText="Comment" SortExpression="Comment" UniqueName="Comment">
|
||||
</telerik:GridBoundColumn>
|
||||
</Columns>
|
||||
</MasterTableView>
|
||||
</telerik:RadGrid>
|
||||
<asp:SqlDataSource ID="sqlDSTypeLokaal" runat="server" ConnectionString="<%$ ConnectionStrings:IESConnectionString %>" SelectCommand="cts.TypeLokaalSelect" SelectCommandType="StoredProcedure" CancelSelectOnNullParameter="False" UpdateCommand="cts.TypeLokaalUpdate" UpdateCommandType="StoredProcedure" InsertCommand="cts.TypeLokaalInsert" InsertCommandType="StoredProcedure">
|
||||
<InsertParameters>
|
||||
<asp:Parameter Name="TypeLokaal" Type="String" />
|
||||
<asp:Parameter Name="Comment" Type="String" />
|
||||
<asp:Parameter Direction="ReturnValue" Name="RETURN_VALUE" Type="Int32" />
|
||||
</InsertParameters>
|
||||
<UpdateParameters>
|
||||
<asp:Parameter Name="TypeLokaalID" Type="Int32" />
|
||||
<asp:Parameter Name="TypeLokaal" Type="String" />
|
||||
<asp:Parameter Name="Comment" Type="String" />
|
||||
<asp:Parameter Direction="ReturnValue" Name="RETURN_VALUE" Type="Int32" />
|
||||
</UpdateParameters>
|
||||
</asp:SqlDataSource>
|
||||
</asp:Content>
|
||||
17
safety/IES/ctsTypeLokaal.aspx.cs
Normal file
17
safety/IES/ctsTypeLokaal.aspx.cs
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace safety.IES
|
||||
{
|
||||
public partial class ctsTypeLokaal : System.Web.UI.Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
General.setTitle(Master, "Type lokalen");
|
||||
}
|
||||
}
|
||||
}
|
||||
33
safety/IES/ctsTypeLokaal.aspx.designer.cs
generated
Normal file
33
safety/IES/ctsTypeLokaal.aspx.designer.cs
generated
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace safety.IES {
|
||||
|
||||
|
||||
public partial class ctsTypeLokaal {
|
||||
|
||||
/// <summary>
|
||||
/// rgRooms control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::Telerik.Web.UI.RadGrid rgRooms;
|
||||
|
||||
/// <summary>
|
||||
/// sqlDSTypeLokaal control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.SqlDataSource sqlDSTypeLokaal;
|
||||
}
|
||||
}
|
||||
BIN
safety/Images/icon_radiation.gif
Normal file
BIN
safety/Images/icon_radiation.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 218 B |
BIN
safety/Images/led-black.gif
Normal file
BIN
safety/Images/led-black.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 192 B |
BIN
safety/Images/led-blink.gif
Normal file
BIN
safety/Images/led-blink.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 282 B |
BIN
safety/Images/led-blue.gif
Normal file
BIN
safety/Images/led-blue.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 904 B |
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue