This is a migrated thread and some comments may be shown as answers.

ExpandDirection GroupSettings and Databinding

1 Answer 63 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Elio
Top achievements
Rank 1
Elio asked on 09 Aug 2011, 04:31 PM
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.

1 Answer, 1 is accepted

Sort by
0
Kate
Telerik team
answered on 12 Aug 2011, 11:52 AM
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. 

Greetings,
Kate
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.

Tags
Menu
Asked by
Elio
Top achievements
Rank 1
Answers by
Kate
Telerik team
Share this question
or