Creating a dynamic splitbutton

Dan Gros

I need a dynamically bound splitbutton which can nest 2 levels deep. Is this possible, maybe with a HierarchicalDataTemplate? Currently, we use the RadMenu control for a split button but it's hard coded in the manner shown in the sample below, however, I need it to bind to a collection of items which contain a collection of subitems. The button would look like this:
MenuButton
Category1SubCategory1
SubCategory2
Category2SubCategoryA

Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks or appropriate markings.