DataPager did not have a way to provide custom templates for page numbers, and there was no way to apply CSS classes or other attributes on inner <li> and <a> / <span> elements.
However, there is a bug here - when I use ListItemClass instead of ListItemclass, the attribute is rendered as Class and is not combined with Knockout JS binding css: { "class": something }.
It can be reproduced in ControlSamples/DataPager/DataPagerTemplates sample by changing the casing.
DataPager
did not have a way to provide custom templates for page numbers, and there was no way to apply CSS classes or other attributes on inner<li>
and<a>
/<span>
elements.