Files
GPW/GPW_Admin/WebUserControls/cmp_ticketList.ascx.cs
T
2021-11-18 15:20:27 +01:00

34 lines
891 B
C#

using GPW_data;
using System;
using System.Collections.Generic;
using System.Linq;
namespace GPW_Admin.WebUserControls
{
public partial class cmp_ticketList : BaseUserControl
{
#region Protected Methods
protected void Page_Load(object sender, EventArgs e)
{
displayTickets();
}
private void displayTickets()
{
var elencoTickets = licenzeGPW
.TicketsList
.Where(x => (x.Status < LiManObj.StatoRichiesta.Approvata) || chkShowAll.Checked)
.ToList();
grView.DataSource = elencoTickets;
grView.DataBind();
}
protected void lbtClosePage_Click(object sender, EventArgs e)
{
raiseReset();
}
#endregion Protected Methods
}
}