This is a migrated thread and some comments may be shown as answers.

[Solved] Change PagerStyle Slider Text

1 Answer 105 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Martin
Top achievements
Rank 1
Martin asked on 05 Feb 2008, 08:56 PM
Our applications require that all text be label-able by the client.  To do so, all control  Text values must be square bracketed, i.e. instead of displaying "Page: 1 out of 100 pages", we would like to show "[PAGE]: 1 [OUT OF] 100 [PAGES]".  Is there any way to access this pager control so that we may change the text?  I've read the help doc: http://www.telerik.com/help/radcontrols/prometheus/?grdSettingPagerTemplate.html but it doesn't address the Slider pager text at all.

Thank you,
Martin.

1 Answer, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 08 Feb 2008, 02:51 PM
Hello Martin,

Indeed the "slider pager" functionality has been added in v.4.6 and has not been documented thoroughly yet. The customization of the slider page text is possible through the ClientMessage.PagerTooltipFormatString propety. A sample code:

 <PagerStyle Mode="Slider"/>    
<ClientSettings>    
    <ClientMessages PagerTooltipFormatString="My pager text: page {0} from {1}" />    
</ClientSettings>    
 

Kind regards,
Steve
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Grid
Asked by
Martin
Top achievements
Rank 1
Answers by
Steve
Telerik team
Share this question
or