I have a problem: When i load all data from datasource on 1 page (no paging), There is no pager style. But now i want to Show number of items when no paging.
the style like the pic attached. (when datasource is 5, i want to show "Items: 5" on the header)
thank you very much!
2 Answers, 1 is accepted
0
Eyup
Telerik team
answered on 29 Aug 2012, 12:46 PM
Hi Nguyen,
Could you please try the following approach and let me know about the result?
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
and then i Use this code
var Literal = new Literal();
var itemsCount = new StringBuilder();
itemsCount.Append("<style type=\"text/css\">");
itemsCount.Append(".rgArrPart1, .rgNumPart, .rgArrPart2, .rgAdvPart{");
itemsCount.Append("display: none !important;");
itemsCount.Append("}");
itemsCount.Append(" </style>");
ltItemsCount.Text = itemsCount.ToString();