Rendering grid in non-minified form

2 posts, 0 answers
  1. Vadim
    Vadim avatar
    4 posts
    Member since:
    Jan 2015

    Posted 28 May 2015 Link to this post

    When I am rendering the grid control (using the server rendering option), I noticed that the resulting HTML is rendered as a single line.

    Is there a way to render the grid's HTML as an outlined output with each table's tag on its own line aka


    It would be helpful for debugging and troubleshooting (in VisualStudio, browser debugger, in Fiddler, just using View Page Source option) and even in some cases for customers (to let them using Page Source option to save the raw HTML content - I had plenty of situations when that was a savvier).

  2. Dimiter Madjarov
    Dimiter Madjarov avatar
    2312 posts

    Posted 01 Jun 2015 Link to this post

    Hello Vadim,

    This behavior is not supported. Nevertheless inspecting the element and reviewing the "Elements" tab of the browsers developer tools will always display the code in the correct format, so you could use it in this case.

    Dimiter Madjarov
    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 Feedback Portal and vote to affect the priority of the items
Back to Top