Default RenderMode

4 posts, 0 answers
  1. Malcolm
    Malcolm avatar
    5 posts
    Member since:
    Feb 2012

    Posted 20 May Link to this post

    What is the default setting for RenderMode? Is there any reason why you not just set RenderMode to "Auto"?

     

    mgm

  2. Rumen
    Admin
    Rumen avatar
    12849 posts

    Posted 20 May Link to this post

    Hi there,

    Thank you for this good question!

    While the modern lightweight and mobile renderings become more and more popular, there is a good number of old projects that still use the classic rendering. We follow closely the trends and once the lightweight rendering usage exceeds 70-80% we will switch the default value of RenderMode to Auto.

    Since this is a public forum thread, I strongly encourage everyone to share his/her opinion about changing the default value of this property.

    Best regards,
    Rumen
    Telerik
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. John S.
    John S. avatar
    90 posts
    Member since:
    Aug 2004

    Posted 30 May Link to this post

    For some reason when I set application RenderMode to Auto I get odd results. For instance the RadMenu dropdown displays correctly some places and other places the item width shrinks and the text is smashed into a smaller space.

    This is a reason to not 'just' set it to Auto.

  5. Rumen
    Admin
    Rumen avatar
    12849 posts

    Posted 02 Jun Link to this post

    Hi,

    The RenderMode="Auto" should be used along with the Device Detection Framework, e.g.

    When Telerik.Web.Device.Detection.dll assembly is referenced in a project, Telerik controls will use it automatically. For example those controls which need to resolve RenderMode="Auto" will use it to determine, whether to activate Mobile Render Mode.

    You can find more information in this help article: RadDeviceDetectionFramework.

    If you still experience the reported problems, please open a support ticket and provide screenshots, live URL or a simple project where we can observe them.

    Best regards,
    Rumen
    Telerik
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Back to Top