Page layout problem when filter menu is open in the radgrid

4 posts, 1 answers
  1. guillaume.lebel
    guillaume.lebel avatar
    60 posts
    Member since:
    Oct 2012

    Posted 20 Sep 2010 Link to this post

    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
  2. Answer
    Dimo
    Admin
    Dimo avatar
    8485 posts

    Posted 21 Sep 2010 Link to this post

    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
  3. guillaume.lebel
    guillaume.lebel avatar
    60 posts
    Member since:
    Oct 2012

    Posted 21 Sep 2010 Link to this post

    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
  4. Dimo
    Admin
    Dimo avatar
    8485 posts

    Posted 21 Sep 2010 Link to this post

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