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

Expression Items ContextMenu

1 Answer 25 Views
Filter
This is a migrated thread and some comments may be shown as answers.
ilife
Top achievements
Rank 1
ilife asked on 19 Jul 2010, 08:53 AM
Dear Sir/ Madam,

I have a problem with the contextmenu that shows up when you add an expression and want to select the column you would like to filter on. I have a grid with a lot of columns (the customer wants this) and the list that is displayed is so large that you can not select all columns because they appear outside the screen.

Problem solved. In my code behind I find the ContextMenu control and applied my settings.

Kind Regards,

Eugene

1 Answer, 1 is accepted

Sort by
0
Nikolay Rusev
Telerik team
answered on 21 Jul 2010, 12:24 PM
Hello Ilife,

You can find RadContextMenu and set desired height. For example:

protected void RadFilter1_PreRender(object sender, EventArgs e)
    {
        var menu = RadFilter1.FindControl("rfContextMenu") as RadContextMenu;
        menu.DefaultGroupSettings.Height = Unit.Pixel(50);
        menu.EnableAutoScroll = true;
    }

Regards,
Nikolay
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
Filter
Asked by
ilife
Top achievements
Rank 1
Answers by
Nikolay Rusev
Telerik team
Share this question
or