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

Expand image tooltip

2 Answers 77 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Tom
Top achievements
Rank 1
Tom asked on 18 Oct 2012, 10:32 AM
Hi, I am using a parent and child radgrid and have set the expand image to the default (sprite). When you hover over this image in the grid you get a tooltip (or alt text) which says expand. I would like to change this to something more meaningfull. Does anyone know if this can be changed and if so how?

Thanks
Tom

2 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 18 Oct 2012, 10:42 AM
Hi Tom,

Try the following code snippet to change the Expand image tooltip.

C#:
protected void Page_Load(object sender, EventArgs e)
   {
       RadGrid1.HierarchySettings.ExpandTooltip = "Your text";
   }

Thanks,
Shinu.
0
Tom
Top achievements
Rank 1
answered on 18 Oct 2012, 11:02 AM
Thanks Shinu that worked. Also managed to work out where to change it in the aspx file:
<telerik:RadGrid>
        <HierarchySettings ExpandTooltip="Your Text" />
</telerik:RadGrid>

It's easy when you know where to look.
Tags
Grid
Asked by
Tom
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Tom
Top achievements
Rank 1
Share this question
or