ToolTipManager demo

3 posts, 1 answers
  1. DeadlyAccurate
    DeadlyAccurate avatar
    5 posts
    Member since:
    Jan 2008

    Posted 22 May 2008 Link to this post

    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.

    
    
    1 private void UpdateToolTip(string elementID, UpdatePanel panel) 
    2         { 
    3             Control ctrl = Page.LoadControl("Information.ascx"); 
    4             panel.ContentTemplateContainer.Controls.Add(ctrl); 
    5             Information details = (Information)ctrl; 
    6             details.Data = SelectItemsById(elementID); 
    7             
    8         }                       

  2. Answer
    Svetlina Anati
    Admin
    Svetlina Anati avatar
    2795 posts

    Posted 23 May 2008 Link to this post

    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
  3. DeadlyAccurate
    DeadlyAccurate avatar
    5 posts
    Member since:
    Jan 2008

    Posted 23 May 2008 Link to this post

    "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.
Back to Top