How to show Icon in RadContextMenu Item ?

3 posts, 1 answers
  1. Peter Wang
    Peter Wang avatar
    18 posts
    Member since:
    Feb 2010

    Posted 26 Feb 2010 Link to this post

    when I set its Icon to "image/aaa.png", it shows string instead of the image.

    Please help.
  2. Answer
    Hristo avatar
    832 posts

    Posted 01 Mar 2010 Link to this post

    Hi Peter Wang,

    Icon property have type converter that will try to convert the string to Image if the string is valid URI. Unfortunately Silverlight 3 will not call this type converter (it is called in WPF). So the only solution is to set Image object and set its Source property.

    Sincerely yours,
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. Peter
    Peter avatar
    1 posts
    Member since:
    Feb 2011

    Posted 03 Feb 2011 Link to this post

    Could you give me an example of how this would be done in a VB code behind?

Back to Top