Custom Orientation

2 posts, 0 answers
  1. Manny
    Manny avatar
    1 posts
    Member since:
    Sep 2013

    Posted 08 Nov 2013 Link to this post

    Hello I need help with orientation.  What  I am trying to do is have all root/ancestors have vertical alignment and all descendants without children to have horizontal alignment.  Does that make sense? At most there will only be a depth of three.

    I tried to use the following example but could not get it to work: http://www.telerik.com/community/forums/aspnet-ajax/treeview/horizontal-orientation-for-certain-nodes.aspx

    Thanks in advance.
  2. Magdalena
    Admin
    Magdalena avatar
    421 posts

    Posted 11 Nov 2013 Link to this post

    Hi Manny,

    You can add an property float: left to the items if you would like to make them horizontal. Please, find the exemplar solution in the attachment. There is a script that applies the CSS class to all sub-items without children to make them horizontal.

    Regards,
    Magdalena
    Telerik
    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 the blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top