diff --git a/NKC_WF/BasePage.cs b/NKC_WF/BasePage.cs index 4d37129..5530e49 100644 --- a/NKC_WF/BasePage.cs +++ b/NKC_WF/BasePage.cs @@ -55,6 +55,7 @@ namespace NKC_WF } #region gestione compresisone viewstate + /*-------------------------------------------------------------- * Compressione viewstate * @@ -67,6 +68,7 @@ namespace NKC_WF *--------------------------------------------------------------*/ +#if false protected override object LoadPageStateFromPersistenceMedium() { string viewState = Request.Form["__VSTATE"]; @@ -85,7 +87,8 @@ namespace NKC_WF byte[] bytes = Convert.FromBase64String(viewStateString); bytes = Compressor.Compress(bytes); ClientScript.RegisterHiddenField("__VSTATE", Convert.ToBase64String(bytes)); - } + } +#endif #endregion diff --git a/NKC_WF/WebUserControls/cmp_batchList.ascx.cs b/NKC_WF/WebUserControls/cmp_batchList.ascx.cs index c6cafbf..973a94b 100644 --- a/NKC_WF/WebUserControls/cmp_batchList.ascx.cs +++ b/NKC_WF/WebUserControls/cmp_batchList.ascx.cs @@ -220,7 +220,7 @@ namespace NKC_WF.WebUserControls private void fixDetails() { - divDetail.Visible = true; + divDetail.Visible = currSelRow >= 0; lastSelRow = currSelRow; // recupero BatchId selezionato cmp_batchDetail.BatchId = BatchIdSel;