inizio fix edit attività

This commit is contained in:
Samuele E. Locatelli
2019-10-04 09:47:30 +02:00
parent 0e0cc22c0d
commit f5b1a1e45e
4 changed files with 22 additions and 42 deletions
@@ -191,7 +191,7 @@ namespace GPW.WebUserControls
DataProxy.DP.taRA.clonaRecord(idxRa);
//update!
setupPage();
repRegAtt.DataBind();
grView.DataBind();
}
protected void lnkCreateNew_Click(object sender, EventArgs e)
{
@@ -199,19 +199,6 @@ namespace GPW.WebUserControls
// redirect!
Response.Redirect("attivitaIns.aspx");
}
#if false
/// <summary>
/// aggiorno data selezionata!
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void calDataRif_SelectionChanged(object sender, EventArgs e)
{
dataRif = calDataRif.SelectedDate;
setupPage();
repRegAtt.DataBind();
}
#endif
protected void txtData_TextChanged(object sender, EventArgs e)
{
@@ -219,7 +206,7 @@ namespace GPW.WebUserControls
DateTime.TryParse(txtData.Text, out newData);
dataRif = newData;
setupPage();
repRegAtt.DataBind();
grView.DataBind();
}
}
}
+6 -11
View File
@@ -1,12 +1,7 @@
<%@ Page Title="" Language="C#" MasterPageFile="~/WebMasterPages/JQMob.Master" Culture="it-IT" AutoEventWireup="true" CodeBehind="attivitaIns.aspx.cs" Inherits="GPW_Smart.attivitaIns" %>
<%@ Register src="~/WebUserControls/mod_attivitaIns.ascx" tagname="mod_attivitaIns" tagprefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<uc1:mod_attivitaIns ID="mod_attivitaIns1" runat="server" />
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="btOptContent" runat="server">
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="sxOptContent" runat="server">
</asp:Content>
<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" Culture="it-IT" AutoEventWireup="true" CodeBehind="attivitaIns.aspx.cs" Inherits="GPW_Smart.attivitaIns" %>
<%@ Register Src="~/WebUserControls/mod_attivitaIns.ascx" TagName="mod_attivitaIns" TagPrefix="uc1" %>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<uc1:mod_attivitaIns ID="mod_attivitaIns1" runat="server" />
</asp:Content>
+6 -8
View File
@@ -1,14 +1,12 @@
using GPW.WebMasterPages;
using System;
using System;
namespace GPW_Smart
{
public partial class attivitaIns : System.Web.UI.Page
public partial class attivitaIns : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
protected void Page_Load(object sender, EventArgs e)
{
((JQMob)Master).showSettings = false;
((JQMob)Master).showLeftPnl = false;
}
((Site)Master).showSearch = false;
}
}
}
+8 -8
View File
@@ -1,10 +1,10 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// <generato automaticamente>
// Codice generato da uno strumento.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
// il codice viene rigenerato.
// </generato automaticamente>
//------------------------------------------------------------------------------
namespace GPW_Smart {
@@ -13,11 +13,11 @@ namespace GPW_Smart {
public partial class attivitaIns {
/// <summary>
/// mod_attivitaIns1 control.
/// Controllo mod_attivitaIns1.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::GPW.WebUserControls.mod_attivitaIns mod_attivitaIns1;
}