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

Menu Images sizes

1 Answer 82 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Andy Green
Top achievements
Rank 2
Andy Green asked on 08 Jul 2009, 10:03 AM
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 http://www.twinhelix.com 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?

Andy

1 Answer, 1 is accepted

Sort by
0
Kamen Bundev
Telerik team
answered on 10 Jul 2009, 03:03 PM
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:
http://www.telerik.com/help/aspnet-ajax/skinregistration.html
http://www.telerik.com/help/aspnet-ajax/modifyingexistingskins.html
http://www.telerik.com/help/aspnet-ajax/createcustomskin.html
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.
Tags
Menu
Asked by
Andy Green
Top achievements
Rank 2
Answers by
Kamen Bundev
Telerik team
Share this question
or