Rendermode settings in Web.config not applied

2 posts, 0 answers
  1. Tonie Venter
    Tonie Venter avatar
    15 posts
    Member since:
    Jan 2006

    Posted 19 Nov 2017 Link to this post

    I have noticed behavior regarding the RenderMode property that is not consistent with the documentation. According to the documentation one can globally set the RenderMode property for all RadControls by adding this setting to the web.config.

    I have followed the instructions as I require the controls to be set to RenderMode="Auto" as to allow it to render either LightWeight or Mobile depending on the browser.

    At first glance it seems to have been working OK but I have noticed on a page where that where I have implemented a RadGrid control that the Grid was not displayed correctly. I then compared it to another grid where the RenderMode property on the grid itself was set to RenderMode="Auto" and there was a significant difference in the display of the grid.

    It seems that the RenderMode="Auto" setting in the Web.config may not be applied to all the controls correctly. I have now added the property to every radcontrol I implement in the application and everything now looks as expected.

    Is there anyone else that has seen this behavior?



  2. Vessy
    Vessy avatar
    1826 posts

    Posted 20 Nov 2017 Link to this post

    Hi Tonie,

    We are not aware of this behavior and you are the first one to report it. Can you, please, share some more details on the exact scenario in which the described problem occurs? Please note, that even if a setting is applied in the web.config, the RenderMode set in the markup is consider with the highest priority, so this may possibly cause such issues should there is a control with RenderMode!="Auto".

    If this is not the case, please, send us a simplified version of your project where the issue can be reproduced, so we can examine the cause for it further at our end. Thank you in advance for your cooperation.

    Progress Telerik
    Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top