The demo showcases the three different rendering modes of Telerik's ASP.NET ComboBox:
Classic, Lightweight and Native.
-
Classic rendering is the long-standing rendering mode of the control
in which its layout is implemented using a table element.
-
Lightweight rendering leverages HTM5 and CSS3 to deliver less HTML
to the browser, but the control may lose its rounded corners, gradients and shadows
in non-modern browsers. With this mode, the control layout is implemented using
generic elements, such as div and span, as well as semantic elements
for the input and button.
-
Native rendering causes RadComboBox to render on the page as a select element with option
elements representing its items. This comes
handy on mobile devices, because RadComboBox would have the native mobile behavior
The default render mode of the control is Classic and you have
the option to either explicitly set it to Lightweight or leverage
the Auto mode to have the control choose the best rendering based
on the user's browser.
Note: In order to provide optimal experience for your end users,
we recommend that you use only one type of render mode for a control on a given
page page. For example, if you have two instances of RadComboBox on the page, it
will be best if both of them use the same render mode.
Note: The Material skin is available only for the modern Lightweight
render mode. Change the skin or the mode to properly visualize the demonstrated control.
Note on the statistics:
The markup size is calculated automatically in the code-behind by rendering a simple RadComboBox instance on a blank page.