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

RadGrid Language issues

6 Answers 196 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Per
Top achievements
Rank 1
Per asked on 13 Mar 2009, 09:41 AM
Hi,
i want to change language in my paging bar. And i cant find it anywhere.
If you want to change it on group settings and such its no problemo using
the

GroupingSettings CollapseTooltip="-" ExpandTooltip="+"
            GroupContinuedFormatString=

and such

but there is no similar to the paging formatting??



6 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 16 Mar 2009, 04:59 AM
Hi,

You can localize the GridPagerItem messages as shown in the following help article.
Localizing the grid messages
Using PagerTextFormat

Thanks
Shinu
0
Pavlina
Telerik team
answered on 16 Mar 2009, 08:04 AM
Hello Per,

You can set the format of the text that appears in the Pager (when Mode is "NextPrev" or "NextPrevAndNumeric") using the PagerTextFormat property. The value of this property is an ASP.NET string formatting string.

More information is available in the following help article:
Using PagerTextFormat

Regards,
Pavlina
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Per
Top achievements
Rank 1
answered on 17 Mar 2009, 02:08 PM
Ah thanks, cant believe i missed our on the PagerTextFormat property :9

Now, ofcourse, by misstake i showed my client the mode="Slider" version of the grid so
now he wants that one.

So if i can just get a final word about the issue from Tele,
There is no way of changing "Page: 1 out of 34 pages";text that appears when using the Slider mode?
0
Pavlina
Telerik team
answered on 19 Mar 2009, 04:28 PM
Hi Per,

I am sending you a small runnable application, which handles the desired functionality. Give it a try and see if it works for you or if I am leaving something out.

I hope this helps.

Best wishes,
Pavlina
the Telerik team


Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Per
Top achievements
Rank 1
answered on 23 Mar 2009, 03:19 PM
Well i guess hiding it would do the trick if i can change the text.
Guess im looking for a

"

PagerTextFormat

That would work also for the slider. Dont think it exists though.

0
Princy
Top achievements
Rank 2
answered on 24 Mar 2009, 06:43 AM
Hello Per,

You can customize the text for the slider using the PagerTooltipFormatString in the ClientSettings of the grid as shown below:

aspx:
  <telerik:RadGrid ID="RadGrid1" AllowPaging="true" PageSize="20"  DataSourceID="SqlDataSource1" runat="server" AutoGenerateColumns="true" GridLines="None"
      <PagerStyle Mode="Slider" /> 
            <ClientSettings > 
               <ClientMessages PagerTooltipFormatString="Custom Page:{0} Custom {1}"  />     
            </ClientSettings>          
            <MasterTableView>              
              .... 
            </MasterTableView> 
            
        </telerik:RadGrid> 

Thanks
Princy.
Tags
Grid
Asked by
Per
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Pavlina
Telerik team
Per
Top achievements
Rank 1
Princy
Top achievements
Rank 2
Share this question
or