From 84da962f70cd80cc207e70bbb50cd1d3fb1d27c8 Mon Sep 17 00:00:00 2001 From: samuele Date: Tue, 4 Nov 2008 15:28:13 +0000 Subject: [PATCH] Ripristinate modifiche ermanno erroneamente cancellate... git-svn-id: https://keyhammer.ath.cx/svn/XPS/trunk@58 43c8e981-f90d-406c-a89a-24a2c4268d51 --- XPS/Style.css | 23 ++++++++++++++++++-- XPS/elencoBarcode.aspx | 2 +- XPS/mod_ULP.ascx | 7 +++--- XPS/mod_barcode.ascx | 9 ++++---- XPS/mod_barcode.ascx.cs | 17 ++++++++++++++- XPS/mod_dettComm.ascx | 2 +- XPS/mod_elencoBarcode.ascx | 36 +++++++++++++++++++++++++++---- XPS/mod_scadenziarioCommesse.ascx | 2 +- 8 files changed, 80 insertions(+), 18 deletions(-) diff --git a/XPS/Style.css b/XPS/Style.css index 4cff321..1afea3b 100644 --- a/XPS/Style.css +++ b/XPS/Style.css @@ -78,7 +78,9 @@ /*Modal Popup*/ .modalBackground { - background-color: Gray; /* filter:alpha(opacity=70); opacity:0.7; */ + background-color: Gray; + filter:alpha(opacity=70); + opacity:0.7; } .hiddenTxt { @@ -206,6 +208,8 @@ INPUT { padding: 0px; margin: 2px; + /* con questo Table va a full screen */ + width: 99%; } .topContrDx { @@ -2742,8 +2746,23 @@ A:hover font-size:smaller; } -grvGiornalieroComm +/* grvGiornalieroComm { font-size: xx-small; color: Yellow; +} +*/ + +/* stile custom per questa webapp */ +.barcodeBoxIE +{ + width:700px; + margin-top: 20px; +} + +.barcodeBoxOther +{ + margin-left:20%; + margin-right:20%; + margin-top: 20px; } \ No newline at end of file diff --git a/XPS/elencoBarcode.aspx b/XPS/elencoBarcode.aspx index afe45bb..31c2c23 100644 --- a/XPS/elencoBarcode.aspx +++ b/XPS/elencoBarcode.aspx @@ -1,4 +1,4 @@ -<%@ Page Title="" Language="C#" MasterPageFile="~/Standard.master" AutoEventWireup="true" CodeFile="elencoBarcode.aspx.cs" Inherits="elencoBarcode" %> +<%@ Page Title="" Language="C#" MasterPageFile="~/AjaxSimple.master" AutoEventWireup="true" CodeFile="elencoBarcode.aspx.cs" Inherits="elencoBarcode" %> <%@ Register src="mod_elencoBarcode.ascx" tagname="mod_elencoBarcode" tagprefix="uc1" %> diff --git a/XPS/mod_ULP.ascx b/XPS/mod_ULP.ascx index 6437661..0a5efb0 100644 --- a/XPS/mod_ULP.ascx +++ b/XPS/mod_ULP.ascx @@ -5,8 +5,8 @@ + OnDataBound="grView_DataBound" OnRowUpdating="grView_RowUpdating" OnRowUpdated="grView_RowUpdated" + OnRowDeleted="grView_RowDeleted" Width="100%"> @@ -158,8 +158,7 @@
- +
diff --git a/XPS/mod_barcode.ascx b/XPS/mod_barcode.ascx index 98a45e0..385349c 100644 --- a/XPS/mod_barcode.ascx +++ b/XPS/mod_barcode.ascx @@ -4,15 +4,16 @@ -
-
+ +
-
+
-
+ +
diff --git a/XPS/mod_barcode.ascx.cs b/XPS/mod_barcode.ascx.cs index 6dc587d..835d1b2 100644 --- a/XPS/mod_barcode.ascx.cs +++ b/XPS/mod_barcode.ascx.cs @@ -48,6 +48,7 @@ public partial class mod_barcode : ApplicationUserControl protected override void Page_Load(object sender, EventArgs e) { base.Page_Load(sender, e); + DetectAgent(); myInitialize(); } /// @@ -128,7 +129,21 @@ public partial class mod_barcode : ApplicationUserControl _comandi.TryGetValue(txtComando.Text, out comando.descrComando); } } - + /// + /// verifica quale browser usato e applica css corretto al div attorno al box + /// + private void DetectAgent() + { + System.Web.HttpBrowserCapabilities browser = Request.Browser; + if (browser.Browser == "IE") + { + pnlBarcodeBox.CssClass="barcodeBoxIE"; + } + else + { + pnlBarcodeBox.CssClass = "barcodeBoxOther"; + } + } #endregion #region area public diff --git a/XPS/mod_dettComm.ascx b/XPS/mod_dettComm.ascx index bd7de01..7eef3eb 100644 --- a/XPS/mod_dettComm.ascx +++ b/XPS/mod_dettComm.ascx @@ -9,7 +9,7 @@ + OnDataBound="grView_DataBound" onrowupdating="grView_RowUpdating" Width="100%"> diff --git a/XPS/mod_elencoBarcode.ascx b/XPS/mod_elencoBarcode.ascx index 02a8393..3168a66 100644 --- a/XPS/mod_elencoBarcode.ascx +++ b/XPS/mod_elencoBarcode.ascx @@ -1,13 +1,14 @@ <%@ Control Language="C#" AutoEventWireup="true" CodeFile="mod_elencoBarcode.ascx.cs" Inherits="mod_elencoBarcode" %> -
+<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %> +
-
+
@@ -16,8 +17,35 @@
-
-Scarica l'elenco in formato pdf +
+ Scarica l'elenco in formato pdf
+
+ Scarica il font per visualizzare correttamente i + barcode
+
+ Come installare il font + + + +

+ Per installare il font:

+ + + + Copiare il font nella cartella C:\Windows\Font (potrebbero essere necessari i permessi + di amministratore + + + + + Fare doppio clic sul font e verrà installato automaticamente + + +

+
Esci
+
-
+