Exemple #1
0
        public virtual IHtmlNode Create(GridPagerData section)
        {
            var fragment = new HtmlFragment();


            pagerSections.CreateSections(section).AppendTo(fragment);

            statusBuilder.Create(section).AppendTo(fragment);

            return(fragment);
        }
Exemple #2
0
        public virtual IHtmlNode Create(GridPagerData section)
        {
            var fragment = new HtmlFragment();

            pagerSections.CreateSections(section).AppendTo(fragment);

            if (section.Refresh)
            {
                refreshBuilder.Create(section.UrlBuilder.SelectUrl(), section.Messages.Refresh).AppendTo(fragment);
            }

            if (section.Info)
            {
                statusBuilder.Create(section).AppendTo(fragment);
            }

            return(fragment);
        }