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

Tool tip rendered DIVs

1 Answer 37 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Amjad
Top achievements
Rank 1
Amjad asked on 12 Mar 2013, 10:17 AM
Hello I have subject related question,

I have a rad gird with images per row that shows a tooltip on click from code (like this example http://demos.telerik.com/aspnet-ajax/tooltip/examples/radtooltipmanagerclientapi/defaultcs.aspx).

after multiple tooltips are closed, I need to know if there is a way to remove the resulted DIVs the are on the end of page ?
cause am using scripts that calls controls with certain IDs and those DIVs have those controls with the same IDs which causes problems.

please advise

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 12 Mar 2013, 11:22 AM
Hello Amjad,

I ask that in the future you post only one thread for a given question as this makes it easier to answer it and harder to miss relevant information among several posts.

I have just replied to your other thread and I am pasting my reply here as well:

DataCaching should only be enabled for static content, controls should not be used inside, nor should elements with IDs that will duplicate. This feature keeps the HTML that has once been received from the server and does not request it again. This means that the instance on the server may no longer match the on on the client. This is explained in the data caching demo's description.

If you need the content to be disposed you should disable caching. This will make the RadToolTipManager move the UpdatePanel that loads the content in the DOM to be inside the currently shown tooltip and thus only one instance of the server content will reside on the page.

Greetings,
Marin Bratanov
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
ToolTip
Asked by
Amjad
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Share this question
or