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

Change text of slider pager?

2 Answers 52 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Morten Bomholt
Top achievements
Rank 1
Morten Bomholt asked on 04 Feb 2009, 07:46 AM
Is it possible to change the text of the pager when it is in slider mode?

I need to change the text because of the language so " Page 1 out of 19 pages " becomes " Side 1 ud af 19 sider "

Implementing a custom pager is alot of work for this small change i hope there is another way to achieve this?

2 Answers, 1 is accepted

Sort by
0
Accepted
Daniel
Telerik team
answered on 04 Feb 2009, 09:07 AM
Hello Morten,

You can change the text using the PagerTooltipFormatString property:
<ClientSettings ClientMessages-PagerTooltipFormatString="{0} out of {1}" /> 

Regards,
Daniel
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Princy
Top achievements
Rank 2
answered on 04 Feb 2009, 09:16 AM
Hello Morten,

Try setting the PagerToolTipFormatString for the grid as shown below to localize the PagerToolTip:
aspx:
<telerik:RadGrid ID="RadGrid1" runat="server" OnNeedDataSource="RadGrid2_NeedDataSource" > 
     <MasterTableView > 
          ....  
     </MasterTableView>         
       <ClientSettings >  
       <ClientMessages PagerTooltipFormatString="Side 1 ud af 19 sider" /> 
       </ClientSettings> 
</telerik:RadGrid> 

Thanks
Princy.
Tags
Grid
Asked by
Morten Bomholt
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Princy
Top achievements
Rank 2
Share this question
or