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

RadMenu, Multicolumn column height issue

3 Answers 38 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Eugen
Top achievements
Rank 1
Eugen asked on 13 Aug 2010, 09:51 AM
Hi everyone,

I don't know if this is a feature or a bug, but in my Multicolumn RadMenus not all the rendered columns have the same number of items (please see may attachment). This can be also reproduced with the demo samples from Telerik (http://demos.telerik.com/aspnet-ajax/menu/examples/multicolumnmenu/defaultcs.aspx) if the column number of columns is set to 3 (the submenues of "Support", "Community" and "Company").

In my oppinion the correct layout should provide equal column heights (as number of items per column) and only the last column can have fewer items.

Here is my code:

<t

 

 

elerik:radmenu runat="server" ID="RadMenu1" EnableRoundedCorners="true" EnableShadows="true" Skin="Sitefinity"> 

 

<DefaultGroupSettings RepeatColumns="5" RepeatDirection="Vertical" />  

 

<Items> 

 

<telerik:RadMenuItem Text="Blablabla" NavigateUrl="Default.aspx">  

 

<Items>
<telerik:RadMenuItem BackColor="Red" runat="server" Text="Company1"></telerik:RadMenuItem> <telerik:RadMenuItem runat="server" Text="Services2"></telerik:RadMenuItem>
<telerik:RadMenuItem runat="server" Text="Services3"></telerik:RadMenuItem>
<telerik:RadMenuItem runat="server" Text="Partners4"></telerik:RadMenuItem>
<telerik:RadMenuItem runat="server" Text="Contacts5"></telerik:RadMenuItem> 

 

<telerik:RadMenuItem BackColor="Red" runat="server" Text="Company"></telerik:RadMenuItem>
<telerik:RadMenuItem runat="server" Text="Services"></telerik:RadMenuItem> 

<telerik:RadMenuItem runat="server" Text="Partners"></telerik:RadMenuItem>
<telerik:RadMenuItem runat="server" Text="Contacts"></telerik:RadMenuItem>
<telerik:RadMenuItem runat="server" Text="Company"></telerik:RadMenuItem> 

<telerik:RadMenuItem BackColor="Red" runat="server" Text="Services"></telerik:RadMenuItem> 

<telerik:RadMenuItem runat="server" Text="Partners"></telerik:RadMenuItem>
<telerik:RadMenuItem runat="server" Text="Contacts"></telerik:RadMenuItem>
<telerik:RadMenuItem runat="server" Text="Company"></telerik:RadMenuItem>
<telerik:RadMenuItem BackColor="Red" runat="server" Text="Services"></telerik:RadMenuItem>
<telerik:RadMenuItem runat="server" Text="Partners"></telerik:RadMenuItem> 

<telerik:RadMenuItem runat="server" Text="Contacts"></telerik:RadMenuItem>
</Items>
</telerik:RadMenuItem> 

 

<telerik:RadMenuItem Text="Test" NavigateUrl="Default.aspx"></telerik:RadMenuItem> 

 

</Items>
</telerik:radmenu>

 

 

 

 

How can I achieve such a layout (having all the columns equal - except the last one if is necesary)?

Thanks!

3 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 18 Aug 2010, 03:00 PM
Hi Eugen,

This behavior is by design and it follows that of the sitemap control. Anyway, thanks for your question. We will consider providing more control over the display of the items within the columns.


All the best,
Peter
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
0
Sachin
Top achievements
Rank 1
answered on 13 Sep 2013, 01:36 PM
Hi,
Quick question.. Has this been fixed - or is there any other option to achieve this ?

Regards
Sachin
0
Kate
Telerik team
answered on 17 Sep 2013, 09:06 AM
Hello Sachin,

Please take a look at this demo where you can test how the RadMenu control behaves when you are setting different number of columns. As I tested this issue it seems that, for our old skin the issue is fixed but for some of the new skins it is still an issue. I will log this in our internal system so that our developers can fix it shortly.

Regards,
Kate
Telerik
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 the blog feed now.
Tags
Menu
Asked by
Eugen
Top achievements
Rank 1
Answers by
Peter
Telerik team
Sachin
Top achievements
Rank 1
Kate
Telerik team
Share this question
or