Set ImageUrl using hierarchical data binding

2 posts, 1 answers
  1. Torstein
    Torstein avatar
    1 posts
    Member since:
    Sep 2012

    Posted 16 Nov 2012 Link to this post


    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.


  2. Answer
    Kate avatar
    1898 posts

    Posted 21 Nov 2012 Link to this post

    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

    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.
  3. DevCraft R3 2016 release webinar banner
Back to Top