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

    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.
  2. Answer
    Kate
    Admin
    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

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top