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

[Solved] Localize RadGrid paging slider

7 Answers 238 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Christian
Top achievements
Rank 1
Christian asked on 28 Aug 2008, 06:31 AM
Hi!
I would like to know how I can localize the Increase/Decrease tooltip in the
RadGrid paging slider.
Regards
Christian

7 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 28 Aug 2008, 09:45 AM
Hi Christian,

Try the following code snippet to localize the Increase/Decrease tooltip in paging slider.

CS:
 protected void RadGrid1_ItemCreated(object sender, GridItemEventArgs e) 
    { 
        if (e.Item is GridPagerItem) 
        { 
            GridPagerItem pager = (GridPagerItem)e.Item; 
            RadSlider slider = (RadSlider)pager.PagerContentCell.Controls[1]; 
            slider.IncreaseText = "IncreaseCustomText"
            slider.DecreaseText = "DecreaseCustomText"
           
        }   
   } 


Thanks
Shinu.
0
Kevin Schneider
Top achievements
Rank 1
answered on 02 Dec 2008, 09:10 PM
Is this still the ONLY way to localize the slider paging control?  I'm looking for something that I can do without having to use code behind like in the above.

I see there are properties in the PagerStyle called NextPagesToolTip, PrevPagesToolTip, etc.  Is there any reason that these couldn't be the values used when you hover over the arrows on the sliders?

I'm just looking for a slightly less intrusive method than the one listed above.

Thanks.
0
Yavor
Telerik team
answered on 03 Dec 2008, 07:10 AM
Hi Kevin,

Indeed, at present you need to use some extra coding to achieve this task. However, I will suggest exposing a more straightforward way to customize the slider to our developers, for one of the upcoming versions of the control.

Regards,
Yavor
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Farouk
Top achievements
Rank 1
answered on 24 Apr 2009, 07:50 AM
Hi Yavor,

you mean it could be, that the features to set the tooltips, are coming up with the following versions of the control. i didn't find it yet, but is this problem solved in the q9.1 release??
Thanks
Basti
0
Yavor
Telerik team
answered on 27 Apr 2009, 01:03 PM
Hi Bastian,

Although the setting is not exposed yet. Once it is, the information will be reflected in the changes and backwards compatibility section.

Greetings,
Yavor
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
Andreas
Top achievements
Rank 1
answered on 02 Mar 2010, 11:45 PM
Still no easy way to set the increase/decrease tooltip in paging slider or did I miss something?
0
Yavor
Telerik team
answered on 08 Mar 2010, 07:42 AM
Hello Andreas,

Indeed, at present no direct property has been exposed for this behavior. Although I cannot commit to a definite timeframe, our developers will look into possible ways to implement this feature for one of the upcoming versions of the control.

Greetings,
Yavor
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Grid
Asked by
Christian
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Kevin Schneider
Top achievements
Rank 1
Yavor
Telerik team
Farouk
Top achievements
Rank 1
Andreas
Top achievements
Rank 1
Share this question
or