Dynamically Create Dock then Link to ToolTipManager

2 posts, 0 answers
  1. Oleg Fridman
    Oleg Fridman avatar
    77 posts
    Member since:
    Jan 2006

    Posted 29 Sep 2007 Link to this post

    I have a test site that I am writing to test how some of the new controls work together.

    Currently, I am loading several Docks into a RadDockLayout in the Page_Init. Then, in the Page_Load, I am running the following code:
    RadToolTipManager1.TargetControls.Add("CLIENT ID HERE"true

    The clientID above references an Image control that I have placed in the Dock. This is working just fine. The tooltip loads w/o any issue.

    However, when I dynamically create another Dock at a later point in time using the methods in the Dynamic Dock example, I cannot seem to get the TargetControls.Add method to register. I get no error, but no tooltip apears.

    I have tried placing it in the ButtonAddDock_Click function: nada. What is the best way to pull this off?

    Thanks in advance!
  2. Petio Petkov
    Petio Petkov avatar
    825 posts

    Posted 03 Oct 2007 Link to this post

    Hi Oleg Fridman,

    I create a simple example based on Dynamic Docks example and everything works. Please find it like an attachment.

    If your problem is something else, please open a new support ticket and send us simple running project where we can observe this issue.

    Best wishes,
    Petio Petkov
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top