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

RADToolTip Manager error

1 Answer 76 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
mohsinjk jk
Top achievements
Rank 1
mohsinjk jk asked on 10 Sep 2010, 09:31 AM
Hi 

I am using RadToolTip manager with RadGrid. i am facing a problem regarding RadToolTip manager.
Basically in my web page i have two RadGrid. when i go first time on both radgrid items then radtooltip manager appear.
but after first time its gave me exception.
"Line: 6580 Error: Sys.InvalidOperationException: A control is already associated with the element."
and 
" RadToolTipManager response error:
Exception= Sys.WebForms.PageRequestManagerServerErrorException:
Invalid JSON primtive:.
"
What does it means. One thing more "Can I use two RadToolTipManager in one webpage" because if i use only one radtooltipmanger with one radgrid or control it is work ok. but when I use more than one it throw above exception. why ?

please guide me

I have implemented this functionality using below example:
http://demos.telerik.com/aspnet-ajax/tooltip/examples/tooltipversustooltipmanager/defaultcs.aspx

1 Answer, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 15 Sep 2010, 11:59 AM
Hello mohsinjk jk,

 I am not sure what could be causing the problem and what I can assume is the following:

1) You do not clear the TargetControls collection when needed - e.g when a page is changed or the grid is sorted, etc. If so, please make sure that you clear it properly.

2) If you have ajaxified the grid make sure that you update the corresponding tooltip manager in every case when the targets are updated.

3) Make sure that you do not have special signs such as {, }, /, etc as IDs

As to your other question, it is absolutely valid scenario to have more than one tooltip manager on the page and this should not cause issues.

Sincerely yours,
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
mohsinjk jk
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Share this question
or