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

Page layout problem when filter menu is open in the radgrid

3 Answers 45 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
guillaume.lebel
Top achievements
Rank 1
Iron
guillaume.lebel asked on 20 Sep 2010, 09:11 PM
Hi, 

I currently have an issue with my page layout when the filter menu of my radgrid is open and my page is ajaxified with the radajaxmanager.

I have a masterPage that contain a RadAjaxManager who ajaxify a few of my page controls.

The page have a RadListBox with a RadGrid that display data based on the previous selection made in the listBox. Everything is working well till that. After i used any of my grid filter and i try to filter on an other column, once the filter menu appear the page layout is completly broken.

Also if i remove all ajax in the page, the layout stays as expected.

Regards,

Guillaume

3 Answers, 1 is accepted

Sort by
0
Accepted
Dimo
Telerik team
answered on 21 Sep 2010, 10:10 AM
Hi Guillaume,

The problem is caused by the fact that the filtering menu and its skin are added after an AJAX request.

Please set EnableAjaxSkinRendering="true" to RadGrid programmatically in Page_Load - both on initial load and after postbacks.

Sincerely yours,
Dimo
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
guillaume.lebel
Top achievements
Rank 1
Iron
answered on 21 Sep 2010, 02:12 PM
Thx for your quick answer,

It solve the problem. But i'm just wondering currently i have a few iis environment with the same application but i could reproduce the problem on only 2 of them.

Do you know if there's a specific setting that could have cause the problem??

Thx for your help,

Guillaume
0
Dimo
Telerik team
answered on 21 Sep 2010, 03:56 PM
Hi Guillaume,

I am afraid I am not aware of your exact setup, so I can't provide any specific explanation.

Generally, the discussed issue occurs when a RadControl, which is an autogenerated child control of another RadControl, is not rendered on the page on initial load, but its parent is rendered. Since the EnableAjaxSkinRendering property of the parent RadControl is toggled to "false" after initial load (by design), the child RadControl does not register its skin after a subsequent AJAX request.

Regards,
Dimo
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
Ajax
Asked by
guillaume.lebel
Top achievements
Rank 1
Iron
Answers by
Dimo
Telerik team
guillaume.lebel
Top achievements
Rank 1
Iron
Share this question
or