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

RadToolTip problem using the IE browser

1 Answer 100 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Bader
Top achievements
Rank 1
Bader asked on 03 Sep 2010, 09:43 PM

Hi,

I have problems with the radtooltipmanager control and the IE browser.

Before starting explain the problem, please view the page: http://www.israel-jewelry-center.com/Pages/Categories/Rings.aspx. In the bottom of this page there is a pager.

Now, the problem is: If the user going over the first item in the first page he will see an ajax tooltip with a content (Content1), and if the user go to the second page and going over the first item in that page he will see the same content as Content1, and so on for all items (The content includes the same image as the selected one but in big size). This problem is just in IE versions. I tested it in FireFox, Google Chrome, Safari.... and there was no problem.

I think the problem due to the <telerik:RadToolTipManager  />.

It seems that RadToolTipManager cache the args when you change the page number in IE.

    protected void OnAjaxUpdate(object sender, ToolTipUpdateEventArgs args)
    {
        this.UpdateToolTip(args.Value, args.UpdatePanel);
    }
I'm not sure

 

Please, view a sample application which contains the problem:

http://www.israel-jewelry-center.com/AppDemo1/SampleApplication.rar

Please open the page: ~/Pages/Categories/Rings.aspx

Please, I need an emergency help.
It is apprecired to send me the modified code with an explaination.

regards,

Bader

1 Answer, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 08 Sep 2010, 03:22 PM
Hi Bader,

 I laready answered your other thread and for your convenience and for others who might encounter the same problem I pasted my reply below:


I tried to download your demo but unfortunately to no avail - it was not available - see the attached screenshot which I prepared for your reference.

To correctly configure a tooltipified grid you should fulfil the following:

1) The new values in the user control's content controls should be set in the user control's PreRender event.

2) The targets should be added to the RadToolTipManager's TargetControls collection in the grid's  OnItemDataBound event.

3) The TargetControls collection should be cleared when the grid is paged and sorted.

4) If you have ajaxified the grid, you should add the tooltip manager to the same settings - e.g put the manager in the same update panel or add it to the same ajax settings of ajax manager where the grid is added.


The basic logic is the same for other databound tooltipified controls with paging and you should simply follow the same corresponding steps in your particular scenario.

A sample demo is available below:

http://demos.telerik.com/aspnet-ajax/tooltip/examples/targetcontrolsandajax/defaultcs.aspx




Kind regards,
Svetlina
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
ToolTip
Asked by
Bader
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Share this question
or