Completo review grafico
This commit is contained in:
Binary file not shown.
@@ -4,6 +4,7 @@
|
||||
<%@ Register Src="~/WebUserControl/mod_DocsDetail.ascx" TagPrefix="uc1" TagName="mod_DocsDetail" %>
|
||||
<%@ Register Src="~/WebUserControl/mod_searchParam.ascx" TagPrefix="uc1" TagName="mod_searchParam" %>
|
||||
<%@ Register Src="~/WebUserControl/mod_ElencoClienti.ascx" TagPrefix="uc1" TagName="mod_ElencoClienti" %>
|
||||
<%@ Register Src="~/WebUserControl/mod_righePag.ascx" TagPrefix="uc1" TagName="mod_righePag" %>
|
||||
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
|
||||
<div class="row">
|
||||
@@ -73,7 +74,14 @@
|
||||
<b>DOCUMENTI - FATTURE</b>
|
||||
</div>
|
||||
<div class="panel-body bg-default fontSmall pTZero mTZero mBZero pBZero" style="min-height: 34px;">
|
||||
<uc1:mod_searchParam runat="server" ID="mod_searchParam" enableAdvCom="true" enableTipoDocSel="true" enableApertiSel="true" />
|
||||
<div class="row">
|
||||
<div class="col-xs-11">
|
||||
<uc1:mod_searchParam runat="server" ID="mod_searchParam" enableAdvCom="true" enableTipoDocSel="true" enableApertiSel="true" />
|
||||
</div>
|
||||
<div class="col-xs-1">
|
||||
<uc1:mod_righePag runat="server" ID="mod_righePag" />
|
||||
</div>
|
||||
</div>
|
||||
<uc1:mod_DocsArchive runat="server" ID="mod_DocsArchive" descrCss="max60em" currSort="Descending" showPagam="true" showCosti="false" sortParam="emesso" />
|
||||
<div runat="server" id="divDetail" visible="false">
|
||||
<uc1:mod_DocsDetail runat="server" ID="mod_DocsDetail" />
|
||||
|
||||
@@ -18,11 +18,19 @@ namespace MedAP
|
||||
mod_DocsArchive.doUpdate();
|
||||
mod_ElencoClienti.DataBind();
|
||||
memLayer.ML.setSessionVal("ReqUpdateDocs", false);
|
||||
mod_righePag.numRowPag = 10;
|
||||
mod_DocsArchive.PageSize = mod_righePag.numRowPag;
|
||||
}
|
||||
mod_DocsArchive.eh_ucev += Mod_DocsArchive_eh_ucev;
|
||||
mod_searchParam.eh_ucev += Mod_searchParam_eh_ucev;
|
||||
mod_DocsDetail.eh_ucev += Mod_DocsDetail_eh_ucev;
|
||||
mod_ElencoClienti.eh_ucev += Mod_ElencoClienti_eh_ucev;
|
||||
mod_righePag.eh_newNum += Mod_righePag_eh_newNum;
|
||||
}
|
||||
private void Mod_righePag_eh_newNum(object sender, EventArgs e)
|
||||
{
|
||||
mod_DocsArchive.PageSize=mod_righePag.numRowPag;
|
||||
mod_DocsArchive.resetSelezione();
|
||||
}
|
||||
/// <summary>
|
||||
/// Gestione selezione cliente/paziente --> update fatture!
|
||||
|
||||
Generated
+9
@@ -111,6 +111,15 @@ namespace MedAP {
|
||||
/// </remarks>
|
||||
protected global::MedAP.WebUserControls.mod_searchParam mod_searchParam;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo mod_righePag.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::MedAP.WebUserControl.mod_righePag mod_righePag;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo mod_DocsArchive.
|
||||
/// </summary>
|
||||
|
||||
@@ -255,7 +255,6 @@
|
||||
</Content>
|
||||
<None Include="Properties\PublishProfiles\IIS01.pubxml" />
|
||||
<None Include="Properties\PublishProfiles\IIS02.pubxml" />
|
||||
<Content Include="WebUserControl\mod_barPlot.ascx" />
|
||||
<None Include="compilerconfig.json" />
|
||||
<None Include="compilerconfig.json.defaults">
|
||||
<DependentUpon>compilerconfig.json</DependentUpon>
|
||||
@@ -577,13 +576,6 @@
|
||||
<Compile Include="Site.Master.designer.cs">
|
||||
<DependentUpon>Site.Master</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControl\mod_barPlot.ascx.cs">
|
||||
<DependentUpon>mod_barPlot.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControl\mod_barPlot.ascx.designer.cs">
|
||||
<DependentUpon>mod_barPlot.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControl\mod_login.ascx.cs">
|
||||
<DependentUpon>mod_login.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_DocsArchive.ascx.cs" Inherits="MedAP.WebUserControl.mod_DocsArchive" %>
|
||||
<%@ Register Src="~/WebUserControl/mod_barPlot.ascx" TagPrefix="uc1" TagName="mod_barPlot" %>
|
||||
|
||||
<script type="text/javascript">
|
||||
//function printPartOfPage(elementId) {
|
||||
|
||||
@@ -21,6 +21,21 @@ namespace MedAP.WebUserControl
|
||||
grView.DataBind();
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// Num righe pagina
|
||||
/// </summary>
|
||||
public int PageSize
|
||||
{
|
||||
get
|
||||
{
|
||||
return grView.PageSize;
|
||||
}
|
||||
set
|
||||
{
|
||||
grView.PageSize = value;
|
||||
grView.DataBind();
|
||||
}
|
||||
}
|
||||
public string sortParam { get; set; }
|
||||
/// <summary>
|
||||
/// crea un oggetto di dati da plottare dal valore A+B (es scadenze + pagato)
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_barPlot.ascx.cs" Inherits="MedAP.WebUserControls.mod_barPlot" %>
|
||||
<asp:Table runat="server" ID ="tblData" CellPadding="0" CellSpacing="0" Width="100%">
|
||||
</asp:Table>
|
||||
@@ -1,66 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using SteamWare;
|
||||
using SteamWare.DataType;
|
||||
|
||||
namespace MedAP.WebUserControls
|
||||
{
|
||||
public partial class mod_barPlot : System.Web.UI.UserControl
|
||||
{
|
||||
protected DatoBarPlot[] _elencoValori;
|
||||
public int resolution { get; set; }
|
||||
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
//doPlot();
|
||||
}
|
||||
|
||||
public DatoBarPlot[] elencoValori
|
||||
{
|
||||
get
|
||||
{
|
||||
return _elencoValori;
|
||||
}
|
||||
set
|
||||
{
|
||||
_elencoValori = value;
|
||||
doPlot();
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// esegue plotting, creando tante celle quanti i valori dell'array passato
|
||||
/// </summary>
|
||||
private void doPlot()
|
||||
{
|
||||
try
|
||||
{
|
||||
TableRow riga = new TableRow();
|
||||
TableCell cell;
|
||||
for (int i = 0; i < _elencoValori.Length; i++)
|
||||
{
|
||||
// solo se >0 aggiungo cella...
|
||||
if (_elencoValori[i].valore > 0)
|
||||
{
|
||||
cell = new TableCell();
|
||||
cell.CssClass = _elencoValori[i].css;
|
||||
// se il valore è sotto 10px NON metto il testo...
|
||||
if ((_elencoValori[i].valore / resolution) > 20)
|
||||
{
|
||||
cell.Text = _elencoValori[i].label;
|
||||
}
|
||||
cell.Width = Convert.ToInt32(Math.Ceiling((double)_elencoValori[i].valore / resolution));
|
||||
cell.ToolTip = _elencoValori[i].tooltip;
|
||||
riga.Cells.Add(cell);
|
||||
}
|
||||
}
|
||||
tblData.Rows.Add(riga);
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
}
|
||||
}
|
||||
}
|
||||
-24
@@ -1,24 +0,0 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <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 MedAP.WebUserControls {
|
||||
|
||||
|
||||
public partial class mod_barPlot {
|
||||
|
||||
/// <summary>
|
||||
/// tblData 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.Table tblData;
|
||||
}
|
||||
}
|
||||
Binary file not shown.
Reference in New Issue
Block a user