Menu Images sizes

2 posts, 0 answers
  1. Andy Green
    Andy Green avatar
    376 posts
    Member since:
    Aug 2008

    Posted 08 Jul 2009 Link to this post

    Is there a way to define the image size for items on the menu.

    We are stuck with IE 6 here and are using Angus Turnbull fix or PNG alpha transparency. This HTC requires that the images have a size.

    One other thought, why is the contol not doing this automatically, do they have suppport for ie 6 PNG problems?

  2. Kamen Bundev
    Kamen Bundev avatar
    1532 posts

    Posted 10 Jul 2009 Link to this post

    Hi Andy,

    RadMenu is made and tested with 16x16 images. You can make them bigger but you probably will break the skin. Of course you can customize the skin to have bigger hovers and use bigger images with them. You can read more about external skins here:
    Additionally we can help you if you can't handle it. If you only need to set in pixels the width and height of the images, you can do it with CSS for instance:
    .RadMenu .rmLeftImage
        width: 16px;
        height: 16px;
    Adjust that to your liking.

    What are you using PNG alpha transparency for? These hacks usually replace a DOM element with one or several other elements with different style (this ranging from elements with DXImageLoader to VML elements). This more or less breaks our rendering and thus we don't support the alpha transparency hacks. On the other hand PNG files can be 8bit or 24bit and we can't detect that as we can't apply an alpha transparency hack every time. If you send us a sample project with sample images we may be able to help you with the alpha transparency.

    Kind regards,
    Kamen Bundev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top