Exemplo n.º 1
0
        /// <summary>
        /// Evento relativo al cambio pagina della griglia
        /// </summary>
        /// <param name="source"></param>
        /// <param name="e"></param>
        private void TrasmissioniRicevute_OnPageChanged(object source, Paging.ListPagingNavigationControls.PageChangedEventArgs e)
        {
            this.FetchTrasmissioni(e.PagingContext);

            ((ListPagingNavigationControls)source).RefreshPaging(e.PagingContext);

            this.SetPanelMessageText(e.PagingContext);
        }
Exemplo n.º 2
0
        ///// <summary>
        ///// Reperimento trasmissioni
        ///// </summary>
        ///// <returns></returns>
        //protected override Trasmissione[] GetTrasmissioni()
        //{
        //    FascicoloHandler fascicoloHandler=new FascicoloHandler();

        //    Paging.PagingContext pagingContext = this.GetControlPaging().GetPagingContext();

        //    //this.GetControlPaging().OnPageChanged += new ListPagingNavigationControls.PageChangedDelegate(OnPageChanged);

        //    Trasmissione[] retValue = fascicoloHandler.GetTrasmissioniFascicolo(TipiTrasmissioniEnum.Effettuate, null, this.GetFascicolo(), pagingContext);

        //    this.GetControlPaging().RefreshPaging(pagingContext);

        //    return retValue;
        //}

        /// <summary>
        ///
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        protected void OnPageChanged(object sender, Paging.ListPagingNavigationControls.PageChangedEventArgs e)
        {
            this.Fetch(this.IDFascicolo, this.IDRegistro);
        }