bozza gest dett licenza utente
This commit is contained in:
@@ -646,7 +646,6 @@
|
||||
<Content Include="Scripts\umd\popper.min.js" />
|
||||
<Content Include="Test.aspx" />
|
||||
<Content Include="Test2.aspx" />
|
||||
<Content Include="UserLicMan.aspx" />
|
||||
<Content Include="Vocabolario.aspx" />
|
||||
<Content Include="WebMasterPages\AjaxSearch.master" />
|
||||
<Content Include="WebMasterPages\AjaxTitle.master" />
|
||||
@@ -660,7 +659,7 @@
|
||||
<Content Include="WebUserControls\cmp_righePag.ascx" />
|
||||
<Content Include="WebUserControls\cmp_toggle.ascx" />
|
||||
<Content Include="WebUserControls\cmp_userCard.ascx" />
|
||||
<Content Include="WebUserControls\cmp_UserLicAdmin.ascx" />
|
||||
<Content Include="WebUserControls\cmp_userLicense.ascx" />
|
||||
<Content Include="WebUserControls\cmp_vocabolario.ascx" />
|
||||
<Content Include="WebUserControls\mod_adminClienti.ascx" />
|
||||
<Content Include="WebUserControls\mod_adminDipendenti.ascx" />
|
||||
@@ -983,13 +982,6 @@
|
||||
<Compile Include="unauthorized.aspx.designer.cs">
|
||||
<DependentUpon>unauthorized.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="UserLicMan.aspx.cs">
|
||||
<DependentUpon>UserLicMan.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="UserLicMan.aspx.designer.cs">
|
||||
<DependentUpon>UserLicMan.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Vocabolario.aspx.cs">
|
||||
<DependentUpon>Vocabolario.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
@@ -1099,12 +1091,12 @@
|
||||
<Compile Include="WebUserControls\cmp_userCard.ascx.designer.cs">
|
||||
<DependentUpon>cmp_userCard.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\cmp_UserLicAdmin.ascx.cs">
|
||||
<DependentUpon>cmp_UserLicAdmin.ascx</DependentUpon>
|
||||
<Compile Include="WebUserControls\cmp_userLicense.ascx.cs">
|
||||
<DependentUpon>cmp_userLicense.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\cmp_UserLicAdmin.ascx.designer.cs">
|
||||
<DependentUpon>cmp_UserLicAdmin.ascx</DependentUpon>
|
||||
<Compile Include="WebUserControls\cmp_userLicense.ascx.designer.cs">
|
||||
<DependentUpon>cmp_userLicense.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\cmp_vocabolario.ascx.cs">
|
||||
<DependentUpon>cmp_vocabolario.ascx</DependentUpon>
|
||||
|
||||
@@ -1 +1,251 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_userLicense.ascx.cs" Inherits="GPW_Admin.WebUserControls.cmp_userLicense" %>
|
||||
|
||||
<asp:FormView runat="server" ID="frmView" DataSourceID="ods" DataKeyNames="idxDipendente">
|
||||
<EditItemTemplate>
|
||||
idxDipendente:
|
||||
<asp:Label ID="idxDipendenteLabel1" runat="server" Text='<%# Eval("idxDipendente") %>' />
|
||||
<br />
|
||||
matricola:
|
||||
<asp:TextBox ID="matricolaTextBox" runat="server" Text='<%# Bind("matricola") %>' />
|
||||
<br />
|
||||
CF:
|
||||
<asp:TextBox ID="CFTextBox" runat="server" Text='<%# Bind("CF") %>' />
|
||||
<br />
|
||||
Cognome:
|
||||
<asp:TextBox ID="CognomeTextBox" runat="server" Text='<%# Bind("Cognome") %>' />
|
||||
<br />
|
||||
Nome:
|
||||
<asp:TextBox ID="NomeTextBox" runat="server" Text='<%# Bind("Nome") %>' />
|
||||
<br />
|
||||
dataNascita:
|
||||
<asp:TextBox ID="dataNascitaTextBox" runat="server" Text='<%# Bind("dataNascita") %>' />
|
||||
<br />
|
||||
luogoNascita:
|
||||
<asp:TextBox ID="luogoNascitaTextBox" runat="server" Text='<%# Bind("luogoNascita") %>' />
|
||||
<br />
|
||||
provNascita:
|
||||
<asp:TextBox ID="provNascitaTextBox" runat="server" Text='<%# Bind("provNascita") %>' />
|
||||
<br />
|
||||
nazNascita:
|
||||
<asp:TextBox ID="nazNascitaTextBox" runat="server" Text='<%# Bind("nazNascita") %>' />
|
||||
<br />
|
||||
codHw:
|
||||
<asp:TextBox ID="codHwTextBox" runat="server" Text='<%# Bind("codHw") %>' />
|
||||
<br />
|
||||
codOrario:
|
||||
<asp:TextBox ID="codOrarioTextBox" runat="server" Text='<%# Bind("codOrario") %>' />
|
||||
<br />
|
||||
mailLastOp:
|
||||
<asp:CheckBox ID="mailLastOpCheckBox" runat="server" Checked='<%# Bind("mailLastOp") %>' />
|
||||
<br />
|
||||
mailDay:
|
||||
<asp:CheckBox ID="mailDayCheckBox" runat="server" Checked='<%# Bind("mailDay") %>' />
|
||||
<br />
|
||||
mailWeek:
|
||||
<asp:CheckBox ID="mailWeekCheckBox" runat="server" Checked='<%# Bind("mailWeek") %>' />
|
||||
<br />
|
||||
mailMonth:
|
||||
<asp:CheckBox ID="mailMonthCheckBox" runat="server" Checked='<%# Bind("mailMonth") %>' />
|
||||
<br />
|
||||
email:
|
||||
<asp:TextBox ID="emailTextBox" runat="server" Text='<%# Bind("email") %>' />
|
||||
<br />
|
||||
authKey:
|
||||
<asp:TextBox ID="authKeyTextBox" runat="server" Text='<%# Bind("authKey") %>' />
|
||||
<br />
|
||||
numAuth:
|
||||
<asp:TextBox ID="numAuthTextBox" runat="server" Text='<%# Bind("numAuth") %>' />
|
||||
<br />
|
||||
WOL_MAC:
|
||||
<asp:TextBox ID="WOL_MACTextBox" runat="server" Text='<%# Bind("WOL_MAC") %>' />
|
||||
<br />
|
||||
dominio:
|
||||
<asp:TextBox ID="dominioTextBox" runat="server" Text='<%# Bind("dominio") %>' />
|
||||
<br />
|
||||
utente:
|
||||
<asp:TextBox ID="utenteTextBox" runat="server" Text='<%# Bind("utente") %>' />
|
||||
<br />
|
||||
codDipendenteExt:
|
||||
<asp:TextBox ID="codDipendenteExtTextBox" runat="server" Text='<%# Bind("codDipendenteExt") %>' />
|
||||
<br />
|
||||
gruppo:
|
||||
<asp:TextBox ID="gruppoTextBox" runat="server" Text='<%# Bind("gruppo") %>' />
|
||||
<br />
|
||||
dataAssunzione:
|
||||
<asp:TextBox ID="dataAssunzioneTextBox" runat="server" Text='<%# Bind("dataAssunzione") %>' />
|
||||
<br />
|
||||
dataCessazione:
|
||||
<asp:TextBox ID="dataCessazioneTextBox" runat="server" Text='<%# Bind("dataCessazione") %>' />
|
||||
<br />
|
||||
attivo:
|
||||
<asp:CheckBox ID="attivoCheckBox" runat="server" Checked='<%# Bind("attivo") %>' />
|
||||
<br />
|
||||
<asp:LinkButton ID="UpdateButton" runat="server" CausesValidation="True" CommandName="Update" Text="Update" />
|
||||
<asp:LinkButton ID="UpdateCancelButton" runat="server" CausesValidation="False" CommandName="Cancel" Text="Cancel" />
|
||||
</EditItemTemplate>
|
||||
<InsertItemTemplate>
|
||||
matricola:
|
||||
<asp:TextBox ID="matricolaTextBox" runat="server" Text='<%# Bind("matricola") %>' />
|
||||
<br />
|
||||
CF:
|
||||
<asp:TextBox ID="CFTextBox" runat="server" Text='<%# Bind("CF") %>' />
|
||||
<br />
|
||||
Cognome:
|
||||
<asp:TextBox ID="CognomeTextBox" runat="server" Text='<%# Bind("Cognome") %>' />
|
||||
<br />
|
||||
Nome:
|
||||
<asp:TextBox ID="NomeTextBox" runat="server" Text='<%# Bind("Nome") %>' />
|
||||
<br />
|
||||
dataNascita:
|
||||
<asp:TextBox ID="dataNascitaTextBox" runat="server" Text='<%# Bind("dataNascita") %>' />
|
||||
<br />
|
||||
luogoNascita:
|
||||
<asp:TextBox ID="luogoNascitaTextBox" runat="server" Text='<%# Bind("luogoNascita") %>' />
|
||||
<br />
|
||||
provNascita:
|
||||
<asp:TextBox ID="provNascitaTextBox" runat="server" Text='<%# Bind("provNascita") %>' />
|
||||
<br />
|
||||
nazNascita:
|
||||
<asp:TextBox ID="nazNascitaTextBox" runat="server" Text='<%# Bind("nazNascita") %>' />
|
||||
<br />
|
||||
codHw:
|
||||
<asp:TextBox ID="codHwTextBox" runat="server" Text='<%# Bind("codHw") %>' />
|
||||
<br />
|
||||
codOrario:
|
||||
<asp:TextBox ID="codOrarioTextBox" runat="server" Text='<%# Bind("codOrario") %>' />
|
||||
<br />
|
||||
mailLastOp:
|
||||
<asp:CheckBox ID="mailLastOpCheckBox" runat="server" Checked='<%# Bind("mailLastOp") %>' />
|
||||
<br />
|
||||
mailDay:
|
||||
<asp:CheckBox ID="mailDayCheckBox" runat="server" Checked='<%# Bind("mailDay") %>' />
|
||||
<br />
|
||||
mailWeek:
|
||||
<asp:CheckBox ID="mailWeekCheckBox" runat="server" Checked='<%# Bind("mailWeek") %>' />
|
||||
<br />
|
||||
mailMonth:
|
||||
<asp:CheckBox ID="mailMonthCheckBox" runat="server" Checked='<%# Bind("mailMonth") %>' />
|
||||
<br />
|
||||
email:
|
||||
<asp:TextBox ID="emailTextBox" runat="server" Text='<%# Bind("email") %>' />
|
||||
<br />
|
||||
authKey:
|
||||
<asp:TextBox ID="authKeyTextBox" runat="server" Text='<%# Bind("authKey") %>' />
|
||||
<br />
|
||||
numAuth:
|
||||
<asp:TextBox ID="numAuthTextBox" runat="server" Text='<%# Bind("numAuth") %>' />
|
||||
<br />
|
||||
WOL_MAC:
|
||||
<asp:TextBox ID="WOL_MACTextBox" runat="server" Text='<%# Bind("WOL_MAC") %>' />
|
||||
<br />
|
||||
dominio:
|
||||
<asp:TextBox ID="dominioTextBox" runat="server" Text='<%# Bind("dominio") %>' />
|
||||
<br />
|
||||
utente:
|
||||
<asp:TextBox ID="utenteTextBox" runat="server" Text='<%# Bind("utente") %>' />
|
||||
<br />
|
||||
codDipendenteExt:
|
||||
<asp:TextBox ID="codDipendenteExtTextBox" runat="server" Text='<%# Bind("codDipendenteExt") %>' />
|
||||
<br />
|
||||
gruppo:
|
||||
<asp:TextBox ID="gruppoTextBox" runat="server" Text='<%# Bind("gruppo") %>' />
|
||||
<br />
|
||||
dataAssunzione:
|
||||
<asp:TextBox ID="dataAssunzioneTextBox" runat="server" Text='<%# Bind("dataAssunzione") %>' />
|
||||
<br />
|
||||
dataCessazione:
|
||||
<asp:TextBox ID="dataCessazioneTextBox" runat="server" Text='<%# Bind("dataCessazione") %>' />
|
||||
<br />
|
||||
attivo:
|
||||
<asp:CheckBox ID="attivoCheckBox" runat="server" Checked='<%# Bind("attivo") %>' />
|
||||
<br />
|
||||
<asp:LinkButton ID="InsertButton" runat="server" CausesValidation="True" CommandName="Insert" Text="Insert" />
|
||||
<asp:LinkButton ID="InsertCancelButton" runat="server" CausesValidation="False" CommandName="Cancel" Text="Cancel" />
|
||||
</InsertItemTemplate>
|
||||
<ItemTemplate>
|
||||
idxDipendente:
|
||||
<asp:Label ID="idxDipendenteLabel" runat="server" Text='<%# Eval("idxDipendente") %>' />
|
||||
<br />
|
||||
matricola:
|
||||
<asp:Label ID="matricolaLabel" runat="server" Text='<%# Bind("matricola") %>' />
|
||||
<br />
|
||||
CF:
|
||||
<asp:Label ID="CFLabel" runat="server" Text='<%# Bind("CF") %>' />
|
||||
<br />
|
||||
Cognome:
|
||||
<asp:Label ID="CognomeLabel" runat="server" Text='<%# Bind("Cognome") %>' />
|
||||
<br />
|
||||
Nome:
|
||||
<asp:Label ID="NomeLabel" runat="server" Text='<%# Bind("Nome") %>' />
|
||||
<br />
|
||||
dataNascita:
|
||||
<asp:Label ID="dataNascitaLabel" runat="server" Text='<%# Bind("dataNascita") %>' />
|
||||
<br />
|
||||
luogoNascita:
|
||||
<asp:Label ID="luogoNascitaLabel" runat="server" Text='<%# Bind("luogoNascita") %>' />
|
||||
<br />
|
||||
provNascita:
|
||||
<asp:Label ID="provNascitaLabel" runat="server" Text='<%# Bind("provNascita") %>' />
|
||||
<br />
|
||||
nazNascita:
|
||||
<asp:Label ID="nazNascitaLabel" runat="server" Text='<%# Bind("nazNascita") %>' />
|
||||
<br />
|
||||
codHw:
|
||||
<asp:Label ID="codHwLabel" runat="server" Text='<%# Bind("codHw") %>' />
|
||||
<br />
|
||||
codOrario:
|
||||
<asp:Label ID="codOrarioLabel" runat="server" Text='<%# Bind("codOrario") %>' />
|
||||
<br />
|
||||
mailLastOp:
|
||||
<asp:CheckBox ID="mailLastOpCheckBox" runat="server" Checked='<%# Bind("mailLastOp") %>' Enabled="false" />
|
||||
<br />
|
||||
mailDay:
|
||||
<asp:CheckBox ID="mailDayCheckBox" runat="server" Checked='<%# Bind("mailDay") %>' Enabled="false" />
|
||||
<br />
|
||||
mailWeek:
|
||||
<asp:CheckBox ID="mailWeekCheckBox" runat="server" Checked='<%# Bind("mailWeek") %>' Enabled="false" />
|
||||
<br />
|
||||
mailMonth:
|
||||
<asp:CheckBox ID="mailMonthCheckBox" runat="server" Checked='<%# Bind("mailMonth") %>' Enabled="false" />
|
||||
<br />
|
||||
email:
|
||||
<asp:Label ID="emailLabel" runat="server" Text='<%# Bind("email") %>' />
|
||||
<br />
|
||||
authKey:
|
||||
<asp:Label ID="authKeyLabel" runat="server" Text='<%# Bind("authKey") %>' />
|
||||
<br />
|
||||
numAuth:
|
||||
<asp:Label ID="numAuthLabel" runat="server" Text='<%# Bind("numAuth") %>' />
|
||||
<br />
|
||||
WOL_MAC:
|
||||
<asp:Label ID="WOL_MACLabel" runat="server" Text='<%# Bind("WOL_MAC") %>' />
|
||||
<br />
|
||||
dominio:
|
||||
<asp:Label ID="dominioLabel" runat="server" Text='<%# Bind("dominio") %>' />
|
||||
<br />
|
||||
utente:
|
||||
<asp:Label ID="utenteLabel" runat="server" Text='<%# Bind("utente") %>' />
|
||||
<br />
|
||||
codDipendenteExt:
|
||||
<asp:Label ID="codDipendenteExtLabel" runat="server" Text='<%# Bind("codDipendenteExt") %>' />
|
||||
<br />
|
||||
gruppo:
|
||||
<asp:Label ID="gruppoLabel" runat="server" Text='<%# Bind("gruppo") %>' />
|
||||
<br />
|
||||
dataAssunzione:
|
||||
<asp:Label ID="dataAssunzioneLabel" runat="server" Text='<%# Bind("dataAssunzione") %>' />
|
||||
<br />
|
||||
dataCessazione:
|
||||
<asp:Label ID="dataCessazioneLabel" runat="server" Text='<%# Bind("dataCessazione") %>' />
|
||||
<br />
|
||||
attivo:
|
||||
<asp:CheckBox ID="attivoCheckBox" runat="server" Checked='<%# Bind("attivo") %>' Enabled="false" />
|
||||
<br />
|
||||
</ItemTemplate>
|
||||
</asp:FormView>
|
||||
<asp:ObjectDataSource ID="ods" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByIdx" TypeName="GPW_data.DS_ApplicazioneTableAdapters.DipendentiTableAdapter">
|
||||
<SelectParameters>
|
||||
<asp:ControlParameter ControlID="hfIdxDip" DefaultValue="0" Name="idxDipendente" PropertyName="Value" Type="String" />
|
||||
</SelectParameters>
|
||||
</asp:ObjectDataSource>
|
||||
<asp:HiddenField runat="server" ID="hfIdxDip" />
|
||||
@@ -9,9 +9,30 @@ namespace GPW_Admin.WebUserControls
|
||||
{
|
||||
public partial class cmp_userLicense : System.Web.UI.UserControl
|
||||
{
|
||||
#region Public Properties
|
||||
|
||||
public int idxDipSel
|
||||
{
|
||||
get
|
||||
{
|
||||
int answ = 0;
|
||||
int.TryParse(hfIdxDip.Value, out answ);
|
||||
return answ;
|
||||
}
|
||||
set
|
||||
{
|
||||
hfIdxDip.Value = $"{value}";
|
||||
}
|
||||
}
|
||||
|
||||
#endregion Public Properties
|
||||
|
||||
#region Protected Methods
|
||||
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
#endregion Protected Methods
|
||||
}
|
||||
}
|
||||
+30
-2
@@ -3,14 +3,42 @@
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
|
||||
namespace GPW_Admin.WebUserControls
|
||||
{
|
||||
|
||||
|
||||
public partial class cmp_userLicense
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// frmView 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.FormView frmView;
|
||||
|
||||
/// <summary>
|
||||
/// ods 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.ObjectDataSource ods;
|
||||
|
||||
/// <summary>
|
||||
/// hfIdxDip 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 hfIdxDip;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -209,6 +209,18 @@
|
||||
</ItemTemplate>
|
||||
<EditItemTemplate>
|
||||
<asp:CheckBox ID="chkattivo" runat="server" Checked='<%# Bind("attivo") %>' Enabled="false" />
|
||||
<div class="d-flex">
|
||||
<div class="px-2 text-right">
|
||||
<asp:TextBox ID="txtdataAssunzione" runat="server" Text='<%# Bind("dataAssunzione","{0:yyyy/MM/dd}") %>' Width="8em" />
|
||||
<asp:CalendarExtender runat="server" FirstDayOfWeek="Monday" ID="ceDataAssunzione" TargetControlID="txtdataAssunzione" Format="yyyy/MM/dd" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="d-flex">
|
||||
<div class="px-2 text-right">
|
||||
<asp:TextBox ID="txtdataCessazione" runat="server" Text='<%# Bind("dataAssundataCessazionezione","{0:yyyy/MM/dd}") %>' Width="8em" />
|
||||
<asp:CalendarExtender runat="server" FirstDayOfWeek="Monday" ID="ceDataCessazione" TargetControlID="txtdataCessazione" Format="yyyy/MM/dd" />
|
||||
</div>
|
||||
</div>
|
||||
</EditItemTemplate>
|
||||
<FooterTemplate>
|
||||
<asp:CheckBox ID="chkattivo" runat="server" Checked='<%# Bind("attivo") %>' Enabled="false" />
|
||||
|
||||
@@ -14,6 +14,20 @@ namespace GPW_Admin.WebUserControls
|
||||
{
|
||||
#region Public Properties
|
||||
|
||||
public int IdxDipSel
|
||||
{
|
||||
get
|
||||
{
|
||||
int answ = 0;
|
||||
if (grView.SelectedIndex >= 0)
|
||||
{
|
||||
var rawIdx = grView.SelectedValue.ToString();
|
||||
int.TryParse(rawIdx, out answ);
|
||||
}
|
||||
return answ;
|
||||
}
|
||||
}
|
||||
|
||||
public int numLicenze
|
||||
{
|
||||
get => licenzeGPW.licenzeAttive;
|
||||
@@ -117,6 +131,7 @@ namespace GPW_Admin.WebUserControls
|
||||
protected void grView_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
// mostro gestione licenza DIP
|
||||
raiseAddNew();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
<%@ Register Src="~/WebUserControls/mod_pageSize.ascx" TagPrefix="uc1" TagName="mod_pageSize" %>
|
||||
<%@ Register Src="~/WebUserControls/cmp_userCard.ascx" TagPrefix="uc1" TagName="cmp_userCard" %>
|
||||
<%@ Register Src="~/WebUserControls/cmp_toggle.ascx" TagPrefix="uc1" TagName="cmp_toggle" %>
|
||||
<%@ Register Src="~/WebUserControls/cmp_userLicense.ascx" TagPrefix="uc1" TagName="cmp_userLicense" %>
|
||||
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="cph1" runat="server">
|
||||
<div class="card m-2">
|
||||
@@ -21,6 +22,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<uc1:cmp_userLicense runat="server" id="cmp_userLicense" />
|
||||
<uc1:mod_adminDipendenti ID="mod_adminDipendenti1" runat="server" />
|
||||
<uc1:cmp_userCard runat="server" ID="cmp_userCard" />
|
||||
</div>
|
||||
|
||||
@@ -9,6 +9,22 @@ namespace GPW_Admin
|
||||
{
|
||||
public partial class dipendenti : BasePage
|
||||
{
|
||||
#region Protected Properties
|
||||
|
||||
protected int IdxDipSel
|
||||
{
|
||||
get
|
||||
{
|
||||
return cmp_userLicense.idxDipSel;
|
||||
}
|
||||
set
|
||||
{
|
||||
cmp_userLicense.idxDipSel = value;
|
||||
}
|
||||
}
|
||||
|
||||
#endregion Protected Properties
|
||||
|
||||
#region Private Methods
|
||||
|
||||
private void Cmp_toggleCards_ehToggle(object sender, EventArgs e)
|
||||
@@ -29,10 +45,18 @@ namespace GPW_Admin
|
||||
cmp_toggleLinkExt.Visible = cmp_toggleCards.toggleValue;
|
||||
cmp_userCard.showAll = mod_adminDipendenti1.showAll;
|
||||
cmp_userCard.showExt = cmp_toggleLinkExt.toggleValue;
|
||||
cmp_userLicense.Visible = IdxDipSel > 0;
|
||||
}
|
||||
|
||||
private void Mod_adminDipendenti1_eh_resetSelezione(object sender, EventArgs e)
|
||||
private void Mod_adminDipendenti1_eh_addNew(object sender, EventArgs e)
|
||||
{
|
||||
IdxDipSel = mod_adminDipendenti1.IdxDipSel;
|
||||
fixDisplay();
|
||||
}
|
||||
|
||||
private void Mod_adminDipendenti1_eh_doReset(object sender, EventArgs e)
|
||||
{
|
||||
IdxDipSel = 0;
|
||||
fixDisplay();
|
||||
}
|
||||
|
||||
@@ -57,9 +81,10 @@ namespace GPW_Admin
|
||||
fixDisplay();
|
||||
}
|
||||
mod_pageSize.eh_nuovaSize += Mod_pageSize_eh_nuovaSize;
|
||||
mod_adminDipendenti1.eh_doReset += Mod_adminDipendenti1_eh_resetSelezione;
|
||||
cmp_toggleCards.ehToggle += Cmp_toggleCards_ehToggle;
|
||||
cmp_toggleLinkExt.ehToggle += Cmp_toggleLinkExt_ehToggle;
|
||||
mod_adminDipendenti1.eh_addNew += Mod_adminDipendenti1_eh_addNew;
|
||||
mod_adminDipendenti1.eh_doReset += Mod_adminDipendenti1_eh_doReset;
|
||||
}
|
||||
|
||||
#endregion Protected Methods
|
||||
|
||||
Generated
+9
@@ -32,6 +32,15 @@ namespace GPW_Admin
|
||||
/// </remarks>
|
||||
protected global::GPW_Admin.WebUserControls.cmp_toggle cmp_toggleLinkExt;
|
||||
|
||||
/// <summary>
|
||||
/// cmp_userLicense control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::GPW_Admin.WebUserControls.cmp_userLicense cmp_userLicense;
|
||||
|
||||
/// <summary>
|
||||
/// mod_adminDipendenti1 control.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user