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

Possible bug in HeaderContextMenu

5 Answers 43 Views
Grid
This is a migrated thread and some comments may be shown as answers.
yerlan
Top achievements
Rank 1
yerlan asked on 27 Jul 2010, 05:40 AM

Hello.

I'm found issue on RadGrid HeaderContextMenu, when grid contains 40+ columns:

If i enable header contextmenu, and set :

1.<HeaderContextMenu>
2.    <DefaultGroupSettings RepeatColumns="2" RepeatDirection="Vertical"/>
3.</HeaderContextMenu>
context menu looks incorrect - columns selector contains 2 columns, but checkboxes appears only in first column (see screnshot in attach). In RadGrid with 30+ columns -  all works correctly. How possible resolve this issue?

ASP.NET AJAX Q2 2010, .NET4, VS2010.

5 Answers, 1 is accepted

Sort by
0
Tsvetoslav
Telerik team
answered on 30 Jul 2010, 09:26 AM
Hi yerlan,

I suppose you are experiencing the behavior only in the case in which the context menu gets a scroll on account of the large number of items in it. Unfortunately, RadMenu (which is used for the context menu of the grid) does not support the multicolumn option with scrolling. You need to set the RepeatColumns property to a number big enough to avoid the scrolling for the context menu.

Hope it helps.

Regards,
Tsvetoslav
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
yerlan
Top achievements
Rank 1
answered on 30 Jul 2010, 10:09 AM

Hello Tsvetoslav.

Thanks for help. I'm increased RepeatColumn value to 3, but columns in menu still placed incorrect - first column full, second column filled to half of height, third column is empty.

0
Tsvetoslav
Telerik team
answered on 30 Jul 2010, 02:31 PM
Hi yerlan,

Could you try adding the following style to your page:

<style type="text/css">
  
      .RadMenu ul.rmMultiColumn .rmMultiGroup {
        background:none repeat scroll 0 0 transparent;
        border:0 none;
    }
  
</style>

and also set EnableAutoScroll=false for the header context menu:

<HeaderContextMenu EnableAutoScroll="false">
    <DefaultGroupSettings RepeatColumns="3"  RepeatDirection="Vertical" />
</HeaderContextMenu>


Regards,
Tsvetoslav
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
yerlan
Top achievements
Rank 1
answered on 30 Jul 2010, 03:36 PM
Tsvetoslav, i'm followed you recommendations, but same result (see attach.)
0
Tsvetoslav
Telerik team
answered on 05 Aug 2010, 08:24 AM
Hello yerlan,

At this point, I'd ask you to open up a formal support ticket and send a runnable test project where the issues can be observed as I am not able to reproduce the problem on my side, not with the suggested fixes. Thanks for that.

Regards,
Tsvetoslav
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
Tags
Grid
Asked by
yerlan
Top achievements
Rank 1
Answers by
Tsvetoslav
Telerik team
yerlan
Top achievements
Rank 1
Share this question
or