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

Set ImageUrl using hierarchical data binding

1 Answer 64 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Torstein
Top achievements
Rank 1
Torstein asked on 16 Nov 2012, 12:49 PM
Hi,

How can I set the ImageUrl on an RadMenuItem when populating the menu from code using hierarchical data binding.
I am trying to create a menu with icons/images.

Thanks!

TS.

1 Answer, 1 is accepted

Sort by
0
Accepted
Kate
Telerik team
answered on 21 Nov 2012, 11:08 AM
Hello Torstein,

Using the ItemDataBound server side event of the RadMenu control you can assign the corresponding table column to the ImageUrl property as demonstrated with the ToolTip example here

Regards,
Kate
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Menu
Asked by
Torstein
Top achievements
Rank 1
Answers by
Kate
Telerik team
Share this question
or