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

Radgrid headercontext filter not opens at proper position.

1 Answer 118 Views
Grid
This is a migrated thread and some comments may be shown as answers.
sarthkee
Top achievements
Rank 1
Veteran
sarthkee asked on 11 Jun 2020, 12:01 PM

When I take a Radmenu on master page and a Radgrid on .aspx page my Radgrid's headercontext filter opens from the top of the page otherwise it goes inside the Radmenu. How I resolve it?

Following is the Screen Shot of my problem's output:-

1 Answer, 1 is accepted

Sort by
0
Accepted
Doncho
Telerik team
answered on 16 Jun 2020, 08:35 AM

Hi Sarthkee,

By default, HeaderContext FilterMenu is expanded down and its top edge is situated inside the HeaderItem. However, when the distance between the header item and the bottom of the current window is not enough for fitting the filter menu, it gets vertically relocated so that it stays inside the window.

If this is not the case and even if there is enough space below the header item, the filter still appears higher than expected, I would need to see more details on the current scenario in order to help you with troubleshooting. Please share the markup and code-behind of the aspx page containing the RadGrid so that we have a better overview and help.

Concerning the fact that the filter menu gets hidden by the RadMenu:

If the relocated filter menu collides with a RadMenu on the page, the RadMenu overlaps the filter menu due to its lower z-index.
To overcome that and keep the filter menu over the RadMenu, you check out the Controlling Absolute Positioning with z-index article, where you will find the initial z-index of different Telerik Controls and a few samples with overlapping controls. You can also check out the approach from Override the built in rules | RadHeaderContextMenu.

Kind regards,
Doncho
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Tags
Grid
Asked by
sarthkee
Top achievements
Rank 1
Veteran
Answers by
Doncho
Telerik team
Share this question
or