modificato: aggiunto link x export excel

This commit is contained in:
samuele
2012-09-26 10:50:15 +02:00
parent 9ca61d65cb
commit 6e96a3014b
3 changed files with 17 additions and 0 deletions
@@ -5,6 +5,9 @@
{ %>
<link href="../Style.css" rel="stylesheet" type="text/css" />
<% } %>
<div style="text-align: right;">
<asp:HyperLink ID="hlExportExcel" runat="server" Target="_blank" />
</div>
<div class="txtMini" style="width: 100%; padding: 2px 4px 2px 4px; background-color: #CDCDCD;
margin-right: 10px;">
<asp:Button ID="btnShowNew" runat="server" OnClick="btnShowNew_Click" />
@@ -216,6 +216,11 @@ public partial class mod_elencoMtzProg : ApplicationUserControl
/// <param name="e"></param>
protected override void OnInit(EventArgs e)
{
if (!Page.IsPostBack)
{
hlExportExcel.Text = traduci("hlExportExcel");
hlExportExcel.NavigateUrl = "~/ExcelExportMtzPrev.aspx";
}
base.OnInit(e);
_idxGridView = "idxIntPro";
txtDataInizio.Text = DateTime.Now.ToShortDateString();
@@ -11,6 +11,15 @@
public partial class mod_elencoMtzProg {
/// <summary>
/// hlExportExcel 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.HyperLink hlExportExcel;
/// <summary>
/// btnShowNew control.
/// </summary>