Orgchart with Radtooltip

6 posts, 0 answers
  1. NA
    NA avatar
    39 posts
    Member since:
    Aug 2013

    Posted 03 Jun 2014 Link to this post

    Orgchart with Radtooltip  and with out use OnAjaxUpdate event please  provide sample code  asp,.cs code 
  2. Peter Filipov
    Admin
    Peter Filipov avatar
    1028 posts

    Posted 04 Jun 2014 Link to this post

    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.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. NA
    NA avatar
    39 posts
    Member since:
    Aug 2013

    Posted 04 Jun 2014 in reply to Peter Filipov Link to this post

    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
  5. Peter Filipov
    Admin
    Peter Filipov avatar
    1028 posts

    Posted 06 Jun 2014 Link to this post

    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.

     
  6. NA
    NA avatar
    39 posts
    Member since:
    Aug 2013

    Posted 11 Jun 2014 in reply to Peter Filipov Link to this post

    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);
            }

        }
  7. Peter Filipov
    Admin
    Peter Filipov avatar
    1028 posts

    Posted 16 Jun 2014 Link to this post

    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.

     
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017