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

[Solved] ToolTipTemplate + Scrolling + Virtualization causes Empty Tooltip Stubs

1 Answer 122 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Tim
Top achievements
Rank 1
Tim asked on 15 Aug 2011, 07:51 PM
Hi!

There seems to be an issue where empty tooltip stubs are displayed where there is no tooltip defined.  I did not see a previous posting elsewhere.  I do not think that the tooltip template is hooked up to column virtualization correctly?

Steps to reproduce:

1. Recreate the example shown here:  http://demos.telerik.com/silverlight/#GridView/UIVirtualization  (aka "Scrolling 1 Billion Cells")

2. Add a ToolTipTemplate to the last 50 colums in the grid by adding this snippet to the Example() constructor (Example.xaml.cs):

column.DataMemberBinding = binding;

//new code block to add tooltips to last 50 columns
if (i > 950)
{
   column.ToolTipTemplate = (DataTemplate)XamlReader.Load(@"<DataTemplate xmlns=""http://schemas.microsoft.com/winfx/2006/xaml/presentation""><TextBlock Text=""Hello"" /></DataTemplate>"); 
}

RadGridView1.Columns.Add(column);

3. Run the project.
4. Hover over the FIRST 10 columns displayed to show there is not a tooltip.
5. Scroll to far right... the last column (999).
6. Hover over the LAST 10 columns displayed to see the tooltip ("Hello").
7. Scroll to the far left... back to the first 10 columns.
8. Hover over the FIRST 10 columns again.  An empty tooltip stub will show for each one.

This behavior also appears if you define a tooltips in XAML.
This behavior also appears if you use Ctrl+End and Ctrl+Home (instead of using the scrollbar).
We are using 2011.2.712.1040. 

Do you know how to suppress this behavior?

Thanks!

1 Answer, 1 is accepted

Sort by
0
Tsvyatko
Telerik team
answered on 18 Aug 2011, 04:19 PM
Hi Tim,

Thank you for reporting this issue. I have logged it in our PITS system where you can track its progress. We are currently investigating the problem and will provide fix for this in our next internal build.

I have also updated your telerik points accordingly.

Best wishes,
Tsvyatko
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

Tags
GridView
Asked by
Tim
Top achievements
Rank 1
Answers by
Tsvyatko
Telerik team
Share this question
or