How to make filter fields show in multiple columns

4 posts, 0 answers
  1. Shannnon
    Shannnon avatar
    31 posts
    Member since:
    Oct 2010

    Posted 02 Mar 2011 Link to this post

    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
  2. Nikolay Rusev
    Admin
    Nikolay Rusev avatar
    2284 posts

    Posted 08 Mar 2011 Link to this post

    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!
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Shannnon
    Shannnon avatar
    31 posts
    Member since:
    Oct 2010

    Posted 08 Mar 2011 Link to this post

    Thank you Nikolay, it workes! Just curious, is there anyway for me to make the menu multi-columns instead of scrolling?
  5. Nikolay Rusev
    Admin
    Nikolay Rusev avatar
    2284 posts

    Posted 11 Mar 2011 Link to this post

    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!
Back to Top