Centering of Orgchart

2 posts, 1 answers
  1. Sekhar
    Sekhar avatar
    22 posts
    Member since:
    Dec 2013

    Posted 30 Jan 2014 Link to this post


    I am using GroupColumnCount as 4 in my radorgchart and based on the nodes i am changing the columncount in the codebehind. The orgchart displays in one location when count is 4 , but shifts to left when the count is less than 4. How can i ensure no matter the column count the orgchart is displayed in the same location or center of the page.

    Thank you
  2. Answer
    Boyan Dimitrov
    Boyan Dimitrov avatar
    2020 posts

    Posted 04 Feb 2014 Link to this post

    Hello Sekhar,

    I would like to explain with a few words about the RadOrgChart rendering logic. A group with the subgroups and subnodes  are placed in a separate div container which has a set width value. Calculating and setting of that width value is done internally when the RadOrgChart is being rendered on the page. I would like to clarify that changing this width value or reposition any group, node element or the RadOrgChart  most probably will cause some unexpected behavior and eventually will break the layout.

    Boyan Dimitrov
    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 UI for ASP.NET AJAX, subscribe to the blog feed now.
Back to Top