Beispiel #1
0
        protected void Page_Load(object sender, System.EventArgs e)
        {
            Authorise.EnforceAuthorisation(eSystemPortion.KPI);

            if (!IsPostBack)
            {
                m_drivers = new Entities.DriverCollection();
                ViewState[C_DRIVER_COLLECTION] = m_drivers;
                BindDrivers();

                cboTrendPeriod.DataSource = Utilities.UnCamelCase(Enum.GetNames(typeof(eKPITrendPeriod)));
                cboTrendPeriod.DataBind();
            }
            else
            {
                m_drivers = (Entities.DriverCollection)ViewState[C_DRIVER_COLLECTION];
            }
        }
 protected void Page_Load(object sender, System.EventArgs e)
 {
     Authorise.EnforceAuthorisation(eSystemPortion.KPI);
 }