This demo showcases the two different rendering modes of
Telerik's ASP.NET Button
control: Classic and Lightweight.
-
Classic rendering is the long-standing rendering mode of the control.
-
Lightweight rendering leverages CSS3 to deliver semantic
HTML to the browser, but the control may lose its rounded corners, gradients and shadows
in non-modern browsers.
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. For example, if you have two instances of RadButton on the page, it
will be best if both of them use the same render mode.
Notes on the statistics:
The markup size is calculated automatically in the code-behind by rendering each of the displayed RadButton types on a blank page.
* - The Lightweight RenderMode of RadButton uses WebFont instead of image sprites for its embedded icons which offers more benefits over the images.