update grafico x visualizzazione lista condizionale...
git-svn-id: https://keyhammer.ath.cx/svn/GMW/trunk@201 365432ac-a1b5-4ffd-bb28-6d3099d32164
This commit is contained in:
@@ -105,6 +105,8 @@
|
||||
</asp:Panel>
|
||||
<asp:Panel runat="server" ID="pnlDetail" Visible="false">
|
||||
<div>
|
||||
<asp:Button ID="btnBarcode" runat="server" OnClick="btnBarcode_Click" Width="100px"
|
||||
Font-Size="Smaller" />
|
||||
<asp:Button ID="btnCloseDet" runat="server" OnClick="btnCloseDet_Click" Width="100px"
|
||||
Font-Size="Smaller" />
|
||||
</div>
|
||||
|
||||
@@ -272,8 +272,10 @@ namespace GMW_Term.WebUserControls
|
||||
btnLoginPage.AccessKey = "7";
|
||||
btnButtonsHome.Text = "[9]-Home";
|
||||
btnButtonsHome.AccessKey = "9";
|
||||
btnCloseDet.Text = "[2]-Chiudi";
|
||||
btnCloseDet.AccessKey = "2";
|
||||
btnCloseDet.Text = "[3]-Chiudi";
|
||||
btnCloseDet.AccessKey = "3";
|
||||
btnBarcode.Text = "[1]-Barcode";
|
||||
btnBarcode.AccessKey = "1";
|
||||
// se username è valorizzato...
|
||||
verificaOperatoreInSessione();
|
||||
if (_validUserInSession)
|
||||
@@ -473,6 +475,15 @@ namespace GMW_Term.WebUserControls
|
||||
pnlDetail.Visible = true;
|
||||
// nascondo elenco lista prelievo
|
||||
pnlMaster.Visible = false;
|
||||
// button x barcode: visibile solo se c'è una lista di prelievo attiva...
|
||||
if (userHasListActive)
|
||||
{
|
||||
btnBarcode.Visible = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
btnBarcode.Visible = false;
|
||||
}
|
||||
// blocco update!
|
||||
e.Cancel = true;
|
||||
break;
|
||||
@@ -649,7 +660,7 @@ namespace GMW_Term.WebUserControls
|
||||
Response.Redirect("~/Home.aspx");
|
||||
}
|
||||
/// <summary>
|
||||
/// nasconde dettali
|
||||
/// nasconde dettagli
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
@@ -661,6 +672,17 @@ namespace GMW_Term.WebUserControls
|
||||
Response.Redirect("~/ListePrelievo.aspx");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// passa al barcode!
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnBarcode_Click(object sender, EventArgs e)
|
||||
{
|
||||
Response.Redirect("~/Barcode.aspx");
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
@@ -112,6 +112,15 @@ namespace GMW_Term.WebUserControls {
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Panel pnlDetail;
|
||||
|
||||
/// <summary>
|
||||
/// btnBarcode 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.Button btnBarcode;
|
||||
|
||||
/// <summary>
|
||||
/// btnCloseDet control.
|
||||
/// </summary>
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user