New to Telerik UI for ASP.NET AJAXStart a free 30-day trial

Render Modes

Some Telerik UI for ASP.NET AJAX controls provide more lightweight markup and facilitate styling through CSS3.

The following table lists the modes each control supports. For more information, refer to the article on render modes in the Styling & Appearance section.

ControlLightweight RenderingMobile Rendering
AjaxN/A-
AutoCompleteBoxYes (by design)-
AsyncUploadYes (render mode)-
BarCodeN/A-
ButtonYes (render mode)-
HtmlChartN/A-
CalendarYes (render mode)-
CaptchaN/A-
CheckBoxYes (by design)-
ColorPickerYes (render mode)-
ComboboxYes (render mode)-
DataFormYes (by design)-
DataPagerYes (render mode)Yes (render mode)
DiagramYes (by design)-
DockYes (render mode)-
DrawerYes (by design)-
DropDownListYes (by design)-
DropDownTreeYes (by design)-
EditorYes (render mode)Yes (render mode)
FileExplorerYes (render mode)-
FilterYes (render mode)-
FormDecoratorYes (render mode)-
GanttYes (by design)-
GaugeN/A-
GridYes (render mode)Yes (render mode)
HtmlChartYes (by design)-
ImageButtonYes (render mode)-
ImageEditorYes (render mode)-
ImageGalleryYes (by design)Yes (render mode)
InputYes (render mode)-
LightBoxYes (by design)Yes (render mode)
LinkButtonYes (by design)-
ListBoxYes (render mode)-
MapN/A-
MediaPlayerYes (by design)Yes (render mode)
MenuYes (render mode)Yes (render mode)
MultiColumnComboBoxYes (by design)-
MultiSelectYes (by design)-
NotificationYes (render mode)-
OrgChartYes (render mode)-
PanelBarYes (render mode)-
PivotGridYes (render mode)-
ProgressArea--
ProgressBarYes (by design)-
PushButtonYes (by design)-
RatingYes (render mode)-
RibbonBar--
RotatorYes (by design)-
SearchBoxYes (by design)-
Scheduler-Yes (render mode)
SiteMap--
SliderYes (render mode)-
SocialShareYes (render mode)-
SpellYes (child control - Window)-
SplitterYes (render mode)-
TabStrip--
TagCloudYes (by design)-
TickerYes (by design)-
TileYes (by design)-
TileListYes (by design)-
ToolBar--
ToolTipYes(render mode)-
ToggleButtonYes(render mode)-
TreeListYes (render mode)-
TreeMapYes (by design)-
TreeViewYes (render mode)-
WizardYes (by design)Yes (render mode)
WindowYes (render mode)-
XmlHttpPanelN/A-

To extend the rendering mode of Telerik controls by using a property, that is, the controls are not lightweight by design for example, you need to add specific properties to your class to provide this functionality:

The following example demonstrates the properties which enable you to use RenderMode for controls inherited from the Telerik controls.

C#
public class BaseScheduler : RadScheduler
{
	public BaseScheduler()
	{
		SetDefaultValues();
	}

	private void SetDefaultValues()
	{
		if (DesignMode)
		{
			return;
		}
	}

	//Add this property only if the base control implements the Lightweight rendering through the RenderMode property
	protected override bool SupportsLightweightRendering
	{
		get
		{
			return true;
		}
	}

	//Add this property only if the base control implements Adaptive (Mobile) rendering through the RenderMode property
	protected override bool SupportsAdaptiveRendering
	{
		get
		{
			return true;
		}
	}

	//Add this property onyl if the base control implements Native rendering through the RenderMode property
	protected override bool SupportsNativeRendering
	{
		get
		{
			return true;
		}
	}
}
Not finding the help you need?
Contact Support