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

Make Tooltip bigger?

1 Answer 44 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jeremy
Top achievements
Rank 1
Jeremy asked on 07 Jul 2010, 03:36 AM
Hi

I am using the ajax radgrid version 2010.1.519.35 and displaying part of a long piece of text in a column. The complete text I display in the tooltip like so:
protected void rgViews_ItemDataBound(object sender, Telerik.Web.UI.GridItemEventArgs e) 
      if (e.Item is Telerik.Web.UI.GridDataItem) 
      { 
            string fulltext = e.Item.Cells[3].Text; 
            if (e.Item.Cells[3].Text.Length >= 70) 
            { 
                  e.Item.Cells[3].Text = e.Item.Cells[3].Text.Substring(0, 70) + " ..."; 
                  e.Item.Cells[3].ToolTip = fulltext.Replace("\r\n", " ").Replace("\t", ""); 
            } 
      } 
The tooltips displays fine in firefox 3.6.2, resizing to fit the data, - but the problem is in ie8 the tooltip size seems to max out at about 250px wide by 200px high, which truncates the data in the tooltip. Is there any way of making the tooltip bigger?

Kind Regards,
Jeremy

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 07 Jul 2010, 07:29 AM
Hi Jeremy,

You cannot control the size of system browser tooltips, but you can use RadToolTip instead:

http://demos.telerik.com/aspnet-ajax/tooltip/examples/targetcontrolsandajax/defaultcs.aspx?product=grid

Greetings,
Dimo
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
Jeremy
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or