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

Rendermode settings in Web.config not applied

1 Answer 183 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Tonie Venter
Top achievements
Rank 1
Tonie Venter asked on 19 Nov 2017, 11:22 PM

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.https://docs.telerik.com/devtools/aspnet-ajax/controls/render-modes

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?

 

 

1 Answer, 1 is accepted

Sort by
0
Vessy
Telerik team
answered on 20 Nov 2017, 12:23 PM
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.

Regards,
Vessy
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.
Tags
General Discussions
Asked by
Tonie Venter
Top achievements
Rank 1
Answers by
Vessy
Telerik team
Share this question
or