Telerik.Web.Mvc.UI.Html.GridPagerTextBoxHtmlBuilder.BuildCore C# (CSharp) Method

BuildCore() protected method

protected BuildCore ( ) : IHtmlNode
return IHtmlNode
        protected override IHtmlNode BuildCore()
        {
            var div = new HtmlTag("div")
                        .AddClass("t-page-i-of-n");

            var page = new LiteralNode(localization.Page);

            page.AppendTo(div);

            var input = new HtmlTag("input")
                            .Attribute("type", "text")
                            .Attribute("value", Value);

            input.AppendTo(div);

            var of = new LiteralNode(string.Format(localization.PageOf, TotalPages));

            of.AppendTo(div);

            return div;
        }
GridPagerTextBoxHtmlBuilder