Files
MoonPro.net/MP-Admin/WebUserControls/mod_aperturaImpianti.ascx.cs
T
2017-04-14 13:53:20 +02:00

31 lines
785 B
C#

using SteamWare;
using System;
using System.Web.UI.WebControls;
public partial class mod_aperturaImpianti : ApplicationUserControl
{
/// <summary>
/// evento dati associati a controllo
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void grView_DataBound(object sender, EventArgs e)
{
if (grView.Rows.Count > 0)
{
LinkButton lb;
// aggiorno gli headers
foreach (TableCell cella in grView.HeaderRow.Cells)
{
try
{
lb = (LinkButton)cella.Controls[0];
lb.Text = traduci(lb.Text);
}
catch
{ }
}
}
}
}