bozza iniziale elenco commesse

This commit is contained in:
Samuele Locatelli
2013-07-09 17:38:57 +02:00
parent c35415543f
commit 394fab5443
18 changed files with 759 additions and 618 deletions
+27 -4
View File
@@ -2287,7 +2287,7 @@ namespace ETS_Data.DS_utilsProjEtsTableAdapters {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitCommandCollection() {
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[3];
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[4];
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = "SELECT value, label, conditio, Attivo FROM dbo.v_selProgetti";
@@ -2301,10 +2301,16 @@ namespace ETS_Data.DS_utilsProjEtsTableAdapters {
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@soloAttivi", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[2].Connection = this.Connection;
this._commandCollection[2].CommandText = "dbo.stp_VSPrj";
this._commandCollection[2].CommandText = "dbo.stp_VSPrj_byValue";
this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@soloAttivi", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@value", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[3].Connection = this.Connection;
this._commandCollection[3].CommandText = "dbo.stp_VSPrj";
this._commandCollection[3].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@soloAttivi", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -2358,8 +2364,25 @@ namespace ETS_Data.DS_utilsProjEtsTableAdapters {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
public virtual DS_utilsProjEts.v_selProgettiDataTable getGrouped(global::System.Nullable<bool> soloAttivi) {
public virtual DS_utilsProjEts.v_selProgettiDataTable getByValue(global::System.Nullable<int> value) {
this.Adapter.SelectCommand = this.CommandCollection[2];
if ((value.HasValue == true)) {
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(value.Value));
}
else {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
}
DS_utilsProjEts.v_selProgettiDataTable dataTable = new DS_utilsProjEts.v_selProgettiDataTable();
this.Adapter.Fill(dataTable);
return dataTable;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
public virtual DS_utilsProjEts.v_selProgettiDataTable getGrouped(global::System.Nullable<bool> soloAttivi) {
this.Adapter.SelectCommand = this.CommandCollection[3];
if ((soloAttivi.HasValue == true)) {
this.Adapter.SelectCommand.Parameters[1].Value = ((bool)(soloAttivi.Value));
}
+15 -4
View File
@@ -77,6 +77,17 @@
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="ETS_PROJConnectionString (Settings)" DbObjectName="ETS_PROJ.dbo.stp_VSPrj_byValue" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByValue" GetMethodModifier="Public" GetMethodName="getByValue" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByValue" UserSourceName="getByValue">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_VSPrj_byValue</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@value" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="ETS_PROJConnectionString (Settings)" DbObjectName="[ETS-PROJ].dbo.stp_VSPrj" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getGrouped" GetMethodModifier="Public" GetMethodName="getGrouped" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getGrouped" UserSourceName="getGrouped">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
@@ -145,7 +156,7 @@
<xs:element name="DS_utilsProjEts" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="DS_utilsProjEts" msprop:Generator_UserDSName="DS_utilsProjEts">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="v_selClienti" msprop:Generator_TableClassName="v_selClientiDataTable" msprop:Generator_TableVarName="tablev_selClienti" msprop:Generator_TablePropName="v_selClienti" msprop:Generator_RowDeletingName="v_selClientiRowDeleting" msprop:Generator_RowChangingName="v_selClientiRowChanging" msprop:Generator_RowEvHandlerName="v_selClientiRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selClientiRowDeleted" msprop:Generator_UserTableName="v_selClienti" msprop:Generator_RowChangedName="v_selClientiRowChanged" msprop:Generator_RowEvArgName="v_selClientiRowChangeEvent" msprop:Generator_RowClassName="v_selClientiRow">
<xs:element name="v_selClienti" msprop:Generator_TableClassName="v_selClientiDataTable" msprop:Generator_TableVarName="tablev_selClienti" msprop:Generator_RowChangedName="v_selClientiRowChanged" msprop:Generator_TablePropName="v_selClienti" msprop:Generator_RowDeletingName="v_selClientiRowDeleting" msprop:Generator_RowChangingName="v_selClientiRowChanging" msprop:Generator_RowEvHandlerName="v_selClientiRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selClientiRowDeleted" msprop:Generator_RowClassName="v_selClientiRow" msprop:Generator_UserTableName="v_selClienti" msprop:Generator_RowEvArgName="v_selClientiRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value" type="xs:int" />
@@ -159,7 +170,7 @@
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_selProgetti" msprop:Generator_TableClassName="v_selProgettiDataTable" msprop:Generator_TableVarName="tablev_selProgetti" msprop:Generator_TablePropName="v_selProgetti" msprop:Generator_RowDeletingName="v_selProgettiRowDeleting" msprop:Generator_RowChangingName="v_selProgettiRowChanging" msprop:Generator_RowEvHandlerName="v_selProgettiRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selProgettiRowDeleted" msprop:Generator_UserTableName="v_selProgetti" msprop:Generator_RowChangedName="v_selProgettiRowChanged" msprop:Generator_RowEvArgName="v_selProgettiRowChangeEvent" msprop:Generator_RowClassName="v_selProgettiRow">
<xs:element name="v_selProgetti" msprop:Generator_TableClassName="v_selProgettiDataTable" msprop:Generator_TableVarName="tablev_selProgetti" msprop:Generator_RowChangedName="v_selProgettiRowChanged" msprop:Generator_TablePropName="v_selProgetti" msprop:Generator_RowDeletingName="v_selProgettiRowDeleting" msprop:Generator_RowChangingName="v_selProgettiRowChanging" msprop:Generator_RowEvHandlerName="v_selProgettiRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selProgettiRowDeleted" msprop:Generator_RowClassName="v_selProgettiRow" msprop:Generator_UserTableName="v_selProgetti" msprop:Generator_RowEvArgName="v_selProgettiRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value" type="xs:int" />
@@ -175,7 +186,7 @@
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_selCommesse" msprop:Generator_TableClassName="v_selCommesseDataTable" msprop:Generator_TableVarName="tablev_selCommesse" msprop:Generator_RowChangedName="v_selCommesseRowChanged" msprop:Generator_TablePropName="v_selCommesse" msprop:Generator_RowDeletingName="v_selCommesseRowDeleting" msprop:Generator_RowChangingName="v_selCommesseRowChanging" msprop:Generator_RowEvHandlerName="v_selCommesseRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selCommesseRowDeleted" msprop:Generator_RowClassName="v_selCommesseRow" msprop:Generator_UserTableName="v_selCommesse" msprop:Generator_RowEvArgName="v_selCommesseRowChangeEvent">
<xs:element name="v_selCommesse" msprop:Generator_TableClassName="v_selCommesseDataTable" msprop:Generator_TableVarName="tablev_selCommesse" msprop:Generator_TablePropName="v_selCommesse" msprop:Generator_RowDeletingName="v_selCommesseRowDeleting" msprop:Generator_RowChangingName="v_selCommesseRowChanging" msprop:Generator_RowEvHandlerName="v_selCommesseRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selCommesseRowDeleted" msprop:Generator_UserTableName="v_selCommesse" msprop:Generator_RowChangedName="v_selCommesseRowChanged" msprop:Generator_RowEvArgName="v_selCommesseRowChangeEvent" msprop:Generator_RowClassName="v_selCommesseRow">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value" type="xs:int" />
@@ -190,7 +201,7 @@
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_selCC" msprop:Generator_TableClassName="v_selCCDataTable" msprop:Generator_TableVarName="tablev_selCC" msprop:Generator_TablePropName="v_selCC" msprop:Generator_RowDeletingName="v_selCCRowDeleting" msprop:Generator_RowChangingName="v_selCCRowChanging" msprop:Generator_RowEvHandlerName="v_selCCRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selCCRowDeleted" msprop:Generator_UserTableName="v_selCC" msprop:Generator_RowChangedName="v_selCCRowChanged" msprop:Generator_RowEvArgName="v_selCCRowChangeEvent" msprop:Generator_RowClassName="v_selCCRow">
<xs:element name="v_selCC" msprop:Generator_TableClassName="v_selCCDataTable" msprop:Generator_TableVarName="tablev_selCC" msprop:Generator_RowChangedName="v_selCCRowChanged" msprop:Generator_TablePropName="v_selCC" msprop:Generator_RowDeletingName="v_selCCRowDeleting" msprop:Generator_RowChangingName="v_selCCRowChanging" msprop:Generator_RowEvHandlerName="v_selCCRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selCCRowDeleted" msprop:Generator_RowClassName="v_selCCRow" msprop:Generator_UserTableName="v_selCC" msprop:Generator_RowEvArgName="v_selCCRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="label" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn" msprop:Generator_UserColumnName="label" minOccurs="0">
+1 -1
View File
@@ -7,7 +7,7 @@
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="0" ViewPortY="0" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<Shapes>
<Shape ID="DesignTable:v_selClienti" ZOrder="4" X="70" Y="70" Height="153" Width="209" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:v_selProgetti" ZOrder="3" X="430" Y="128" Height="191" Width="254" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
<Shape ID="DesignTable:v_selProgetti" ZOrder="3" X="430" Y="128" Height="210" Width="254" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
<Shape ID="DesignTable:v_selCommesse" ZOrder="2" X="833" Y="226" Height="153" Width="234" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
<Shape ID="DesignTable:v_selCC" ZOrder="1" X="279" Y="433" Height="115" Width="187" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
</Shapes>
+3
View File
@@ -20,6 +20,7 @@ namespace ETS_Data
public Ds_ProjEtsTableAdapters.DatiCommIntegTableAdapter taDCI;
/* DS_utilsProjEts */
public DS_utilsProjEtsTableAdapters.v_selClientiTableAdapter taSelCli;
public DS_utilsProjEtsTableAdapters.v_selProgettiTableAdapter taSelPro;
/// <summary>
/// init dei table adapters
@@ -32,6 +33,7 @@ namespace ETS_Data
taDCF = new Ds_ProjEtsTableAdapters.DatiCommFornTableAdapter();
taDCI = new Ds_ProjEtsTableAdapters.DatiCommIntegTableAdapter();
taSelCli = new DS_utilsProjEtsTableAdapters.v_selClientiTableAdapter();
taSelPro = new DS_utilsProjEtsTableAdapters.v_selProgettiTableAdapter();
}
/// <summary>
/// effettua setup dei connection strings da web.config delal singola applicazione
@@ -45,6 +47,7 @@ namespace ETS_Data
taDCF.Connection.ConnectionString = utils.obj.confReadString("ETS_PROJConnectionString");
taDCI.Connection.ConnectionString = utils.obj.confReadString("ETS_PROJConnectionString");
taSelCli.Connection.ConnectionString = utils.obj.confReadString("ETS_PROJConnectionString");
taSelPro.Connection.ConnectionString = utils.obj.confReadString("ETS_PROJConnectionString");
}
#endregion
+6
View File
@@ -0,0 +1,6 @@
<%@ Page Title="" Language="C#" MasterPageFile="~/WebMasterPages/Progetti.master" AutoEventWireup="true" CodeBehind="Commesse.aspx.cs" Inherits="PROJ_ETS.Commesse" %>
<%@ Register Src="WebUserControls/mod_commesse.ascx" TagName="mod_commesse" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="Contenuto" runat="server">
<uc1:mod_commesse ID="mod_commesse1" runat="server" />
</asp:Content>
+18
View File
@@ -0,0 +1,18 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using ETS_Data;
namespace PROJ_ETS
{
public partial class Commesse : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
utils.obj.setSessionVal("idxProgetto_sel", 0);
}
}
}
+24
View File
@@ -0,0 +1,24 @@
//------------------------------------------------------------------------------
// <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 PROJ_ETS {
public partial class Commesse {
/// <summary>
/// mod_commesse1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::PROJ_ETS.WebUserControls.mod_commesse mod_commesse1;
}
}
+8
View File
@@ -113,6 +113,7 @@
<Content Include="Admin.aspx" />
<Content Include="App_Readme\Elmah.txt" />
<Content Include="Bazaar.aspx" />
<Content Include="Commesse.aspx" />
<Content Include="Contact.aspx" />
<Content Include="Content\Site.css" />
<Content Include="Content\Style.css">
@@ -367,6 +368,13 @@
<Compile Include="Bazaar.aspx.designer.cs">
<DependentUpon>Bazaar.aspx</DependentUpon>
</Compile>
<Compile Include="Commesse.aspx.cs">
<DependentUpon>Commesse.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="Commesse.aspx.designer.cs">
<DependentUpon>Commesse.aspx</DependentUpon>
</Compile>
<Compile Include="Contact.aspx.cs">
<DependentUpon>Contact.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
+2 -2
View File
@@ -9,8 +9,8 @@
<div class="divSx">
<uc1:mod_progetti ID="mod_progetti1" runat="server" />
</div>
<div class="divSx">
<div style="height: 46px"></div>
<div class="divSx" style="width: 600px;">
<div style="height: 46px;"></div>
<uc2:mod_commesse ID="mod_commesse1" runat="server" Visible="false" enableNewFromEmpty="true" />
<div style="text-align: center; margin: auto;">
<asp:Button runat="server" ID="btnSposta" Text="Sposta/Clona Commesse e fasi" Visible="false" CssClass="btnMoveBig ui-corner-all" ToolTip="Spostamento Commesse e Fasi" OnClick="btnSposta_Click" />
+6 -5
View File
@@ -1,12 +1,13 @@
<?xml version="1.0" encoding="utf-8" ?>
<siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" >
<siteMapNode url="Menu" title="Home" description="ETS - WebScip">
<siteMapNode url="Progetti" title="Anagrafica Progetti" description="Gestione Progetti e Commesse" />
<siteMapNode url="Progetti" title="Anagr. Progetti" description="Gestione Progetti e Commesse" />
<siteMapNode url="Commesse" title="Anagr. Commesse" description="Elenco Commesse" />
<siteMapNode url="SpostaCommesse" title="Sposta Commesse" description="Gestione assegnazione Commesse/Progetti" />
<siteMapNode url="DatiCommessa" title="Dettaglio Commessa" description="Gestione Dati dettaglio Commessa" />
<siteMapNode url="DatiCommessa" title="Dettagli Commessa" description="Gestione Dati dettaglio Commessa" />
<siteMapNode url="FasiCommessa" title="Fasi Commessa" description="Gestione Fasi della Commessa" />
<siteMapNode url="IntegrazioniCommessa" title="Integrazioni Commessa" description="Gestione Integrazioni Commessa" />
<siteMapNode url="FornitoriCommessa" title="Fornitori Commessa" description="Gestione Fornitori Commessa" />
<siteMapNode url="RiepilogoCommessa" title="Riepilogo Commessa" description="Riepilogo Commessa" />
<siteMapNode url="IntegrazioniCommessa" title="Integr. Commessa" description="Gestione Integrazioni Commessa" />
<siteMapNode url="FornitoriCommessa" title="Fornit. Commessa" description="Gestione Fornitori Commessa" />
<siteMapNode url="RiepilogoCommessa" title="Riepil. Commessa" description="Riepilogo Commessa" />
</siteMapNode>
</siteMap>
@@ -2,7 +2,7 @@
<div class="fontPiccolo">
<asp:GridView ID="grView" runat="server" AllowSorting="True" AllowPaging="True" AutoGenerateColumns="False" CellPadding="4"
DataKeyNames="idxFase" DataSourceID="ods" ForeColor="#333333" GridLines="None" OnDataBound="grView_DataBound"
OnSelectedIndexChanged="grView_SelectedIndexChanged" PageSize="20" OnRowUpdating="grView_RowUpdating">
OnSelectedIndexChanged="grView_SelectedIndexChanged" PageSize="20" OnRowUpdating="grView_RowUpdating" Width="100%">
<AlternatingRowStyle CssClass="alternatingRowStyle" />
<EditRowStyle CssClass="editRowStyle" />
<FooterStyle CssClass="footerStyle" ForeColor="White" />
@@ -48,11 +48,11 @@
<asp:Image runat="server" ID="imgSpaz" Width='<%# widthByCod(Eval("codFase")) %>' ImageUrl="~/images/EmptyImg.png" />
</div>
<div class="divSx">
<div style="text-align: left; padding: 2px 3px 2px 3px; width: 300px;" class='<%# classByCod(Eval("codFase")) %>'>
<div style="text-align: left; padding: 2px 3px 2px 3px;" class='<%# classByCod(Eval("codFase")) %>'>
<asp:Label ID="nomeFaseLabel" runat="server" Text='<%# Eval("nomeFase") %>' Font-Strikeout='<%# invBool(Eval("Attivo")) %>'
Font-Bold="true" />
Font-Bold="true" ToolTip='<%# condShowProj(Eval("idxProgetto")) %>' />
</div>
<div class="textGrigio" style="text-align: left; padding: 2px 3px 2px 3px; width: 300px;">
<div class="textGrigio" style="text-align: left; padding: 2px 3px 2px 3px;">
<asp:Label ID="descrizioneFaseLabel" runat="server" Text='<%# Eval("descrizioneFase") %>' Font-Size="7pt" />
</div>
</div>
File diff suppressed because it is too large Load Diff
@@ -1,5 +1,5 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_menuProj.ascx.cs" Inherits="PROJ_ETS.WebUserControls.mod_menuProj" %>
<asp:Menu ID="MenuNavPrj" runat="server" DataSourceID="NavProgetti" Orientation="Horizontal" RenderingMode="List" Width="100%">
<StaticMenuItemStyle VerticalPadding="0.5em" HorizontalPadding="0.6em" CssClass="menuNav" Font-Size="0.9em" />
<StaticMenuItemStyle VerticalPadding="0.5em" HorizontalPadding="0.6em" CssClass="menuNav" Font-Size="0.9em" Width="120px" />
</asp:Menu>
<asp:SiteMapDataSource ID="NavProgetti" runat="server" SiteMapProvider="Progetti" ShowStartingNode="false" />
@@ -4,16 +4,25 @@
<asp:HyperLink runat="server" ID="hlDatiCom" NavigateUrl="~/DatiCommessa">
<asp:Label runat="server" ID="lblDatiCom" Text="Dettaglio commessa" AssociatedControlID="imgDatiCom" />
<asp:Image ID="imgDatiCom" runat="server" ImageUrl="~/Images/DettaglioCommessa.png" CssClass="ui-corner-all shadowBox bordoGrigio" ToolTip="Dettaglio commessa" />
</asp:HyperLink></div><div class="divSx" style="padding: 2px;">
</asp:HyperLink>
</div>
<div class="divSx" style="padding: 2px;">
<asp:HyperLink runat="server" ID="hlFasi" NavigateUrl="~/FasiCommessa">
<asp:Label runat="server" ID="lblFasi" Text="Fasi commessa" AssociatedControlID="imgFasi" />
<asp:Image ID="imgFasi" runat="server" ImageUrl="~/Images/fasi.png" CssClass="ui-corner-all shadowBox bordoGrigio" ToolTip="Fasi commessa" />
</asp:HyperLink></div><div class="clearDiv divSx" style="padding: 2px;">
</asp:HyperLink>
</div>
<div class="clearDiv divSx" style="padding: 2px;">
<asp:HyperLink runat="server" ID="hlIntegrazioni" NavigateUrl="~/IntegrazioniCommessa">
<asp:Label runat="server" ID="lblInteg" Text="Integrazioni commessa" AssociatedControlID="imgIntegr" />
<asp:Image ID="imgIntegr" runat="server" ImageUrl="~/Images/integrazioni.png" CssClass="ui-corner-all shadowBox bordoGrigio" ToolTip="Integrazioni commessa" />
</asp:HyperLink></div><div class="divSx" style="padding: 2px;">
</asp:HyperLink>
</div>
<div class="divSx" style="padding: 2px;">
<asp:HyperLink runat="server" ID="hlFornitori" NavigateUrl="~/FornitoriCommessa">
<asp:Label runat="server" ID="lblForn" Text="Fornitori commessa" AssociatedControlID="imgForn" />
<asp:Image ID="imgForn" runat="server" ImageUrl="~/Images/fornitori.png" CssClass="ui-corner-all shadowBox bordoGrigio" ToolTip="Fornitori commessa" />
</asp:HyperLink></div></div>
</asp:HyperLink>
</div>
</div>
@@ -12,7 +12,7 @@ namespace PROJ_ETS.WebUserControls
{
#region area protected
protected string _periodo = "Periodo";
protected intervalloDate _intervallo;
/// <summary>
@@ -178,7 +178,10 @@ namespace PROJ_ETS.WebUserControls
}
protected void Page_Load(object sender, EventArgs e)
{
lblPeriodo.Text = "Periodo";
if (!Page.IsPostBack)
{
lblPeriodo.Text = _periodo;
}
txtInizio.ToolTip = "inizio periodo di riferimento per i dati mostrati";
txtFine.ToolTip = "fine periodo di riferimento per i dati mostrati";
lblDurataMin.Text = "Visualizza eventi con durata superiore a";
@@ -328,6 +331,20 @@ namespace PROJ_ETS.WebUserControls
return true;
}
public string labelPeriodo
{
get
{
return _periodo;
//return lblPeriodo.Text;
}
set
{
_periodo = value;
lblPeriodo.Text = value;
}
}
#region gestione eventi
public event EventHandler eh_doUpdate;
@@ -13,7 +13,7 @@
<asp:CheckBox ID="chkShowVuoti" runat="server" Text="Mostra [V]uoti" AutoPostBack="True" CheckedChanged="chkShowVuoti_CheckedChanged" Checked="true" AccessKey="v" TextAlign="Left" />
</div>
<div class="divSx filtro_2 ui-corner-all" style="padding: 3px; margin-right: 4px; height: 32px;">
<uc1:mod_periodoAnalisi ID="mod_periodoAnalisi1" runat="server" realtimeUpdate="true" />
<uc1:mod_periodoAnalisi ID="mod_periodoAnalisi1" runat="server" realtimeUpdate="true" labelPeriodo="Periodo (Resoconto Ore)" />
</div>
</div>
Binary file not shown.
Binary file not shown.