Hi:
I want to dynamically create menu items an arbitrary number of levels deep from a database. Each RadMenuItem will get a Header value and a url (a xaml file name) to go to when that item is clicked. I expected to find a URL or a NavigateURL property in the RadMenuItem object, but I don't see one. So what I want to do is retrieve the url from the item generating the click inside of the RadMenu click event. What property should I use? Can you show me some code to set the urls as I add the menu items?
Thanks,
Terry
I want to dynamically create menu items an arbitrary number of levels deep from a database. Each RadMenuItem will get a Header value and a url (a xaml file name) to go to when that item is clicked. I expected to find a URL or a NavigateURL property in the RadMenuItem object, but I don't see one. So what I want to do is retrieve the url from the item generating the click inside of the RadMenu click event. What property should I use? Can you show me some code to set the urls as I add the menu items?
Thanks,
Terry