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

Load on Demand not code behind

3 Answers 157 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Chris
Top achievements
Rank 1
Chris asked on 17 Oct 2007, 01:39 PM
I would like to do something similar to the "Load on Demand" and "First Look" example.  I have several asp:LinkButton's  .  Onmouse over, I would like to load a user control.  Does anyone have an example of how to do this not using the code behind.  I am not loading data from a DB.  I seems that all the examples say its possible to put the information inline, but when I view the actual code, all the examples use code behind and load from a DB.  Anyone??

3 Answers, 1 is accepted

Sort by
0
Jason Maronge
Top achievements
Rank 1
answered on 18 Oct 2007, 03:38 AM
You can load a usercontrol in the code behind without getting anything from a database.  Take a look at this , it shows you how to manage the content.  To load a usercontrol from the code behind check out this.

Please let me know if this does not help you.

Jason
0
Scott Eoff
Top achievements
Rank 2
answered on 07 Aug 2009, 03:33 PM
Jason your links are not working.... I need to see an example of this too.
0
Svetlina Anati
Telerik team
answered on 10 Aug 2009, 08:25 AM
Hello guys,

Let me shed some light on your discussion.

If you use a RadToolTipManager, you should load the content either by using AJAX and the OnAjaxUpdate event or a WebService. In both manners you can load the user control on demand.

If you want to directly declare the user control on the page, you do not actually need a LOD scenario - in this case a separate RadToolTip should be used and the content should be declared directly in the aspx markup.

To get a better understanding of the differences between the RadToolTipManager and the RadToolTip, please examine the following demo and determine which control suits best your particular needs:

http://demos.telerik.com/aspnet-ajax/tooltip/examples/tooltipversustooltipmanager/defaultcs.aspx

Let me know if you need further assistance or in case you have additional questions.

Greetings,
Svetlina
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
ToolTip
Asked by
Chris
Top achievements
Rank 1
Answers by
Jason Maronge
Top achievements
Rank 1
Scott Eoff
Top achievements
Rank 2
Svetlina Anati
Telerik team
Share this question
or