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

Radmenu width inconsistent based on skin

1 Answer 109 Views
This is a migrated thread and some comments may be shown as answers.
Top achievements
Rank 2
Moon asked on 18 Nov 2008, 09:21 PM
Q3 2008 ajax controls

I am 2 menu items. I am setting the width of my radmenu to 800.

the width of my page is 800.

I am setting the webblue skin to 800, but it is too wide. To make it the same width, I have to set it to 740.

If I change the skin, it changes the width, even though I still have two menu items and teh width is 740.

The width is just not consistently the same width even though I'm not changing the code. Just the skin.

How can I get a consistent width and why is it not?

        With menSite
            .DataFieldID = "menuId"
            .DataFieldParentID = "parentMenuId"
            .DataNavigateUrlField = "menuURL"
            .DataTextField = "menuName"
            .DataValueField = "menuId"
            .DataSourceID = "SqlDataSource1"
            .CollapseAnimation.Type = AnimationType.OutQuint
            .CollapseAnimation.Duration = "200"
            .Width = "740"
        End With


1 Answer, 1 is accepted

Sort by
Alex Gyoshev
Telerik team
answered on 19 Nov 2008, 11:48 AM
Hello Moon,

The problem is caused by padding and borders, added to the RadMenu container, which mess up with the width (e.g. if you specify a width of 100%, the control gets 100% + border width + paddings in width).

The problem will be fixed for the upcoming SP1 release. Your Telerik points have been updated for the report.

the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Asked by
Top achievements
Rank 2
Answers by
Alex Gyoshev
Telerik team
Share this question