-
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_elencoComm.ascx b/XPS/mod_elencoComm.ascx
index 42909d2..3be37ce 100644
--- a/XPS/mod_elencoComm.ascx
+++ b/XPS/mod_elencoComm.ascx
@@ -49,6 +49,7 @@
+
|
|