This is a migrated thread and some comments may be shown as answers.
ToolTipManager demo
2 Answers 59 Views
This is a migrated thread and some comments may be shown as answers.
DeadlyAccurate
Top achievements
Rank 1
DeadlyAccurate asked on 22 May 2008, 07:16 PM
ToolTip Manager demo

In the C# code of this demo, there's a reference to details.Data, but I can't tell what Data is. I checked all the tabs and can't tell to what it's referring.


private void UpdateToolTip(string elementID, UpdatePanel panel) 
        { 
            Control ctrl = Page.LoadControl("Information.ascx"); 
            panel.ContentTemplateContainer.Controls.Add(ctrl); 
            Information details = (Information)ctrl; 
            details.Data = SelectItemsById(elementID); 
            
        }                       

2 Answers, 1 is accepted

Sort by
0
Accepted
Svetlina Anati
Telerik team
answered on 23 May 2008, 02:33 PM
Hello DeadlyAccurate,

As you know the example uses a user control to display the information. The user control has a public property called Data which represents the extracted from the DB information and which is set for a DataSource to the repeater which is in the control.

I also think that it will be useful to know that you have all the examples with their complete code automatically installed on your machine along with the controls. In order to open them you should use the following navigation:

Start/Programs/Telerik/RadControls for ASP.NET AJAX/Open Sample WebSite In Visual Studio.


Greetings,
Svetlina
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
DeadlyAccurate
Top achievements
Rank 1
answered on 23 May 2008, 03:35 PM
"I also think that it will be useful to know that you have all the examples with their complete code automatically installed on your machine along with the controls. In order to open them you should use the following navigation:

Start/Programs/Telerik/RadControls for ASP.NET AJAX/Open Sample WebSite In Visual Studio."


That is useful, and I was not aware of this. Thank you.
Asked by
DeadlyAccurate
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
DeadlyAccurate
Top achievements
Rank 1
Share this question
or