title | page_title | description | slug | tags | published | position |
---|---|---|---|---|---|---|
Render Modes |
Render Modes - RadWindow |
Check our Web Forms article about Render Modes. |
window/mobile-support/render-modes |
render,modes |
true |
1 |
-
@template In this mode tables and background images (in several sprites) are used to create the layout (including rounded corners and shadows).
-
@template This functionality was added in Q3 2013.
note A RadWindow that is inside the Windows collection of a RadWindowManager will inherit the manager's render mode, unless explicitly specified in the RadWindow instance.
There are two ways to configure the rendering mode of the controls:
- The RenderMode property in the markup or in the code-behind that can be used for a particular instance:
<telerik:RadWindow ID="RadWindow1" runat="server" RenderMode="Lightweight">
</telerik:RadWindow>
<telerik:RadWindowManager ID="RadWindowManager1" runat="server" RenderMode="Lightweight">
</telerik:RadWindowManager>
RadWindow1.RenderMode = Telerik.Web.UI.RenderMode.Lightweight;
RadWindowManager1.RenderMode = Telerik.Web.UI.RenderMode.Lightweight;
RadWindow1.RenderMode = Telerik.Web.UI.RenderMode.Lightweight
RadWindowManager1.RenderMode = Telerik.Web.UI.RenderMode.Lightweight
- A global setting in the web.config file that will affect the entire application, unless a concrete value is specified for a given control instance:
<appSettings>
<add key="Telerik.Web.UI.Window.RenderMode" value="lightweight" />
<add key="Telerik.Web.UI.WindowManager.RenderMode" value="lightweight" />
</appSettings>