fix (brutale) calendario con cambio globalization

fix grafico pagina insert richiesta
This commit is contained in:
Samuele E. Locatelli
2013-12-05 12:48:48 +01:00
parent 0d59e48d52
commit 91aeacbd52
6 changed files with 83 additions and 88 deletions
+3 -2
View File
@@ -24,7 +24,8 @@
<system.web>
<identity />
<authentication mode="Windows" />
<globalization culture="auto" uiCulture="auto" enableClientBasedCulture="true" />
<globalization culture="en-US" uiCulture="en-US" enableClientBasedCulture="false" />
<!--<globalization culture="auto" uiCulture="auto" enableClientBasedCulture="true" />-->
<pages>
<controls>
<add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
@@ -103,7 +104,7 @@
<add key="welcomeApp" value="GIM_welcomeApp" />
<add key="appName" value="GIM" />
<add key="mainRev" value="1.3" />
<add key="minRev" value="227m" />
<add key="minRev" value="227o" />
<add key="copyRight" value="SteamWare © 2006-2013" />
<add key="defaultApp" value="GIM_Appl" />
<add key="defaultTitle" value="GIM_ShortWelcome" />
@@ -1,10 +1,9 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.4927
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
@@ -1,5 +1,5 @@
<%@ Control Language="C#" AutoEventWireup="true"
Inherits="mod_insertRichiesta" Codebehind="mod_insertRichiesta.ascx.cs" %>
Inherits="mod_insertRichiesta" CodeBehind="mod_insertRichiesta.ascx.cs" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Src="~/WebUserControls/mod_dataOra.ascx" TagName="mod_dataOra" TagPrefix="uc1" %>
<asp:Panel ID="pnlMain_InsRichiesta" runat="server" Visible="false">
@@ -8,7 +8,7 @@
<div style="font-size: 30px; font-weight: bold; color: White;">
<asp:Label runat="server" ID="lblTitolo" />
</div>
<div style="padding: 5px; text-align: center; width: 615px; color: Yellow;">
<div style="padding: 5px; text-align: center; width: 615px; color: Yellow; height: 32px;">
<div style="width: 200px; float: left;">
<asp:Label runat="server" ID="lblDataOra" /><br />
<asp:TextBox ReadOnly="true" runat="server" ID="txtDataOra" CssClass="fixedVal" />
@@ -27,107 +27,103 @@
<tr>
<td rowspan="2" valign="top">
<div id="reparto">
<asp:Label runat="server" ID="lblImpianto" /><br />
<asp:Panel runat="server" ID="pnlImpianti" ScrollBars="Vertical" Width="300px" Height="500px">
<asp:ListBox ID="listImpianti" runat="server" DataSourceID="odsImpianti" DataTextField="label"
DataValueField="value" AutoPostBack="true" OnSelectedIndexChanged="listImpianti_SelectedIndexChanged"
Height="600px" Width="450px" BackColor="#ddeeff" Font-Size="8pt"></asp:ListBox>
<asp:ObjectDataSource ID="odsImpianti" runat="server" OldValuesParameterFormatString="original_{0}"
SelectMethod="getImpiantiValidi" TypeName="GIM_data.DS_utilityTableAdapters.v_selImpiantiTableAdapter">
</asp:ObjectDataSource>
</asp:Panel>
<asp:RequiredFieldValidator ID="rfvReparto" runat="server" ErrorMessage="!!!" ControlToValidate="listImpianti"
ValidationGroup="inserimento" Display="Dynamic"></asp:RequiredFieldValidator>
</div>
<asp:Label runat="server" ID="lblImpianto" /><br />
<asp:Panel runat="server" ID="pnlImpianti" ScrollBars="Vertical" Width="300px" Height="500px">
<asp:ListBox ID="listImpianti" runat="server" DataSourceID="odsImpianti" DataTextField="label"
DataValueField="value" AutoPostBack="true" OnSelectedIndexChanged="listImpianti_SelectedIndexChanged"
Height="600px" Width="450px" BackColor="#ddeeff" Font-Size="8pt"></asp:ListBox>
<asp:ObjectDataSource ID="odsImpianti" runat="server" OldValuesParameterFormatString="original_{0}"
SelectMethod="getImpiantiValidi" TypeName="GIM_data.DS_utilityTableAdapters.v_selImpiantiTableAdapter"></asp:ObjectDataSource>
</asp:Panel>
<asp:RequiredFieldValidator ID="rfvReparto" runat="server" ErrorMessage="!!!" ControlToValidate="listImpianti"
ValidationGroup="inserimento" Display="Dynamic"></asp:RequiredFieldValidator>
</div>
</td>
<td valign="top">
<div id="macchina">
<asp:Label runat="server" ID="lblMacchina" /><br />
<asp:Panel runat="server" ID="pnlMacchine" ScrollBars="Vertical" Width="350px" Height="400px">
<asp:ListBox ID="listMacchine" runat="server" AutoPostBack="True" DataSourceID="odsMacchine"
DataTextField="label" DataValueField="value" Height="600px" Width="500px" BackColor="#ddeeff"
Font-Size="8pt"></asp:ListBox>
<asp:ObjectDataSource ID="odsMacchine" runat="server" OldValuesParameterFormatString="original_{0}"
SelectMethod="getByConditio" TypeName="GIM_data.DS_utilityTableAdapters.v_selMacchineTableAdapter">
<SelectParameters>
<asp:ControlParameter ControlID="listImpianti" DefaultValue="0" Name="conditio" PropertyName="SelectedValue"
Type="Int32" />
</SelectParameters>
</asp:ObjectDataSource>
</asp:Panel>
<asp:RequiredFieldValidator ID="rfvMacchina" runat="server" ErrorMessage="!!!" ControlToValidate="listMacchine"
ValidationGroup="inserimento" Display="Dynamic"></asp:RequiredFieldValidator>
</div>
<asp:Label runat="server" ID="lblMacchina" /><br />
<asp:Panel runat="server" ID="pnlMacchine" ScrollBars="Vertical" Width="350px" Height="400px">
<asp:ListBox ID="listMacchine" runat="server" AutoPostBack="True" DataSourceID="odsMacchine"
DataTextField="label" DataValueField="value" Height="600px" Width="500px" BackColor="#ddeeff"
Font-Size="8pt"></asp:ListBox>
<asp:ObjectDataSource ID="odsMacchine" runat="server" OldValuesParameterFormatString="original_{0}"
SelectMethod="getByConditio" TypeName="GIM_data.DS_utilityTableAdapters.v_selMacchineTableAdapter">
<SelectParameters>
<asp:ControlParameter ControlID="listImpianti" DefaultValue="0" Name="conditio" PropertyName="SelectedValue"
Type="Int32" />
</SelectParameters>
</asp:ObjectDataSource>
</asp:Panel>
<asp:RequiredFieldValidator ID="rfvMacchina" runat="server" ErrorMessage="!!!" ControlToValidate="listMacchine"
ValidationGroup="inserimento" Display="Dynamic"></asp:RequiredFieldValidator>
</div>
</td>
<td valign="top">
<div id="insertDatiVari">
<asp:Panel runat="server" ID="Panel1" ScrollBars="None" Width="200px" Height="284px">
<asp:Label runat="server" ID="lblDettagliGuasto" /><br />
<br />
<div>
<div style="float: right; padding-left:15px;">
<asp:Label runat="server" ID="lblPrior" /><br />
<asp:DropDownList runat="server" ID="ddlPrior" DataSourceID="odsPrior" DataTextField="label"
DataValueField="value" CssClass="textEv_1" />
<asp:ObjectDataSource ID="odsPrior" runat="server" OldValuesParameterFormatString="original_{0}"
SelectMethod="GetData" TypeName="GIM_data.DS_utilityTableAdapters.v_selPriorTableAdapter">
</asp:ObjectDataSource>
</div>
<div style="float: right;">
<asp:Panel runat="server" ID="Panel1" ScrollBars="None" Width="220px" Height="284px">
<asp:Label runat="server" ID="lblDettagliGuasto" Font-Bold="true" /><br />
<br />
<div style="border-top: 1px solid #acacac; height: 48px;">
<div style="float: right; padding-top:4px; padding-left: 15px;">
<asp:Label runat="server" ID="lblPrior" /><br />
<asp:DropDownList runat="server" ID="ddlPrior" DataSourceID="odsPrior" DataTextField="label"
DataValueField="value" CssClass="textEv_1" />
<asp:ObjectDataSource ID="odsPrior" runat="server" OldValuesParameterFormatString="original_{0}"
SelectMethod="GetData" TypeName="GIM_data.DS_utilityTableAdapters.v_selPriorTableAdapter"></asp:ObjectDataSource>
</div>
<div style="float: left; padding-top:4px;">
<asp:Label runat="server" ID="lblMatr" /><br />
<asp:TextBox runat="server" ID="txtMatr" Width="3em" CssClass="textEv_1" />
<asp:RequiredFieldValidator ID="rfvMatr" runat="server" ErrorMessage="!!!" ControlToValidate="txtMatr"
ValidationGroup="inserimento" Display="Dynamic"></asp:RequiredFieldValidator>
</div>
</div>
</div>
<div style="clear: both; text-align: right;">
<div style="clear: both; text-align: center; border-top: 1px solid #ACACAC; height: 64px;">
<asp:Label runat="server" ID="lblFermaDalleData" /><br />
<div style="text-align:right;">
<div style="text-align: right;">
<uc1:mod_dataOra ID="mod_dataOra1" runat="server" css="textEv_1" tipoOrario="tendina" />
</div>
</div>
</div>
<div style="clear:both; text-align:right;">
<asp:Label runat="server" ID="lblAmbito" /><br />
<div style="clear: both; text-align: left; border-top: 1px solid #ACACAC; height: 48px;">
<asp:Label runat="server" ID="lblAmbito" /><br />
<asp:DropDownList runat="server" ID="ddlAmbito" CssClass="textEv_1" DataSourceID="odsAmbiti"
DataTextField="label" DataValueField="value">
</asp:DropDownList>
<asp:ObjectDataSource ID="odsAmbiti" runat="server" OldValuesParameterFormatString="original_{0}"
SelectMethod="GetData" TypeName="GIM_data.DS_utilityTableAdapters.v_selAmbitiTableAdapter">
</asp:ObjectDataSource>
</div>
<div style="clear:both; text-align:right;">
<asp:Label runat="server" ID="lblTipoGuasto" /><br />
</asp:DropDownList>
<asp:ObjectDataSource ID="odsAmbiti" runat="server" OldValuesParameterFormatString="original_{0}"
SelectMethod="GetData" TypeName="GIM_data.DS_utilityTableAdapters.v_selAmbitiTableAdapter"></asp:ObjectDataSource>
</div>
<div style="clear: both; text-align: left; border-top: 1px solid #ACACAC; height: 48px;">
<asp:Label runat="server" ID="lblTipoGuasto" /><br />
<asp:DropDownList runat="server" ID="ddlTipo" CssClass="textEv_1" DataSourceID="odsTipo"
DataTextField="label" DataValueField="value">
</asp:DropDownList>
<asp:ObjectDataSource ID="odsTipo" runat="server" OldValuesParameterFormatString="original_{0}"
SelectMethod="GetData" TypeName="GIM_data.DS_utilityTableAdapters.v_selTipoGuastoTableAdapter">
</asp:ObjectDataSource>
</div>
</asp:DropDownList>
<asp:ObjectDataSource ID="odsTipo" runat="server" OldValuesParameterFormatString="original_{0}"
SelectMethod="GetData" TypeName="GIM_data.DS_utilityTableAdapters.v_selTipoGuastoTableAdapter"></asp:ObjectDataSource>
</div>
<div style="clear: both; text-align: left; border-top: 1px solid #ACACAC; height: 48px;">
<asp:CheckBox runat="server" ID="chkImpFermo" />
</div>
<div>
<asp:CheckBox runat="server" ID="chkImpFermo"/>
</div>
<div>
<asp:ValidationSummary ID="valSummary" runat="server" ValidationGroup="inserimento" />
</div>
</asp:Panel>
</div>
<asp:ValidationSummary ID="valSummary" runat="server" ValidationGroup="inserimento" />
</div>
</asp:Panel>
</div>
</td>
<td rowspan="2" valign="top">
<div id="causali">
<asp:Panel runat="server" ID="pnlCausali" ScrollBars="Vertical" Width="250px" Height="500px">
<asp:ListBox ID="listCausali" runat="server" DataSourceID="odsCausali" DataTextField="label"
DataValueField="value" AutoPostBack="true" Height="600px" Width="450px" BackColor="#ddeeff"
Font-Size="8pt"></asp:ListBox>
<asp:ObjectDataSource ID="odsCausali" runat="server" OldValuesParameterFormatString="original_{0}"
SelectMethod="getByConditio" TypeName="GIM_data.DS_utilityTableAdapters.v_selCausaliMacchineTableAdapter">
<SelectParameters>
<asp:ControlParameter ControlID="listMacchine" DefaultValue="0" Name="conditio" PropertyName="SelectedValue"
Type="Int32" />
</SelectParameters>
</asp:ObjectDataSource>
</asp:Panel>
</div>
<asp:Panel runat="server" ID="pnlCausali" ScrollBars="Vertical" Width="250px" Height="500px">
<asp:ListBox ID="listCausali" runat="server" DataSourceID="odsCausali" DataTextField="label"
DataValueField="value" AutoPostBack="true" Height="600px" Width="450px" BackColor="#ddeeff"
Font-Size="8pt"></asp:ListBox>
<asp:ObjectDataSource ID="odsCausali" runat="server" OldValuesParameterFormatString="original_{0}"
SelectMethod="getByConditio" TypeName="GIM_data.DS_utilityTableAdapters.v_selCausaliMacchineTableAdapter">
<SelectParameters>
<asp:ControlParameter ControlID="listMacchine" DefaultValue="0" Name="conditio" PropertyName="SelectedValue"
Type="Int32" />
</SelectParameters>
</asp:ObjectDataSource>
</asp:Panel>
</div>
</td>
</tr>
<tr>
@@ -141,7 +137,7 @@
</asp:Panel>
<asp:Button ID="btnSend" runat="server" Width="300px" Height="30px" OnClick="btnSend_Click"
CausesValidation="true" ValidationGroup="inserimento" />
</div>
</div>
</td>
</tr>
</table>
@@ -1,10 +1,9 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.4961
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
Binary file not shown.