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

RadMenu with Images from Database

1 Answer 90 Views
Menu
This is a migrated thread and some comments may be shown as answers.
License
Top achievements
Rank 1
License asked on 21 Mar 2013, 02:32 PM
I am driving my RadMenu from a table in SQL and would like to utilize the image column type to store the icon for my menu items rather than store the images in the project. Once I pull in the binary data and convert it to an Image object type, is there a way to set the Image of a RadMenu Item to that image? Currently, I am using the ImageURL property but this doesn't offer the flexibility that I need. Any help is appreciated.

1 Answer, 1 is accepted

Sort by
0
MasterChiefMasterChef
Top achievements
Rank 2
answered on 21 Mar 2013, 06:23 PM
Hi Robert,

Take a look at this demo on the Telerik website, and refer to the code below on how to add images into the RadMenu. Are you intending to insert an image at the top of a RadMenu or inside a single RadMenuItem? Both are possible. In the demo they have a background image and make the RadMenu transparent so you can see through to the background image. The demo also covers inserting images into a RadMenuItem. 

Hopefully this helps,
Master Chief

Tags
Menu
Asked by
License
Top achievements
Rank 1
Answers by
MasterChiefMasterChef
Top achievements
Rank 2
Share this question
or