I'm trying to add ItemTemplates dynamically by calling RadMenuItem.Controls.Add()
The problem is, the moment I do this, the MenuItem's Image/Icon loses its url/link.
How can I fix this...?
1 Answer, 1 is accepted
0
Atanas Korchev
Telerik team
answered on 30 Mar 2009, 08:36 AM
Hello Fabio,
This is the default behavior as RadMenu detects templated items and does not render image for them. The workaround is to add an image control with the desired ImageUrl in the controls collection of the menu item.
Greetings,
Albert
the Telerik team
Check out
Telerik Trainer
, the state of the art learning tool for Telerik products.