completato revisione x gestione ritiro usato/piano/ascensore tutti OBBLIGATORI
This commit is contained in:
Binary file not shown.
@@ -1,59 +1,61 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_ImpegnoSmall.ascx.cs" Inherits="WebSCR.WebUserControls.mod_ImpegnoSmall" %>
|
||||
|
||||
<div style="border: 1px solid #696969" class="ui-shadow ui-corner-all">
|
||||
<asp:FormView ID="frmViewImpegni" runat="server" DataKeyNames="IdxImpegno" DataSourceID="odsImpegni" Width="100%">
|
||||
<ItemTemplate>
|
||||
<div style="clear: both; font-size: 0.9em;">
|
||||
<div>
|
||||
<div class="flLeft" style="font-size: 0.75em; width: 55%;">
|
||||
<div>
|
||||
<asp:Label CssClass="tStrong flLeft" ID="CognomeLabel" runat="server" Text='<%# Eval("RagSoc") %>' />
|
||||
</div>
|
||||
<div style="clear: both; font-size: 1.2em;">
|
||||
<asp:Label CssClass="flLeft" ID="Tel" runat="server" Text='<%# Eval("Tel","Tel/Cell: {0}") %>' />
|
||||
</div>
|
||||
</div>
|
||||
<div class="flRight" style="font-size: 0.8em; width: 45%;">
|
||||
<div class="flRight" style="clear: both;">
|
||||
<asp:Label ID="lblTipoOra" runat="server" Text='<%# Eval("TipoOrario","{0} ") %>' ForeColor="#ACACAC" Font-Size="0.8em" />
|
||||
<asp:Label ID="lblDataOra" runat="server" Text='<%# Eval("DataOra","{0:dd/MM HH:mm}") %>' ForeColor="#ACACAC" Visible='<%# !notNull(Eval("InizioInt")) %>' Width="9em" />
|
||||
<asp:Label ID="lblInizioInt" runat="server" Text='<%# Eval("InizioInt","<b>{0:dd/MM HH:mm}</b> Inizio") %>' ForeColor="#333333" Visible='<%# notNull(Eval("InizioInt")) %>' Width="9em" />
|
||||
</div>
|
||||
<div class="flRight" style="clear: both;">
|
||||
<asp:Label ID="lblMinViaggio" runat="server" Text='<%# Eval("MinViaggio","{0}") %>' />'<i class="fa fa-truck"></i>
|
||||
<asp:Label ID="lblMinTotCons" runat="server" Text='<%# Eval("MinTotCons","{0}") %>' />'<i class="fa fa-wrench"></i>
|
||||
<asp:Label ID="lblFinePrev" runat="server" Text='<%# Eval("FinePrev","{0:dd/MM HH:mm}") %>' ForeColor="#ACACAC" Visible='<%# !notNull(Eval("FineInt")) %>' Width="9em" />
|
||||
<asp:Label ID="lblFineInt" runat="server" Text='<%# Eval("FineInt","<b>{0:dd/MM HH:mm}</b> Fine") %>' ForeColor="#333333" Visible='<%# notNull(Eval("FineInt")) %>' Width="9em" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<div class="flLeft" style="font-size: 0.75em; width: 100%;">
|
||||
<div>
|
||||
<asp:Label CssClass="flLeft" ID="CapLabel" runat="server" Text='<%# string.Format("{0} | {1} - {2} ({3})",Eval("Indir") , Eval("Cap"), Eval("Localita"), Eval("Prov")) %>' />
|
||||
</div>
|
||||
<div style="clear: both;">
|
||||
<div class="flLeft" style="font-size: 0.9em; color: #ACACAC;">
|
||||
<b>
|
||||
<asp:Label ID="lblRifOC" runat="server" Text='<%# Eval("RifOC") %>' /></b>
|
||||
| <i class="fa fa-building-o"></i>
|
||||
<asp:Label ID="lblPianoCons" runat="server" Text='<%# Eval("PianoCons") %>' /><asp:Label ID="lblAscensore" runat="server" Visible='<%# Eval("Ascensore") %>' Text=" | Ascensore" /><asp:Label ID="lblRitUsato" runat="server" Visible='<%# Eval("RitUsato").ToString()=="1" %>' Text=" | Ritiro Usato" />
|
||||
</div>
|
||||
<div class="flRight" style="font-size: 0.8em; color: #ACACAC;">
|
||||
<asp:Label ID="lblNoteGen" runat="server" Text='<%# Eval("NoteGen") %>' />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<asp:FormView ID="frmViewImpegni" runat="server" DataKeyNames="IdxImpegno" DataSourceID="odsImpegni" Width="100%">
|
||||
<ItemTemplate>
|
||||
<div style="clear: both; font-size: 0.9em;">
|
||||
<div>
|
||||
<div class="flLeft" style="font-size: 0.75em; width: 55%;">
|
||||
<div>
|
||||
<asp:Label CssClass="tStrong flLeft" ID="CognomeLabel" runat="server" Text='<%# Eval("RagSoc") %>' />
|
||||
</div>
|
||||
<div style="clear: both; font-size: 0.70em; color: #ACACAC; border-top: 1px solid #EAEAEA;" runat="server" id="divNoteInt" visible='<%# notNull(Eval("NoteInt")) %>'>
|
||||
<asp:Label ID="lblNoteInt" runat="server" Text='<%# Eval("NoteInt") %>' />
|
||||
<div style="clear: both; font-size: 1.2em;">
|
||||
<asp:Label CssClass="flLeft" ID="Tel" runat="server" Text='<%# Eval("Tel","Tel/Cell: {0}") %>' />
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
</asp:FormView>
|
||||
<asp:ObjectDataSource ID="odsImpegni" runat="server" OldValuesParameterFormatString="Original_{0}" SelectMethod="getByKey" TypeName="WebSCR_data.DS_ApplicazioneTableAdapters.ImpegniTableAdapter">
|
||||
<SelectParameters>
|
||||
<asp:QueryStringParameter DefaultValue="0" Name="IdxImpegno" QueryStringField="IdxImpegno" Type="Int32" />
|
||||
</SelectParameters>
|
||||
</asp:ObjectDataSource>
|
||||
</div>
|
||||
<div class="flRight" style="font-size: 0.8em; width: 45%;">
|
||||
<div class="flRight" style="clear: both;">
|
||||
<asp:Label ID="lblTipoOra" runat="server" Text='<%# Eval("TipoOrario","{0} ") %>' ForeColor="#ACACAC" Font-Size="0.8em" />
|
||||
<asp:Label ID="lblDataOra" runat="server" Text='<%# Eval("DataOra","{0:dd/MM HH:mm}") %>' ForeColor="#ACACAC" Visible='<%# !notNull(Eval("InizioInt")) %>' Width="9em" />
|
||||
<asp:Label ID="lblInizioInt" runat="server" Text='<%# Eval("InizioInt","<b>{0:dd/MM HH:mm}</b> Inizio") %>' ForeColor="#333333" Visible='<%# notNull(Eval("InizioInt")) %>' Width="9em" />
|
||||
</div>
|
||||
<div class="flRight" style="clear: both;">
|
||||
<asp:Label ID="lblMinViaggio" runat="server" Text='<%# Eval("MinViaggio","{0}") %>' />'<i class="fa fa-truck"></i>
|
||||
<asp:Label ID="lblMinTotCons" runat="server" Text='<%# Eval("MinTotCons","{0}") %>' />'<i class="fa fa-wrench"></i>
|
||||
<asp:Label ID="lblFinePrev" runat="server" Text='<%# Eval("FinePrev","{0:dd/MM HH:mm}") %>' ForeColor="#ACACAC" Visible='<%# !notNull(Eval("FineInt")) %>' Width="9em" />
|
||||
<asp:Label ID="lblFineInt" runat="server" Text='<%# Eval("FineInt","<b>{0:dd/MM HH:mm}</b> Fine") %>' ForeColor="#333333" Visible='<%# notNull(Eval("FineInt")) %>' Width="9em" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<div class="flLeft" style="font-size: 0.75em; width: 100%;">
|
||||
<div>
|
||||
<asp:Label CssClass="flLeft" ID="CapLabel" runat="server" Text='<%# string.Format("{0} | {1} - {2} ({3})",Eval("Indir") , Eval("Cap"), Eval("Localita"), Eval("Prov")) %>' />
|
||||
</div>
|
||||
<div style="clear: both;">
|
||||
<div class="flLeft" style="font-size: 0.9em; color: #ACACAC;">
|
||||
<b>
|
||||
<asp:Label ID="lblRifOC" runat="server" Text='<%# Eval("RifOC") %>' /></b>
|
||||
| <i class="fa fa-building-o"></i>
|
||||
<asp:Label ID="lblPianoCons" runat="server" Text='<%# Eval("PianoCons") %>' />
|
||||
<asp:Label ID="lblAscensore" runat="server" Visible='<%# Eval("Ascensore").ToString()=="1" %>' Text=" | Ascensore" />
|
||||
<asp:Label ID="lblRitUsato" runat="server" Visible='<%# Eval("RitUsato").ToString()=="1" %>' Text=" | Ritiro Usato" />
|
||||
</div>
|
||||
<div class="flRight" style="font-size: 0.8em; color: #ACACAC;">
|
||||
<asp:Label ID="lblNoteGen" runat="server" Text='<%# Eval("NoteGen") %>' />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div style="clear: both; font-size: 0.70em; color: #ACACAC; border-top: 1px solid #EAEAEA;" runat="server" id="divNoteInt" visible='<%# notNull(Eval("NoteInt")) %>'>
|
||||
<asp:Label ID="lblNoteInt" runat="server" Text='<%# Eval("NoteInt") %>' />
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
</asp:FormView>
|
||||
<asp:ObjectDataSource ID="odsImpegni" runat="server" OldValuesParameterFormatString="Original_{0}" SelectMethod="getByKey" TypeName="WebSCR_data.DS_ApplicazioneTableAdapters.ImpegniTableAdapter">
|
||||
<SelectParameters>
|
||||
<asp:QueryStringParameter DefaultValue="0" Name="IdxImpegno" QueryStringField="IdxImpegno" Type="Int32" />
|
||||
</SelectParameters>
|
||||
</asp:ObjectDataSource>
|
||||
</div>
|
||||
|
||||
+11
-11
@@ -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 WebSCR.WebUserControls {
|
||||
@@ -13,20 +13,20 @@ namespace WebSCR.WebUserControls {
|
||||
public partial class mod_ImpegnoSmall {
|
||||
|
||||
/// <summary>
|
||||
/// frmViewImpegni control.
|
||||
/// Controllo frmViewImpegni.
|
||||
/// </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::System.Web.UI.WebControls.FormView frmViewImpegni;
|
||||
|
||||
/// <summary>
|
||||
/// odsImpegni control.
|
||||
/// Controllo odsImpegni.
|
||||
/// </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::System.Web.UI.WebControls.ObjectDataSource odsImpegni;
|
||||
}
|
||||
|
||||
@@ -175,13 +175,7 @@
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Usato" SortExpression="RitUsato" ItemStyle-HorizontalAlign="Center">
|
||||
<ItemTemplate>
|
||||
<asp:DropDownList runat="server" ID="ddlRitUs" DataSourceID="odsRitUs" DataTextField="label" DataValueField="value" SelectedValue='<%# Eval("RitUsato") %>' CssClass="ui-state-disabled"></asp:DropDownList>
|
||||
<asp:ObjectDataSource ID="odsRitUs" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getValid" TypeName="WebSCR_data.DS_UtilityTableAdapters.ListValuesTableAdapter">
|
||||
<SelectParameters>
|
||||
<asp:Parameter DefaultValue="Impegni" Name="TableName" Type="String" />
|
||||
<asp:Parameter DefaultValue="RitUsato" Name="FieldName" Type="String" />
|
||||
</SelectParameters>
|
||||
</asp:ObjectDataSource>
|
||||
<asp:CheckBox ID="CheckBox3" runat="server" Checked='<%# Eval("RitUsato").ToString()=="1" %>' CssClass="ui-state-disabled" />
|
||||
</ItemTemplate>
|
||||
<ItemStyle HorizontalAlign="Center"></ItemStyle>
|
||||
</asp:TemplateField>
|
||||
|
||||
@@ -1,83 +1,85 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_consegne.ascx.cs" Inherits="WebSCR.WebUserControls.mod_consegne" %>
|
||||
|
||||
<div class="ui-mini">
|
||||
<asp:GridView ID="grView" runat="server" DataSourceID="ods" AutoGenerateColumns="False" DataKeyNames="IdxImpegno" CellPadding="4" ForeColor="#333333" GridLines="None" Width="100%" AllowPaging="True" OnRowCommand="grView_RowCommand" OnSelectedIndexChanged="grView_SelectedIndexChanged">
|
||||
<EditRowStyle BackColor="#2461BF" />
|
||||
<FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
|
||||
<HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
|
||||
<PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
|
||||
<RowStyle BackColor="#EFF3FB" HorizontalAlign="Left" />
|
||||
<SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
|
||||
<SortedAscendingCellStyle BackColor="#F5F7FB" />
|
||||
<SortedAscendingHeaderStyle BackColor="#6D95E1" />
|
||||
<SortedDescendingCellStyle BackColor="#E9EBEF" />
|
||||
<SortedDescendingHeaderStyle BackColor="#4870BE" />
|
||||
<AlternatingRowStyle BackColor="White" />
|
||||
<EmptyDataTemplate>
|
||||
Nessuna Consegna
|
||||
</EmptyDataTemplate>
|
||||
<Columns>
|
||||
<asp:TemplateField HeaderText="Appuntamento" SortExpression="DataOra">
|
||||
<ItemTemplate>
|
||||
<asp:LinkButton ID="lbSelect" runat="server" CausesValidation="False" CommandName="Select" CommandArgument="select" ToolTip="Mostra Intervento">
|
||||
<div style="clear: both; font-size: 0.9em;">
|
||||
<div>
|
||||
<div class="flLeft" style="font-size: 0.75em; width: 55%;">
|
||||
<asp:Label CssClass="tStrong flLeft" ID="CognomeLabel" runat="server" Text='<%# Eval("RagSoc") %>' />
|
||||
</div>
|
||||
<div class="flRight" style="font-size: 0.8em; width: 45%;">
|
||||
<div class="flRight" style="clear: both;">
|
||||
<asp:Label ID="lblTipoOra" runat="server" Text='<%# Eval("TipoOrario","{0} ") %>' ForeColor="#ACACAC" Font-Size="0.8em" />
|
||||
<asp:Label ID="lblDataOra" runat="server" Text='<%# Eval("DataOra","{0:dd/MM HH:mm}") %>' ForeColor="#ACACAC" Visible='<%# !notNull(Eval("InizioInt")) %>' Width="9em" />
|
||||
<asp:Label ID="lblInizioInt" runat="server" Text='<%# Eval("InizioInt","<b>{0:dd/MM HH:mm}</b> Inizio") %>' ForeColor="#333333" Visible='<%# notNull(Eval("InizioInt")) %>' Width="9em" />
|
||||
</div>
|
||||
<div class="flRight" style="clear: both;">
|
||||
<asp:Label ID="lblMinViaggio" runat="server" Text='<%# Eval("MinViaggio","{0}") %>' />'<i class="fa fa-truck"></i>
|
||||
<asp:Label ID="lblMinTotCons" runat="server" Text='<%# Eval("MinTotCons","{0}") %>' />'<i class="fa fa-wrench"></i>
|
||||
<asp:Label ID="lblFinePrev" runat="server" Text='<%# Eval("FinePrev","{0:dd/MM HH:mm}") %>' ForeColor="#ACACAC" Visible='<%# !notNull(Eval("FineInt")) %>' Width="9em" />
|
||||
<asp:Label ID="lblFineInt" runat="server" Text='<%# Eval("FineInt","<b>{0:dd/MM HH:mm}</b> Fine") %>' ForeColor="#333333" Visible='<%# notNull(Eval("FineInt")) %>' Width="9em" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<div class="flLeft" style="font-size: 0.75em; width: 100%;">
|
||||
<div>
|
||||
<asp:Label CssClass="flLeft" ID="CapLabel" runat="server" Text='<%# string.Format("{0} | {1} - {2} ({3})",Eval("Indir") , Eval("Cap"), Eval("Localita"), Eval("Prov")) %>' />
|
||||
</div>
|
||||
<div style="clear: both;">
|
||||
<div class="flLeft" style="font-size: 0.9em; color: #ACACAC;">
|
||||
<b>
|
||||
<asp:Label ID="lblRifOC" runat="server" Text='<%# Eval("RifOC") %>' /></b>
|
||||
| <i class="fa fa-building-o"></i>
|
||||
<asp:Label ID="lblPianoCons" runat="server" Text='<%# Eval("PianoCons") %>' /><asp:Label ID="lblAscensore" runat="server" Visible='<%# Eval("Ascensore") %>' Text=" | Ascensore" /><asp:Label ID="lblRitUsato" runat="server" Visible='<%# Eval("RitUsato").ToString()=="1" %>' Text=" | Ritiro Usato" />
|
||||
</div>
|
||||
<div class="flRight" style="font-size: 0.8em; color: #ACACAC;">
|
||||
<asp:Label ID="lblNoteGen" runat="server" Text='<%# Eval("NoteGen") %>' />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div style="clear: both; font-size: 0.70em; color: #ACACAC; border-top: 1px solid #EAEAEA;" runat="server" id="divNoteInt" visible='<%# notNull(Eval("NoteInt")) %>'>
|
||||
<asp:Label ID="lblNoteInt" runat="server" Text='<%# Eval("NoteInt") %>' />
|
||||
</div>
|
||||
</asp:LinkButton>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<%--<asp:TemplateField ShowHeader="False">
|
||||
<asp:GridView ID="grView" runat="server" DataSourceID="ods" AutoGenerateColumns="False" DataKeyNames="IdxImpegno" CellPadding="4" ForeColor="#333333" GridLines="None" Width="100%" AllowPaging="True" OnRowCommand="grView_RowCommand" OnSelectedIndexChanged="grView_SelectedIndexChanged">
|
||||
<EditRowStyle BackColor="#2461BF" />
|
||||
<FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
|
||||
<HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
|
||||
<PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
|
||||
<RowStyle BackColor="#EFF3FB" HorizontalAlign="Left" />
|
||||
<SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
|
||||
<SortedAscendingCellStyle BackColor="#F5F7FB" />
|
||||
<SortedAscendingHeaderStyle BackColor="#6D95E1" />
|
||||
<SortedDescendingCellStyle BackColor="#E9EBEF" />
|
||||
<SortedDescendingHeaderStyle BackColor="#4870BE" />
|
||||
<AlternatingRowStyle BackColor="White" />
|
||||
<EmptyDataTemplate>
|
||||
Nessuna Consegna
|
||||
</EmptyDataTemplate>
|
||||
<Columns>
|
||||
<asp:TemplateField HeaderText="Appuntamento" SortExpression="DataOra">
|
||||
<ItemTemplate>
|
||||
<asp:LinkButton ID="lbSelect" runat="server" CausesValidation="False" CommandName="Select" CommandArgument="select" ToolTip="Mostra Intervento">
|
||||
<div style="clear: both; font-size: 0.9em;">
|
||||
<div>
|
||||
<div class="flLeft" style="font-size: 0.75em; width: 55%;">
|
||||
<asp:Label CssClass="tStrong flLeft" ID="CognomeLabel" runat="server" Text='<%# Eval("RagSoc") %>' />
|
||||
</div>
|
||||
<div class="flRight" style="font-size: 0.8em; width: 45%;">
|
||||
<div class="flRight" style="clear: both;">
|
||||
<asp:Label ID="lblTipoOra" runat="server" Text='<%# Eval("TipoOrario","{0} ") %>' ForeColor="#ACACAC" Font-Size="0.8em" />
|
||||
<asp:Label ID="lblDataOra" runat="server" Text='<%# Eval("DataOra","{0:dd/MM HH:mm}") %>' ForeColor="#ACACAC" Visible='<%# !notNull(Eval("InizioInt")) %>' Width="9em" />
|
||||
<asp:Label ID="lblInizioInt" runat="server" Text='<%# Eval("InizioInt","<b>{0:dd/MM HH:mm}</b> Inizio") %>' ForeColor="#333333" Visible='<%# notNull(Eval("InizioInt")) %>' Width="9em" />
|
||||
</div>
|
||||
<div class="flRight" style="clear: both;">
|
||||
<asp:Label ID="lblMinViaggio" runat="server" Text='<%# Eval("MinViaggio","{0}") %>' />'<i class="fa fa-truck"></i>
|
||||
<asp:Label ID="lblMinTotCons" runat="server" Text='<%# Eval("MinTotCons","{0}") %>' />'<i class="fa fa-wrench"></i>
|
||||
<asp:Label ID="lblFinePrev" runat="server" Text='<%# Eval("FinePrev","{0:dd/MM HH:mm}") %>' ForeColor="#ACACAC" Visible='<%# !notNull(Eval("FineInt")) %>' Width="9em" />
|
||||
<asp:Label ID="lblFineInt" runat="server" Text='<%# Eval("FineInt","<b>{0:dd/MM HH:mm}</b> Fine") %>' ForeColor="#333333" Visible='<%# notNull(Eval("FineInt")) %>' Width="9em" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<div class="flLeft" style="font-size: 0.75em; width: 100%;">
|
||||
<div>
|
||||
<asp:Label CssClass="flLeft" ID="CapLabel" runat="server" Text='<%# string.Format("{0} | {1} - {2} ({3})",Eval("Indir") , Eval("Cap"), Eval("Localita"), Eval("Prov")) %>' />
|
||||
</div>
|
||||
<div style="clear: both;">
|
||||
<div class="flLeft" style="font-size: 0.9em; color: #ACACAC;">
|
||||
<b>
|
||||
<asp:Label ID="lblRifOC" runat="server" Text='<%# Eval("RifOC") %>' /></b>
|
||||
| <i class="fa fa-building-o"></i>
|
||||
<asp:Label ID="lblPianoCons" runat="server" Text='<%# Eval("PianoCons") %>' />
|
||||
<asp:Label ID="lblAscensore" runat="server" Visible='<%# Eval("Ascensore").ToString()=="1" %>' Text=" | Ascensore" />
|
||||
<asp:Label ID="lblRitUsato" runat="server" Visible='<%# Eval("RitUsato").ToString()=="1" %>' Text=" | Ritiro Usato" />
|
||||
</div>
|
||||
<div class="flRight" style="font-size: 0.8em; color: #ACACAC;">
|
||||
<asp:Label ID="lblNoteGen" runat="server" Text='<%# Eval("NoteGen") %>' />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div style="clear: both; font-size: 0.70em; color: #ACACAC; border-top: 1px solid #EAEAEA;" runat="server" id="divNoteInt" visible='<%# notNull(Eval("NoteInt")) %>'>
|
||||
<asp:Label ID="lblNoteInt" runat="server" Text='<%# Eval("NoteInt") %>' />
|
||||
</div>
|
||||
</asp:LinkButton>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<%--<asp:TemplateField ShowHeader="False">
|
||||
<ItemTemplate>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>--%>
|
||||
</Columns>
|
||||
</asp:GridView>
|
||||
<asp:ObjectDataSource ID="ods" runat="server" SelectMethod="getBySearch" TypeName="WebSCR_data.DS_ApplicazioneTableAdapters.ImpegniTableAdapter" OldValuesParameterFormatString="original_{0}">
|
||||
<SelectParameters>
|
||||
<asp:Parameter DefaultValue="*" Name="Stato" Type="String" />
|
||||
<%--<asp:CookieParameter CookieName="DataRif" Name="DataRif" Type="DateTime" />--%>
|
||||
<asp:SessionParameter SessionField="DataRif" Name="DataRif" Type="DateTime" />
|
||||
<asp:CookieParameter CookieName="NumGg" Name="NumGg" Type="Int32" />
|
||||
<asp:CookieParameter CookieName="CodSquadra" Name="CodSquadra" Type="String" />
|
||||
<asp:CookieParameter CookieName="RecAgeDd" Name="RecAgeDd" Type="Int32" />
|
||||
</SelectParameters>
|
||||
</asp:ObjectDataSource>
|
||||
</Columns>
|
||||
</asp:GridView>
|
||||
<asp:ObjectDataSource ID="ods" runat="server" SelectMethod="getBySearch" TypeName="WebSCR_data.DS_ApplicazioneTableAdapters.ImpegniTableAdapter" OldValuesParameterFormatString="original_{0}">
|
||||
<SelectParameters>
|
||||
<asp:Parameter DefaultValue="*" Name="Stato" Type="String" />
|
||||
<%--<asp:CookieParameter CookieName="DataRif" Name="DataRif" Type="DateTime" />--%>
|
||||
<asp:SessionParameter SessionField="DataRif" Name="DataRif" Type="DateTime" />
|
||||
<asp:CookieParameter CookieName="NumGg" Name="NumGg" Type="Int32" />
|
||||
<asp:CookieParameter CookieName="CodSquadra" Name="CodSquadra" Type="String" />
|
||||
<asp:CookieParameter CookieName="RecAgeDd" Name="RecAgeDd" Type="Int32" />
|
||||
</SelectParameters>
|
||||
</asp:ObjectDataSource>
|
||||
</div>
|
||||
|
||||
+11
-11
@@ -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 WebSCR.WebUserControls {
|
||||
@@ -13,20 +13,20 @@ namespace WebSCR.WebUserControls {
|
||||
public partial class mod_consegne {
|
||||
|
||||
/// <summary>
|
||||
/// grView control.
|
||||
/// Controllo grView.
|
||||
/// </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::System.Web.UI.WebControls.GridView grView;
|
||||
|
||||
/// <summary>
|
||||
/// ods control.
|
||||
/// Controllo ods.
|
||||
/// </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::System.Web.UI.WebControls.ObjectDataSource ods;
|
||||
}
|
||||
|
||||
@@ -122,13 +122,7 @@
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Usato" SortExpression="RitUsato" ItemStyle-HorizontalAlign="Center">
|
||||
<ItemTemplate>
|
||||
<asp:DropDownList runat="server" ID="ddlRitUs" DataSourceID="odsRitUs" DataTextField="label" DataValueField="value" SelectedValue='<%# Eval("RitUsato") %>' CssClass="ui-state-disabled"></asp:DropDownList>
|
||||
<asp:ObjectDataSource ID="odsRitUs" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getValid" TypeName="WebSCR_data.DS_UtilityTableAdapters.ListValuesTableAdapter">
|
||||
<SelectParameters>
|
||||
<asp:Parameter DefaultValue="Impegni" Name="TableName" Type="String" />
|
||||
<asp:Parameter DefaultValue="RitUsato" Name="FieldName" Type="String" />
|
||||
</SelectParameters>
|
||||
</asp:ObjectDataSource>
|
||||
<asp:CheckBox ID="CheckBox3" runat="server" Checked='<%# Eval("RitUsato").ToString()=="1" %>' CssClass="ui-state-disabled" />
|
||||
</ItemTemplate>
|
||||
<ItemStyle HorizontalAlign="Center"></ItemStyle>
|
||||
</asp:TemplateField>
|
||||
|
||||
@@ -29,7 +29,6 @@
|
||||
</div>
|
||||
<div class="ui-block-b">
|
||||
<label for="txtPiano">piano cons.</label>
|
||||
<%--<asp:TextBox runat="server" ID="txtPiano" placeholder="piano cons." Text='<%# Bind("PianoCons") %>' />--%>
|
||||
<asp:DropDownList runat="server" ID="ddlPianoCons" DataSourceID="odsPianoCons" DataTextField="label" DataValueField="value" SelectedValue='<%# Bind("PianoCons") %>'></asp:DropDownList>
|
||||
<asp:ObjectDataSource ID="odsPianoCons" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getValid" TypeName="WebSCR_data.DS_UtilityTableAdapters.ListValuesTableAdapter">
|
||||
<SelectParameters>
|
||||
@@ -40,8 +39,6 @@
|
||||
</div>
|
||||
<div class="ui-block-c">
|
||||
<label for="chkAscensore">ascensore</label>
|
||||
<%--<br />
|
||||
<asp:CheckBox ID="chkAscensore" runat="server" Checked='<%# Bind("Ascensore") %>' />--%>
|
||||
<asp:DropDownList runat="server" ID="ddlAscens" DataSourceID="odsAscens" DataTextField="label" DataValueField="value" SelectedValue='<%# Bind("Ascensore") %>'></asp:DropDownList>
|
||||
<asp:ObjectDataSource ID="odsAscens" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getValid" TypeName="WebSCR_data.DS_UtilityTableAdapters.ListValuesTableAdapter">
|
||||
<SelectParameters>
|
||||
@@ -176,7 +173,6 @@
|
||||
</div>
|
||||
<div class="ui-block-b">
|
||||
<label for="txtPiano">piano cons.</label>
|
||||
<%--<asp:TextBox runat="server" ID="txtPiano" placeholder="piano cons." Text='<%# Eval("PianoCons") %>' />--%>
|
||||
<asp:DropDownList runat="server" ID="ddlPianoCons" DataSourceID="odsPianoCons" DataTextField="label" DataValueField="value" SelectedValue='<%# Bind("PianoCons") %>'></asp:DropDownList>
|
||||
<asp:ObjectDataSource ID="odsPianoCons" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getValid" TypeName="WebSCR_data.DS_UtilityTableAdapters.ListValuesTableAdapter">
|
||||
<SelectParameters>
|
||||
@@ -187,8 +183,6 @@
|
||||
</div>
|
||||
<div class="ui-block-c">
|
||||
<label for="chkAscensore">ascensore</label>
|
||||
<%--<br />
|
||||
<asp:CheckBox ID="chkAscensore" runat="server" Checked='<%# Eval("Ascensore") %>' />--%>
|
||||
<asp:DropDownList runat="server" ID="ddlAscens" DataSourceID="odsAscens" DataTextField="label" DataValueField="value" SelectedValue='<%# Bind("Ascensore") %>'></asp:DropDownList>
|
||||
<asp:ObjectDataSource ID="odsAscens" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getValid" TypeName="WebSCR_data.DS_UtilityTableAdapters.ListValuesTableAdapter">
|
||||
<SelectParameters>
|
||||
|
||||
Reference in New Issue
Block a user