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

Problem with RadToolTipManager using Web Service

8 Answers 94 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Amyn
Top achievements
Rank 1
Amyn asked on 29 Oct 2010, 07:42 PM
I am using the ToolTip with Web Service (http://demos.telerik.com/aspnet-ajax/tooltip/examples/webservice/defaultcs.aspx)
for my Web Application (Visual Studio 2010 .NET 4.0 Framework  w / Telerik Rad Controls for ASP.NET AJAX Q2 2010 NET 40)

I am replicating the exact same functionality as in the Example above with a repeater control, but when I mouse over the Repeater the tool tips shows the me information about another image within the tooltip.

For Example
Mouse Over Image 4 = Tooltip shows me information about Image 8

The only repeater item that works consistently is the first repeater item that is rendered

***It seems that the when I mouse over the Repeater image ToolTipManager calls the webservice method multiple times

I have isolated everything that could cause a problem. I have checked my webservice call to the database and it is working fine.
Looks like some issue with the control not sure what is happening here.

Attached is the code

8 Answers, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 03 Nov 2010, 05:20 PM
Hi Amyn,

I am not sure what could cause the same code to work at our side and not at yours. However, what I can suggest is to set UniqueID to the user control where you render it in the WebService and test again.

If this does not resolve the problem on your side, please provide an isolated sample demo where we can observe the issue and we will do our best to help.

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
0
Todd A
Top achievements
Rank 1
answered on 03 Dec 2010, 04:45 AM
Hi Amyn,

Did you resolve this issue?  If so, what was the solution?  I have a simliar problem.  Basically I can see in fiddler the tooltipmanger gets the tooltip for every single target control -- then it seems to display them randomly.

Thanks,
Todd.
0
Amyn
Top achievements
Rank 1
answered on 03 Dec 2010, 07:35 PM
Todd,
I was able to resolve the problem.
I was using VS 2010 with .NET Framework 4.0, and I ran into several issues with VS 2010 and .NET Framework 4.0 it was very quirky and slow.  VS 2010 w/ .NET 40 was just not behaving well - during debugging it would overwrite my code, during programming it would reformat my code, debugging was slow and painful, and it did not play well with AJAX or 3rd party controls. 

So I switched to VS 2008 and now instead of using a webservice to load the tool tip on demand, I simply preloaded loaded the tool tip on the page load event. This resloved my problem. 

 I have the flexiblity in my app to not using a webservice, When I switched my project to VS 2008 I did not try to use webservice to load the tool tip on demand but I think it would have worked in VS 2008 and .NET Frame 3.5

Hope that helps let me know if you have any other questions.
0
Svetlina Anati
Telerik team
answered on 08 Dec 2010, 10:08 AM
Hello guys,

We were recently able to reproduce and find the reason for the problem and it comes from the fact that MicrosoftAjax.js file for version 4.0 was referenced and it replaces some of the built - in js functions with others and in the case in particular it introduces the observer context which is new in ASP.NET 4.0. We already found and fixed another problem related to this but we will need some additional time to find a suitable way to fix this problem in particular.

If this is the case on your side, what we can suggest is to reference an older version of the js file as a temporary solution and once we resolve the problem, I will write back to you and you will be able to switch back.

In case this is not the case on your side, please provide more details how to reproduce the issue and we will do our best to help.

Greetings,
Svetlina
the Telerik team
Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0
Todd A
Top achievements
Rank 1
answered on 08 Dec 2010, 05:22 PM
Great news -- I definately need the fix when available.

Thanks,
Todd.
0
Svetlina Anati
Telerik team
answered on 09 Dec 2010, 01:56 PM
Hi guys,

 I am glad to inform you that we were able to fix the problem and the fix will be available in the next internal build and the upcoming Service Pack. Please wait until one of them is available (they are scheduled for the next week) , test with it and let me know whether everything is OK on your side as well.

Best wishes,
Svetlina
the Telerik team
Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0
Todd A
Top achievements
Rank 1
answered on 15 Dec 2010, 07:27 PM
I downloaded dll version 2010.3.1215.40 and my initial tests show it working correctly.  Thanks for the fix.
0
Svetlina Anati
Telerik team
answered on 16 Dec 2010, 04:39 PM
Hi Todd A,

 I am glad to hear that the problem was fixed. In case you experience other problems do not hesitate to contact us again!

All the best,
Svetlina
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
ToolTip
Asked by
Amyn
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Todd A
Top achievements
Rank 1
Amyn
Top achievements
Rank 1
Share this question
or