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

RadToolTip Manager Clear on Client Side

5 Answers 117 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Sergio
Top achievements
Rank 1
Sergio asked on 12 Aug 2010, 06:36 PM
Greetings

I would like to Clear my RadTooltipManage similarly to how is Clear on the Tooltipified Radgrid example.

RadToolTipManager1.TargetControls.Clear();

However, I would like to do it on the client -  OnClientHide event. My scenario is having a DetailView on the tooltip, all my fields are bind correctly, however for some reason there is a checkbox that start showing the value of true after i mouse over a record that has a value of true.

When I change the page it stop happening, given that the Radgrid_ItemCommand calls the above RadtooltipManager1.TargetControls.Clear() statement I suppose. however, once i mouse over a record with the checkbox value = true all my record in the page start showing value = true. It is important to point out that this is the only field in the detailview that is doing this.

I think that clearing the control everytime it hides can do the trick, how do i call the above clear statment on the client?

function OnClientHide(sender, eventArgs)
        {
            // RadTooltipManager Clear Statement.
        }


5 Answers, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 17 Aug 2010, 11:03 AM
Hello Sergio,

 The RadToolTipManager does not provide the functionality you request and you are the first one who asks for it. Basically, we can provide you with some relevant code but it will use private methods which is not desirable because can lead to problems if it changes on our side later and also I believe that there could be a much better solution for the case.

However, in order to be able to provide an adequate solution, we should first find out what is actually happening in your demo and causes this beahvior. Possible reasons could be incorrect ajaxifying, clearing the targets controls in at a wrong point, setting AutoTooltipify to true, etc. This being said, I suggest that you prepare a very simple reproduction demo (use a fake programmatic datasource), open a new support ticket and send it to us and we will debug it on our side and we will provide you with the best and safe  solution we could find.

Greetings,
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
Cush
Top achievements
Rank 1
answered on 26 Jun 2011, 03:19 PM
Hi Svelina

Actually I think there has been a requirement for this functionality before SEE HERE
I had the exact same problem HERE i initialy thought that placing the tooltip manager inside the ajax panle has worked but appears that it did not so i am now looking for a solution.

Regards

Cush
0
Svetlina Anati
Telerik team
answered on 29 Jun 2011, 03:56 PM
Hi Cush,

 There was a request for this functionality and we have considered it. However, after discussion we decided not to implement it for the time being due to few reasons.

Please, send us a sample reproduction code and we will fix it for you, most probably without additional code but by adjusting AJAX settings which is much cleaner and faster solution. If your case turns out to be not possible to resolve without client clear of the array, we will develop a custom solution for you which does this. Furthermore, we will investigate your scenario and this could arise a new discussion on introducing this feature - if we decide so, we will also give you some telerik points for your kind cooperation.

Regards,
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.

0
Cush
Top achievements
Rank 1
answered on 29 Jun 2011, 05:35 PM
Hi Svetlina

I appriciate your offer to look at the problem but i have wasted so much time trying to find a solution
that i have re thought the page and overcome the need for the client side method.

Thanks very much for getting back to me.

Best Regards

Cush
0
Svetlina Anati
Telerik team
answered on 30 Jun 2011, 01:29 PM
Hello Cush,

 I am glad to hear that you have found how to resolve the problem. If you decide to get back to this later or in case you encounter any other problems related to RadControls, do not hesitate to contact us again.

Best wishes,
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
Sergio
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Cush
Top achievements
Rank 1
Share this question
or