-
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" %>
+
-
-
-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
+
-