Need to change Organization chart node color dynamically

2 posts, 0 answers
  1. kanna
    kanna avatar
    28 posts
    Member since:
    Aug 2007

    Posted 04 Nov 2012 Link to this post


    I am new to Organization chart. In am binding the OrgChart with Collection objects. After binding the chart i am having the following option in Org chart.
    Create new node (using creating node item in the collection and rebind it to to chart).
    Edit or Delete node (using contextmenu right click update the coloection and rebind it to OrgChart).

    Please let me know how to change the background color in the chart node item.
    While creating the new code it will be show with different color to highlight.
    While edit or deleting the new code it will be show with different color to highlight.

    Kannan S

  2. Plamen
    Plamen avatar
    2724 posts

    Posted 07 Nov 2012 Link to this post

    Hi Kannan,

    You can add some CssClass to the appropriate node as it is shown in this help topic and apply the desired color accordingly.

    hope this will be helpful.

    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. DevCraft R3 2016 release webinar banner
Back to Top