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

How to make filter fields show in multiple columns

3 Answers 45 Views
Filter
This is a migrated thread and some comments may be shown as answers.
Shannnon
Top achievements
Rank 1
Shannnon asked on 03 Mar 2011, 01:18 AM
I have a rad filter contains more than 40 filtering fields and they only show in single column in dropdownlist and some fields are hidden behind the top of the browser. Is there any ways that I can divide them into mulitple columns?

Thanks in advance!

Shan

3 Answers, 1 is accepted

Sort by
0
Nikolay Rusev
Telerik team
answered on 08 Mar 2011, 05:36 PM
Hello Shannnon,

You can use the following code on RadFilter PreRender event to enable scrolling of the RadContextMenu:
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
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
0
Shannnon
Top achievements
Rank 1
answered on 08 Mar 2011, 05:50 PM
Thank you Nikolay, it workes! Just curious, is there anyway for me to make the menu multi-columns instead of scrolling?
0
Nikolay Rusev
Telerik team
answered on 11 Mar 2011, 05:09 PM
Hello Shannnon,

I am afraid that RadContextMenu does not support this for root item.

Regards,
Nikolay
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Tags
Filter
Asked by
Shannnon
Top achievements
Rank 1
Answers by
Nikolay Rusev
Telerik team
Shannnon
Top achievements
Rank 1
Share this question
or