ExpandDirection GroupSettings and Databinding

2 posts, 0 answers
  1. Elio
    Elio avatar
    5 posts
    Member since:
    Jul 2011

    Posted 09 Aug 2011 Link to this post

    Is there anyway to dynamically change the Expand direction of a Groupsetting by using a databind.

    My menu is generated by a datasource/databing and we wanted to simulate a "windows" like Start menu but dynamically setting up the expand direction is a problem.

    If I set it to "up" all the items overflow its parents, and the right direction should only happen after you expand the first set of items.

  2. Kate
    Kate avatar
    1898 posts

    Posted 12 Aug 2011 Link to this post

    Hello Elio,

    You can create an additional field that map to another property of menu items (custom attributes) that could hold a value for the ExpandDirection. Then you could use the ItemDataBound event to set those values and according to them you could set the expand direction as desired. 

    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Back to Top