How to Change CSS style of current page in sf:Pager Control

Posted by Community Admin on 04-Aug-2018 07:38

How to Change CSS style of current page in sf:Pager Control

All Replies

Posted by Community Admin on 23-Nov-2011 00:00

Hi Team,
              I have used telerik:RadListView for display news list. I have used sf:Pager control for pagination. How to change CSS Style of current page in sf:pager control.

I have used below code for pagging.

<

 

 

ul class="pagination">

 

 

 

<sf:Pager ID="pager" runat="server" >

 

 

 

 

</sf:Pager>

 


My Requirement is like below

<ul class="pagination">
	<li class="on"><a href="">1</a></li>
	<li><a href="">2</a></li>
	<li><a href="">3</a></li>
</ul>

 

 

 

Please help me as soon as possible...

Thanks & Regards,
Pravat Sharma.

 

Posted by Community Admin on 24-Nov-2011 00:00

Hi Pravat,

The default behavior of the news widget offers paging functionality and you are able to choose the number of news items to be displayed in the front-end. Furthermore, there's a sf_PagerCurrent class, applied to the current page number, which allows you to style it using css. I believe it does what you're trying to achieve. The only difference is that in our widget page numbers are rendered as a list of links.

All the best,
Jen Peleva
the Telerik team

Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

This thread is closed