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

Orgchart with Radtooltip

5 Answers 56 Views
OrgChart
This is a migrated thread and some comments may be shown as answers.
NA
Top achievements
Rank 1
NA asked on 04 Jun 2014, 04:56 AM
Orgchart with Radtooltip  and with out use OnAjaxUpdate event please  provide sample code  asp,.cs code 

5 Answers, 1 is accepted

Sort by
0
Peter Filipov
Telerik team
answered on 04 Jun 2014, 10:23 AM
Hello,

Please take a look at the following demo, it shows how to use RadToolTipManager and RadOrgChart.

Regards,
Peter Filipov
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
NA
Top achievements
Rank 1
answered on 04 Jun 2014, 10:40 AM
HI Peter,

I already followed  your's suggest link but the problem is i have a column "ToolTip" from database table  how to assign the tooltip text  to Tooltip manager  when ever  mouse over 


Regars
0
Peter Filipov
Telerik team
answered on 06 Jun 2014, 03:32 PM
Hello,

Your tooltip's data should be associated with the items' IDs like in the demo.
RadToolTipManager1.TargetControls.Add(panel.ClientID, e.Item.Node.ID, true);
Using this approach you will able to get the data from the table on the ajax request made by the RadToolTipManager.

Regards,
Peter Filipov
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
NA
Top achievements
Rank 1
answered on 11 Jun 2014, 07:02 AM
Hi 
  I am using below sample code .In this code when mouse over on the text the tool tip box will be open but problem is the text should not show in the tool tip box.
 Please help me
 protected override void OnPreRenderComplete(EventArgs e)
    {
       
        var nodes = OrgChat.GetAllNodes();
      
        foreach (var node in nodes)
        {
            var lbltxt = (Label)node.GroupItems[0].FindControl("lbltxt");
            RadToolTipManager1.TargetControls.Add(lbltxt.ClientID,node.ID, true);
        }

    }
0
Peter Filipov
Telerik team
answered on 16 Jun 2014, 08:41 AM
Hello Sonu,

I am not quite sure what happens at your side. Could you please send a runnable project which replicates your issue to test it locally?

Regards,
Peter Filipov
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
OrgChart
Asked by
NA
Top achievements
Rank 1
Answers by
Peter Filipov
Telerik team
NA
Top achievements
Rank 1
Share this question
or