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

How to Localizing filter tooltip icon

2 Answers 51 Views
Grid
This is a migrated thread and some comments may be shown as answers.
VnDevil
Top achievements
Rank 2
VnDevil asked on 07 Jan 2010, 01:47 PM
Hi,
Could anyone tell me how i can localize and translate
the FilterIcon's ToolTip  to my own Language?

FilterIcon's ToolTip is in my picture below :)

2 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 07 Jan 2010, 02:02 PM
Hi,

You can try out the following code to set a custom tooltip for the filter item:
c#:
  protected void m_radRecipientsGrid_ItemCreated(object sender, Telerik.Web.UI.GridItemEventArgs e) 
    { 
        if (e.Item is GridFilteringItem) 
        { 
            GridFilteringItem filterITem = (GridFilteringItem)e.Item; 
            ((Button)filterITem["Name"].Controls[1]).ToolTip = "My custom filter"
        } 
    } 

Thanks
Princy.
0
VnDevil
Top achievements
Rank 2
answered on 09 Jan 2010, 02:44 AM
Can you give me some demo? Please
Tags
Grid
Asked by
VnDevil
Top achievements
Rank 2
Answers by
Princy
Top achievements
Rank 2
VnDevil
Top achievements
Rank 2
Share this question
or