Document D
This commit is contained in:
parent
6dedfa36fc
commit
7b774c32e3
8 changed files with 214 additions and 3 deletions
|
|
@ -69,7 +69,7 @@
|
|||
|
||||
<tr>
|
||||
<td style="font-weight: bold">
|
||||
<asp:Label ID="Label2" runat="server" CssClass="rdfLabel rdfBlock" Text="dded µSv for the Monthly Limit :" AssociatedControlID="IncreaseMonthlyLimit"></asp:Label>
|
||||
<asp:Label ID="Label2" runat="server" CssClass="rdfLabel rdfBlock" Text="Added µSv for the Monthly Limit :" AssociatedControlID="IncreaseMonthlyLimit"></asp:Label>
|
||||
</td>
|
||||
<td>
|
||||
<asp:TextBox ID="IncreaseMonthlyLimit" runat="server" CssClass="rdfFieldValue" Text='<%# Bind("IncreaseMonthlyLimit") %>' />
|
||||
|
|
|
|||
|
|
@ -80,7 +80,7 @@
|
|||
|
||||
<tr>
|
||||
<td style="font-weight: bold">
|
||||
<asp:Label ID="Label2" runat="server" CssClass="rdfLabel rdfBlock" Text="dded µSv for the Monthly Limit :" AssociatedControlID="IncreaseMonthlyLimit"></asp:Label>
|
||||
<asp:Label ID="Label2" runat="server" CssClass="rdfLabel rdfBlock" Text="Added µSv for the Monthly Limit :" AssociatedControlID="IncreaseMonthlyLimit"></asp:Label>
|
||||
</td>
|
||||
<td>
|
||||
<asp:TextBox ID="IncreaseMonthlyLimit" runat="server" CssClass="rdfFieldValue" Text='<%# Bind("IncreaseMonthlyLimit") %>' />
|
||||
|
|
|
|||
131
Rems2018/DocD.aspx
Normal file
131
Rems2018/DocD.aspx
Normal file
|
|
@ -0,0 +1,131 @@
|
|||
<%@ Page Title="Comment" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeBehind="DocD.aspx.cs" Inherits="Rems2018.Dose_DocD" %>
|
||||
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
|
||||
<telerik:RadGrid ID="RadGrid1" runat="server" AllowAutomaticInserts="True" AllowAutomaticUpdates="True" AllowSorting="True" CellSpacing="-1" GridLines="Both" AllowAutomaticDeletes="True" AllowCustomPaging="True" AllowFilteringByColumn="True" AllowPaging="True" AutoGenerateColumns="False" DataSourceID="sqlDSV_Dose_DocD">
|
||||
<GroupingSettings CollapseAllTooltip="Collapse all groups" CaseSensitive="false"/>
|
||||
<ExportSettings>
|
||||
<Pdf PageWidth="">
|
||||
</Pdf>
|
||||
<Excel FileExtension="xlsx" Format="Xlsx" />
|
||||
</ExportSettings>
|
||||
<ClientSettings AllowColumnsReorder="True">
|
||||
</ClientSettings>
|
||||
<MasterTableView DataKeyNames="ID_DoseDocD" CommandItemDisplay="Top" DataSourceID="sqlDSV_DoseDocD" EditMode="EditForms" >
|
||||
<CommandItemSettings ShowExportToExcelButton="True" AddNewRecordText="Nieuw comment" />
|
||||
<Columns>
|
||||
<telerik:GridButtonColumn CommandName="Edit" Text="Edit" ButtonCssClass="rgEdit" UniqueName="EditColumn" HeaderStyle-Width="30px">
|
||||
<HeaderStyle Width="30px"></HeaderStyle>
|
||||
</telerik:GridButtonColumn>
|
||||
<telerik:GridBoundColumn DataField="ID_DoseDocD" DataType="System.Int32" HeaderText="ID" UniqueName="ID_DoseDocD" ReadOnly="True" SortExpression="ID" MaxLength="3" AllowFiltering="False">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="FNamePerson" HeaderText="Person" UniqueName="FNamePerson" SortExpression="FNamePerson" ReadOnly="True">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="LNamePerson" HeaderText="" UniqueName="LNamePerson" SortExpression="LNamePerson" ReadOnly="True">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="Date_Dose" HeaderText="Dose date" SortExpression="Date_Dose" UniqueName="Date_Dose" DataType="System.DateTime" DataFormatString="{0:yyyy-MM-dd}">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="Dose_52W_microSv" DataType="System.Double" HeaderText="Dose 52W (µSv)" SortExpression="Dose_52W_microSv" UniqueName="Dose_52W_microSv" AllowFiltering="True">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="FNameAgent" HeaderText="Agent SC" UniqueName="FNameAgent" SortExpression="FNameAgent" ReadOnly="True">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="LNameAgent" HeaderText="" UniqueName="LNameAgent" SortExpression="LNameAgent" ReadOnly="True">
|
||||
</telerik:GridBoundColumn>
|
||||
</Columns>
|
||||
<EditFormSettings EditFormType="Template">
|
||||
<FormTemplate>
|
||||
<table>
|
||||
<tr>
|
||||
<td style="font-weight: bold">
|
||||
<asp:Label ID="Label3" runat="server" CssClass="rdfLabel rdfBlock" Text="Select the Person: "></asp:Label>
|
||||
</td>
|
||||
<td>
|
||||
<telerik:RadComboBox ID="RadComboBoxSelectPerson" runat="server" AppendDataBoundItems="true" DataSourceID="SqlDSSelectPerson" DataTextField="displayName" DataValueField="PersID" Width="95%" SelectedValue ='<%# Bind("PersID") %>' >
|
||||
<Items>
|
||||
<telerik:RadComboBoxItem Text="-" Value="0" />
|
||||
</Items>
|
||||
</telerik:RadComboBox>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td style="font-weight: bold">
|
||||
<asp:Label ID="Label9" runat="server" CssClass="rdfLabel rdfBlock" Text="Date of the Dose:"></asp:Label>
|
||||
</td>
|
||||
<td>
|
||||
<telerik:RadDatePicker ID="Date_Dose" runat="server" DbSelectedDate='<%# Bind("Date_Dose") %>' />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
|
||||
<td style="font-weight: bold">
|
||||
<asp:Label ID="Label5" runat="server" CssClass="rdfLabel rdfBlock" Text="Dose 52 weeks in µSv:"></asp:Label>
|
||||
</td>
|
||||
<td>
|
||||
<asp:TextBox ID="Dose_52W_microSv" runat="server" CssClass="rdfFieldValue" Text='<%# Bind("Dose_52W_microSv") %>' />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td style="font-weight: bold">
|
||||
<asp:Label ID="Label7" runat="server" CssClass="rdfLabel rdfBlock" Text="Register by (Agent SC of HPH): "></asp:Label>
|
||||
</td>
|
||||
<td>
|
||||
<telerik:RadComboBox ID="RadComboBoxSelectAgentSC" runat="server" DataSourceID="SqlDSSelectAgentSC" DataTextField="displayName" DataValueField="PersID" Width="95%" SelectedValue='<%# Bind("PersID_AgentSC") %>'>
|
||||
<Items>
|
||||
<telerik:RadComboBoxItem Text="-" Value="0" />
|
||||
</Items>
|
||||
</telerik:RadComboBox>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
|
||||
</table>
|
||||
<div class="rdfCommandButtons">
|
||||
<hr class="rdfHr" />
|
||||
<telerik:RadButton RenderMode="Lightweight" ID="UpdateButton" runat="server" ButtonType="SkinnedButton" CommandName='<%# (Container is GridEditFormInsertItem) ? "PerformInsert" : "Update" %>' Text='<%# (Container is GridEditFormInsertItem) ? "Insert" : "Update" %>' ToolTip="Update" />
|
||||
<telerik:RadButton RenderMode="Lightweight" ID="CancelButton" runat="server" ButtonType="SkinnedButton" CausesValidation="False" CommandName="Cancel" Text="Cancel" ToolTip="Cancel" />
|
||||
</div>
|
||||
</FormTemplate>
|
||||
</EditFormSettings>
|
||||
|
||||
</MasterTableView>
|
||||
</telerik:RadGrid>
|
||||
|
||||
<asp:SqlDataSource ID="sqlDSV_Dose_DocD" runat="server"
|
||||
ConnectionString="<%$ ConnectionStrings:HPH_REMS_newConnectionString %>"
|
||||
SelectCommand="Dose_DocDSelect" SelectCommandType="StoredProcedure"
|
||||
InsertCommand="Dose_DocDInsert" InsertCommandType="StoredProcedure"
|
||||
UpdateCommand="Dose_DocDUpdate" UpdateCommandType="StoredProcedure"
|
||||
DeleteCommand="Dose_DocDDelete" DeleteCommandType="StoredProcedure">
|
||||
<DeleteParameters>
|
||||
<asp:Parameter Name="ID_DoseDocD" Type="Int32" />
|
||||
</DeleteParameters>
|
||||
<InsertParameters>
|
||||
<asp:Parameter Name="RETURN_VALUE" Type="Int32" Direction="ReturnValue" />
|
||||
<asp:Parameter Name="PersID" Type="Int32" />
|
||||
<asp:Parameter DbType="Date" Name="Date_Dose" />
|
||||
<asp:Parameter Name="Dose_52W_microSv" Type="System.Double" />
|
||||
<asp:Parameter Name="PersID_AgentSC" Type="Int32" />
|
||||
</InsertParameters>
|
||||
<UpdateParameters>
|
||||
<asp:Parameter Name="ID_DoseDocD" Type="Int32" />
|
||||
<asp:Parameter Name="PersID" Type="Int32" />
|
||||
<asp:Parameter Name="PersID_AgentSC" Type="Int32" />
|
||||
<asp:Parameter DbType="Date" Name="Date_Dose" />
|
||||
<asp:Parameter Name="Dose_52W_microSv" Type="System.Double" />
|
||||
<asp:Parameter Name="PersID_AgentSC" Type="Int32" />
|
||||
</UpdateParameters>
|
||||
|
||||
</asp:SqlDataSource>
|
||||
|
||||
<asp:SqlDataSource ID="SqlDSSelectPerson" runat="server" ConnectionString="<%$ ConnectionStrings:HPH_REMS_newConnectionString %>" SelectCommand="PersonList" SelectCommandType="StoredProcedure"></asp:SqlDataSource>
|
||||
<asp:SqlDataSource ID="SqlDSSelectAgentSC" runat="server" ConnectionString="<%$ ConnectionStrings:HPH_REMS_newConnectionString %>" SelectCommand="SELECT [PersID], displayName=[LastName]+' '+[FirstName] FROM [V_SelectAGentSCenHPHResp]"></asp:SqlDataSource>
|
||||
|
||||
|
||||
</asp:Content>
|
||||
21
Rems2018/DocD.aspx.cs
Normal file
21
Rems2018/DocD.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 Dose_DocD : 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 = "Comment to person";
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
51
Rems2018/DocD.aspx.designer.cs
generated
Normal file
51
Rems2018/DocD.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 Dose_DocD {
|
||||
|
||||
/// <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>
|
||||
/// sqlDSV_Dose_DocD 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 sqlDSV_Dose_DocD;
|
||||
|
||||
/// <summary>
|
||||
/// SqlDSSelectPerson 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 SqlDSSelectPerson;
|
||||
|
||||
/// <summary>
|
||||
/// SqlDSSelectAgentSC 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 SqlDSSelectAgentSC;
|
||||
}
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
|
|
@ -93,6 +93,13 @@
|
|||
<Compile Include="AddLimitAgent.aspx.designer.cs">
|
||||
<DependentUpon>AddLimitAgent.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="DocD.aspx.cs">
|
||||
<DependentUpon>DocD.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="DocD.aspx.designer.cs">
|
||||
<DependentUpon>DocD.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="TaskTypeStandard.aspx.cs">
|
||||
<DependentUpon>TaskTypeStandard.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
|
|
@ -183,6 +190,7 @@
|
|||
<Content Include="AddLimitHPH.aspx" />
|
||||
<Content Include="BadgeNotFound.aspx" />
|
||||
<Content Include="AddLimitAgent.aspx" />
|
||||
<Content Include="DocD.aspx" />
|
||||
<Content Include="TaskTypeStandard.aspx" />
|
||||
<Content Include="FNGainANGain.aspx" />
|
||||
<Content Include="ManualReturn.aspx" />
|
||||
|
|
@ -249,7 +257,7 @@
|
|||
<SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile>
|
||||
</WebProjectProperties>
|
||||
</FlavorProperties>
|
||||
<UserProperties UseJQuerySupport="False" UseAjaxifiedTemplates="False" />
|
||||
<UserProperties UseAjaxifiedTemplates="False" UseJQuerySupport="False" />
|
||||
</VisualStudio>
|
||||
</ProjectExtensions>
|
||||
</Project>
|
||||
Loading…
Add table
Reference in a new issue