2019-01-09
This commit is contained in:
parent
4bf5232c6d
commit
34e3ff58b4
10 changed files with 345 additions and 11 deletions
|
|
@ -1,3 +1,5 @@
|
|||
Telerik.Web.UI.RadMultiPage, Telerik.Web.UI, Version=2018.3.910.45, Culture=neutral, PublicKeyToken=121fae78165ba3d4
|
||||
Telerik.Web.UI.RadTabStrip, Telerik.Web.UI, Version=2018.3.910.45, Culture=neutral, PublicKeyToken=121fae78165ba3d4
|
||||
Telerik.Web.UI.RadButton, Telerik.Web.UI, Version=2018.3.910.45, Culture=neutral, PublicKeyToken=121fae78165ba3d4
|
||||
Telerik.Web.UI.RadCheckBox, Telerik.Web.UI, Version=2018.3.910.45, Culture=neutral, PublicKeyToken=121fae78165ba3d4
|
||||
Telerik.Web.UI.RadDataForm, Telerik.Web.UI, Version=2018.3.910.45, Culture=neutral, PublicKeyToken=121fae78165ba3d4
|
||||
|
|
|
|||
|
|
@ -111,6 +111,13 @@
|
|||
<Compile Include="Worker.aspx.designer.cs">
|
||||
<DependentUpon>Worker.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Worker5.aspx.cs">
|
||||
<DependentUpon>Worker5.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Worker5.aspx.designer.cs">
|
||||
<DependentUpon>Worker5.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Worker4.aspx.cs">
|
||||
<DependentUpon>Worker4.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
|
|
@ -165,6 +172,7 @@
|
|||
<Content Include="App_Data\RadCaptcha\Z.wav" />
|
||||
<Content Include="Worker2.aspx" />
|
||||
<Content Include="Worker.aspx" />
|
||||
<Content Include="Worker5.aspx" />
|
||||
<Content Include="Worker4.aspx" />
|
||||
<Content Include="Worker3.aspx" />
|
||||
</ItemGroup>
|
||||
|
|
@ -223,7 +231,7 @@
|
|||
<SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile>
|
||||
</WebProjectProperties>
|
||||
</FlavorProperties>
|
||||
<UserProperties UseAjaxifiedTemplates="True" UseJQuerySupport="True" />
|
||||
<UserProperties UseJQuerySupport="True" UseAjaxifiedTemplates="True" />
|
||||
</VisualStudio>
|
||||
</ProjectExtensions>
|
||||
</Project>
|
||||
|
|
@ -49,6 +49,9 @@
|
|||
<telerik:RadMenuItem runat="server" NavigateUrl="~/Worker2.aspx" Text="worker 2 child">
|
||||
</telerik:RadMenuItem>
|
||||
|
||||
<telerik:RadMenuItem runat="server" NavigateUrl="~/Worker3.aspx" Text="w.3">
|
||||
</telerik:RadMenuItem>
|
||||
|
||||
</Items>
|
||||
|
||||
</telerik:RadMenuItem>
|
||||
|
|
|
|||
|
|
@ -87,10 +87,10 @@
|
|||
<table>
|
||||
<tr>
|
||||
<td>
|
||||
<asp:Label ID="Label13" runat="server" AssociatedControlID="AccessAllowCheckBox" CssClass="rdfLabel rdfBlock" Text="AccessAllow"></asp:Label>
|
||||
<asp:Label ID="Label13" runat="server" AssociatedControlID="AccessAllowCheckBox" Text="AccessAllow:"></asp:Label>
|
||||
</td>
|
||||
<td>
|
||||
<telerik:RadCheckBox ID="AccessAllowCheckBox" runat="server" Checked='<%# isChecked(Eval("AccessAllow")) %>' Enabled="true" />
|
||||
<telerik:RadCheckBox ID="AccessAllowCheckBox" runat="server" Checked='<%# Bind("AccessAllow") %>' Enabled="true" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
@ -110,16 +110,25 @@
|
|||
</EmptyDataTemplate>
|
||||
</telerik:RadDataForm>
|
||||
|
||||
<telerik:RadGrid runat="server" ID="gridVisits" DataSourceID="sqlDSVisitPersId" CellSpacing="-1" GridLines="Both">
|
||||
|
||||
<asp:SqlDataSource ID="testds" runat="server" ConnectionString="<%$ ConnectionStrings:HPH_REMS_newConnectionString %>" SelectCommand="SELECT PersID, LastName FROM Person"></asp:SqlDataSource>
|
||||
|
||||
<telerik:RadGrid runat="server" ID="gridVisits" DataSourceID="sqlDSVisitPersId" CellSpacing="-1" GridLines="Both" AllowFilteringByColumn="True" AutoGenerateColumns="False">
|
||||
|
||||
<GroupingSettings CollapseAllTooltip="Collapse all groups"></GroupingSettings>
|
||||
|
||||
<MasterTableView DataSourceID="sqlDSVisitPersId" AutoGenerateColumns="False" DataKeyNames="ID_Visit">
|
||||
<MasterTableView DataSourceID="sqlDSVisitPersId" DataKeyNames="ID_Visit" AllowSorting="True" CommandItemDisplay="Top">
|
||||
<CommandItemSettings ShowAddNewRecordButton="False" ShowExportToExcelButton="True" />
|
||||
<Columns>
|
||||
<telerik:GridBoundColumn DataField="ID_Visit" DataType="System.Int32" FilterControlAltText="Filter ID_Visit column" HeaderText="ID_Visit" ReadOnly="True" SortExpression="ID_Visit" UniqueName="ID_Visit">
|
||||
<telerik:GridBoundColumn DataField="ID_Visit" DataType="System.Int32" FilterControlAltText="Filter ID_Visit column" HeaderText="ID_Visit" ReadOnly="True" SortExpression="ID_Visit" UniqueName="ID_Visit" AllowFiltering="False" ShowFilterIcon="False">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridDateTimeColumn DataField="ReturnTime" DataType="System.DateTime" FilterControlAltText="Filter ReturnTime column" HeaderText="ReturnTime" SortExpression="ReturnTime" UniqueName="ReturnTime" DataFormatString="{0:yyyy-MM-dd HH:mm}" />
|
||||
<telerik:GridBoundColumn DataField="Hp10Dose" DataType="System.Double" FilterControlAltText="Filter Hp10Dose column" HeaderText="Hp10Dose" SortExpression="Hp10Dose" UniqueName="Hp10Dose" DataFormatString="{0:0.00}">
|
||||
<telerik:GridBoundColumn DataField="Inst_code" DataType="System.Int32" FilterControlAltText="Filter Inst_code column" HeaderText="Inst_code" SortExpression="Inst_code" UniqueName="Inst_code">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="EntryTime" DataType="System.DateTime" FilterControlAltText="Filter EntryTime column" HeaderText="EntryTime" SortExpression="EntryTime" UniqueName="EntryTime">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="ReturnTime" DataType="System.DateTime" FilterControlAltText="Filter ReturnTime column" HeaderText="ReturnTime" SortExpression="ReturnTime" UniqueName="ReturnTime">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="Hp10Dose" DataType="System.Double" FilterControlAltText="Filter Hp10Dose column" HeaderText="Hp10Dose" SortExpression="Hp10Dose" UniqueName="Hp10Dose">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="Hp07Dose" DataType="System.Double" FilterControlAltText="Filter Hp07Dose column" HeaderText="Hp07Dose" SortExpression="Hp07Dose" UniqueName="Hp07Dose">
|
||||
</telerik:GridBoundColumn>
|
||||
|
|
@ -160,7 +169,7 @@
|
|||
|
||||
<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=isnull(AccessAllow,0), Language, deleted FROM V_SumDosePerson WHERE (PersID = @PersID)"
|
||||
SelectCommand="DosePersonSelect" SelectCommandType="StoredProcedure"
|
||||
UpdateCommand="Update Person set AccessAllow=@AccessAllow where (PersID = @PersID)">
|
||||
<SelectParameters>
|
||||
<asp:ControlParameter ControlID="cmbPerson" PropertyName="SelectedValue" Name="PersID" Type="Int32" />
|
||||
|
|
|
|||
9
Rems2018/Worker3.aspx.designer.cs
generated
9
Rems2018/Worker3.aspx.designer.cs
generated
|
|
@ -30,6 +30,15 @@ namespace Rems2018 {
|
|||
/// </remarks>
|
||||
protected global::Telerik.Web.UI.RadDataForm RadDataForm1;
|
||||
|
||||
/// <summary>
|
||||
/// testds 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 testds;
|
||||
|
||||
/// <summary>
|
||||
/// gridVisits control.
|
||||
/// </summary>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeBehind="Worker4.aspx.cs" Inherits="Rems2018.Worker4" %>
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server" />
|
||||
<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" MarkFirstMatch="True" OnSelectedIndexChanged="cmbPerson_SelectedIndexChanged" OnDataBound="cmbPerson_DataBound" AutoPostBack="true" />
|
||||
|
|
@ -8,7 +9,7 @@
|
|||
|
||||
<telerik:RadTabStrip runat="server" ID="tabs" MultiPageID="mp" SelectedIndex="0">
|
||||
<Tabs>
|
||||
<telerik:RadTab Text="Tab1" PageViewID="p0" TabIndex="0" />
|
||||
<telerik:RadTab Text="Tab1111" PageViewID="p0" TabIndex="0" BackColor="#FFC080" Selected="True" />
|
||||
<telerik:RadTab Text="Tab2" PageViewID="p1" />
|
||||
</Tabs>
|
||||
</telerik:RadTabStrip>
|
||||
|
|
|
|||
183
Rems2018/Worker5.aspx
Normal file
183
Rems2018/Worker5.aspx
Normal file
|
|
@ -0,0 +1,183 @@
|
|||
<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeBehind="Worker5.aspx.cs" Inherits="Rems2018.Worker5" %>
|
||||
|
||||
<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" MarkFirstMatch="True" OnSelectedIndexChanged="cmbPerson_SelectedIndexChanged" OnDataBound="cmbPerson_DataBound" AutoPostBack="true">
|
||||
</telerik:RadComboBox>
|
||||
<br />
|
||||
<telerik:RadDataForm ID="RadDataForm1" runat="server" DataSourceID="sqlDsView" CssClass="rdfInlineBlock" DataKeyNames="ID_Person" RenderMode="Lightweight">
|
||||
<LayoutTemplate>
|
||||
<div class="RadDataForm RadDataForm_<%# Container.Skin %> rdfInlineBlock">
|
||||
<div id="itemPlaceholder" runat="server">
|
||||
</div>
|
||||
</div>
|
||||
</LayoutTemplate>
|
||||
<ItemTemplate>
|
||||
<fieldset class="rdfFieldset rdfBorders">
|
||||
<legend class="rdfLegend">View</legend>
|
||||
<table>
|
||||
<tr>
|
||||
<td>
|
||||
<asp:Label ID="Label1" runat="server" CssClass="rdfLabel rdfBlock" Text="ID_Person"></asp:Label>
|
||||
</td>
|
||||
<td>
|
||||
<asp:Label ID="Label2" runat="server" CssClass="rdfFieldValue" Text='<%# Eval("ID_Person") %>' />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
<asp:Label ID="Label3" runat="server" CssClass="rdfLabel rdfBlock" Text="PersID"></asp:Label>
|
||||
</td>
|
||||
<td>
|
||||
<asp:Label ID="Label4" runat="server" CssClass="rdfFieldValue" Text='<%# Eval("PersID") %>' />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
<asp:Label ID="Label7" runat="server" CssClass="rdfLabel rdfBlock" Text="LastName"></asp:Label>
|
||||
</td>
|
||||
<td>
|
||||
<asp:Label ID="Label8" runat="server" CssClass="rdfFieldValue" Text='<%# Eval("LastName") %>' />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<asp:Label ID="Label9" runat="server" CssClass="rdfLabel rdfBlock" Text="FirstName"></asp:Label>
|
||||
</td>
|
||||
<td>
|
||||
<asp:Label ID="Label10" runat="server" CssClass="rdfFieldValue" Text='<%# Eval("FirstName") %>' />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
<asp:Label ID="Label5" runat="server" CssClass="rdfLabel rdfBlock" Text="ProximityCode"></asp:Label>
|
||||
</td>
|
||||
<td>
|
||||
<asp:Label ID="Label6" runat="server" CssClass="rdfFieldValue" Text='<%# Eval("ProximityCode") %>' />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
<asp:Label ID="Label13" runat="server" AssociatedControlID="AccessAllowCheckBox" CssClass="rdfLabel rdfBlock" Text="AccessAllow"></asp:Label>
|
||||
</td>
|
||||
<td>
|
||||
<telerik:RadCheckBox ID="AccessAllowCheckBox" runat="server" Checked='<%# Bind("AccessAllow") %>' />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
<div class="rdfCommandButtons">
|
||||
<hr class="rdfHr" />
|
||||
<telerik:RadButton RenderMode="Lightweight" ID="EditButton" runat="server" ButtonType="SkinnedButton" CausesValidation="False" CommandName="Edit" Text="Edit" ToolTip="Edit" />
|
||||
</div>
|
||||
|
||||
</fieldset>
|
||||
</ItemTemplate>
|
||||
<EditItemTemplate>
|
||||
<fieldset class="rdfFieldset rdfBorders">
|
||||
<legend class="rdfLegend">Edit</legend>
|
||||
<table>
|
||||
<tr>
|
||||
<td>
|
||||
<asp:Label ID="Label13" runat="server" AssociatedControlID="AccessAllowCheckBox" Text="AccessAllow:"></asp:Label>
|
||||
</td>
|
||||
<td>
|
||||
<telerik:RadCheckBox ID="AccessAllowCheckBox" runat="server" Checked='<%# Bind("AccessAllow") %>' Enabled="true" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="rdfCommandButtons">
|
||||
<hr class="rdfHr" />
|
||||
<telerik:RadButton RenderMode="Lightweight" ID="UpdateButton" runat="server" ButtonType="SkinnedButton" CommandName="Update" Text="Update" ToolTip="Update" />
|
||||
<telerik:RadButton RenderMode="Lightweight" ID="CancelButton" runat="server" ButtonType="SkinnedButton" CausesValidation="False" CommandName="Cancel" 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>
|
||||
|
||||
|
||||
<asp:SqlDataSource ID="testds" runat="server" ConnectionString="<%$ ConnectionStrings:HPH_REMS_newConnectionString %>" SelectCommand="SELECT PersID, LastName FROM Person"></asp:SqlDataSource>
|
||||
|
||||
<telerik:RadGrid runat="server" ID="gridVisits" DataSourceID="sqlDSVisitPersId" CellSpacing="-1" GridLines="Both">
|
||||
|
||||
<GroupingSettings CollapseAllTooltip="Collapse all groups"></GroupingSettings>
|
||||
|
||||
<MasterTableView DataSourceID="sqlDSVisitPersId" AutoGenerateColumns="False" DataKeyNames="ID_Visit">
|
||||
<Columns>
|
||||
<telerik:GridBoundColumn DataField="ID_Visit" DataType="System.Int32" FilterControlAltText="Filter ID_Visit column" HeaderText="ID_Visit" ReadOnly="True" SortExpression="ID_Visit" UniqueName="ID_Visit">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridDateTimeColumn DataField="ReturnTime" DataType="System.DateTime" FilterControlAltText="Filter ReturnTime column" HeaderText="ReturnTime" SortExpression="ReturnTime" UniqueName="ReturnTime" DataFormatString="{0:yyyy-MM-dd HH:mm}" />
|
||||
<telerik:GridBoundColumn DataField="Hp10Dose" DataType="System.Double" FilterControlAltText="Filter Hp10Dose column" HeaderText="Hp10Dose" SortExpression="Hp10Dose" UniqueName="Hp10Dose" DataFormatString="{0:0.00}">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="Hp07Dose" DataType="System.Double" FilterControlAltText="Filter Hp07Dose column" HeaderText="Hp07Dose" SortExpression="Hp07Dose" UniqueName="Hp07Dose">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="Hp10Total" DataType="System.Double" FilterControlAltText="Filter Hp10Total column" HeaderText="Hp10Total" SortExpression="Hp10Total" UniqueName="Hp10Total">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="Hp07Total" DataType="System.Double" FilterControlAltText="Filter Hp07Total column" HeaderText="Hp07Total" SortExpression="Hp07Total" UniqueName="Hp07Total">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="Hp10Rate" DataType="System.Double" FilterControlAltText="Filter Hp10Rate column" HeaderText="Hp10Rate" SortExpression="Hp10Rate" UniqueName="Hp10Rate">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="Hp07Rate" DataType="System.Double" FilterControlAltText="Filter Hp07Rate column" HeaderText="Hp07Rate" SortExpression="Hp07Rate" UniqueName="Hp07Rate">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="Hp10Peak" DataType="System.Double" FilterControlAltText="Filter Hp10Peak column" HeaderText="Hp10Peak" SortExpression="Hp10Peak" UniqueName="Hp10Peak">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="Hp07Peak" DataType="System.Double" FilterControlAltText="Filter Hp07Peak column" HeaderText="Hp07Peak" SortExpression="Hp07Peak" UniqueName="Hp07Peak">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="Hp10Time" DataType="System.DateTime" FilterControlAltText="Filter Hp10Time column" HeaderText="Hp10Time" SortExpression="Hp10Time" UniqueName="Hp10Time">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="Hp07Time" DataType="System.DateTime" FilterControlAltText="Filter Hp07Time column" HeaderText="Hp07Time" SortExpression="Hp07Time" UniqueName="Hp07Time">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="D1" DataType="System.Double" FilterControlAltText="Filter D1 column" HeaderText="D1" SortExpression="D1" UniqueName="D1">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="D2" DataType="System.Double" FilterControlAltText="Filter D2 column" HeaderText="D2" SortExpression="D2" UniqueName="D2">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="D3" DataType="System.Double" FilterControlAltText="Filter D3 column" HeaderText="D3" SortExpression="D3" UniqueName="D3">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="D4" DataType="System.Double" FilterControlAltText="Filter D4 column" HeaderText="D4" SortExpression="D4" UniqueName="D4">
|
||||
</telerik:GridBoundColumn>
|
||||
<telerik:GridBoundColumn DataField="ID_EPD" DataType="System.Int32" FilterControlAltText="Filter ID_EPD column" HeaderText="ID_EPD" SortExpression="ID_EPD" UniqueName="ID_EPD">
|
||||
</telerik:GridBoundColumn>
|
||||
</Columns>
|
||||
</MasterTableView>
|
||||
|
||||
</telerik:RadGrid>
|
||||
|
||||
<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="DosePersonSelect" SelectCommandType="StoredProcedure"
|
||||
UpdateCommand="Update Person set AccessAllow=@AccessAllow where (PersID = @PersID)">
|
||||
<SelectParameters>
|
||||
<asp:ControlParameter ControlID="cmbPerson" PropertyName="SelectedValue" Name="PersID" Type="Int32" />
|
||||
</SelectParameters>
|
||||
<UpdateParameters>
|
||||
<asp:Parameter Name="AccessAllow" DbType="Boolean" />
|
||||
<asp:ControlParameter ControlID="cmbPerson" PropertyName="SelectedValue" Name="PersID" Type="Int32" />
|
||||
</UpdateParameters>
|
||||
</asp:SqlDataSource>
|
||||
|
||||
<asp:SqlDataSource ID="sqlDSVisitPersId" runat="server" ConnectionString="<%$ ConnectionStrings:HPH_REMS_newConnectionString %>"
|
||||
SelectCommand="VisitPersIDSelect" SelectCommandType="StoredProcedure" >
|
||||
<SelectParameters>
|
||||
<asp:ControlParameter ControlID="cmbPerson" PropertyName="SelectedValue" Name="PersID" Type="Int32" DefaultValue="12925" />
|
||||
</SelectParameters>
|
||||
</asp:SqlDataSource>
|
||||
</asp:Content>
|
||||
39
Rems2018/Worker5.aspx.cs
Normal file
39
Rems2018/Worker5.aspx.cs
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
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 Worker5 : 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";
|
||||
|
||||
|
||||
}
|
||||
|
||||
protected bool isChecked(object b)
|
||||
{
|
||||
if (b is bool) return (bool)b; else return false;
|
||||
|
||||
}
|
||||
|
||||
|
||||
protected void cmbPerson_SelectedIndexChanged(object sender, Telerik.Web.UI.RadComboBoxSelectedIndexChangedEventArgs e)
|
||||
{
|
||||
RadDataForm1.DataBind();
|
||||
}
|
||||
|
||||
protected void cmbPerson_DataBound(object sender, EventArgs e)
|
||||
{
|
||||
RadDataForm1.DataBind();
|
||||
}
|
||||
}
|
||||
}
|
||||
78
Rems2018/Worker5.aspx.designer.cs
generated
Normal file
78
Rems2018/Worker5.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 Rems2018 {
|
||||
|
||||
|
||||
public partial class Worker5 {
|
||||
|
||||
/// <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>
|
||||
/// testds 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 testds;
|
||||
|
||||
/// <summary>
|
||||
/// gridVisits 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 gridVisits;
|
||||
|
||||
/// <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;
|
||||
|
||||
/// <summary>
|
||||
/// sqlDSVisitPersId 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 sqlDSVisitPersId;
|
||||
}
|
||||
}
|
||||
2
Rems2018/runsdvui.cmd
Normal file
2
Rems2018/runsdvui.cmd
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
cd /d "D:\l\src\asp.net\Rems\Rems2018" &msbuild "Rems2018.csproj" /t:sdvViewer /p:configuration="Debug" /p:platform="Any CPU" /p:SolutionDir="D:\l\src\asp.net\Rems"
|
||||
exit %errorlevel%
|
||||
Loading…
Add table
Reference in a new issue