modificato: aggiunto link x export excel
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user