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
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.
Svetlina
the Telerik team
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.
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.
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
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.