# Distorted Appearance

This help article describes what to do when you have an appearance issue with **RadCheckBox** and provides a resolution.

The appearance of **RadCheckBox** may be distorted (**Figure 1**) when the control is declared on the same page that contains a **RadButton** with a `Classic` `RenderMode` (*i.e., the default `RenderMode`*).

> caption Figure 1: Distorted appearance of **RadCheckBox** when placed on the same page with **RadButton** `RenderMode`="`Classic`".

![distorted appearance](https://www.telerik.com/products/aspnet-ajax/documentation/assets/a777e2fecfb3700e5f75c40941b43213/distorted-appearance.png)

> caption Example 1: The code that reproduces the appearance issue from **Figure 1**.

```ASP.NET
<telerik:RadButton RenderMode="Lightweight" ID="RadButton1" runat="server" Text="RadButton" />
<br />
<telerik:RadCheckBox ID="RadCheckBox1" runat="server" Text="RadCheckBox" Checked="true"></telerik:RadCheckBox>
```

## Cause of the Problem

Generally, controls from the Telerik® UI for ASP.NET AJAX suite that use the same styles support only a single type of `RenderMode` per page. This also includes instances from user controls and master pages.

**RadButton**, **RadCheckBox** and controls that utilize them, however, share similar resources. Since **RadCheckBox** supports only a `Lightweight` `RenderMode`, its styles may interfere with the styles of the `Classic` **RadButton**. The improper appearance is shown in **Figure 1** and the code that creates it shown in **Example 1**.

## How to Resolve It

To resolve this issue you should:

* Either replace the `Classic` **RadButton** with its `Lightweight` equivalent (i.e., [RadPushButton](https://www.telerik.com/products/aspnet-ajax/documentation/controls/pushbutton/overview), [RadLinkButton](https://www.telerik.com/products/aspnet-ajax/documentation/controls/linkbutton/overview), [RadImageButton](https://www.telerik.com/products/aspnet-ajax/documentation/controls/imagebutton/overview), [RadToggleButton](https://www.telerik.com/products/aspnet-ajax/documentation/controls/togglebutton/overview)).

* Or set the `RenderMode` of the **RadButton** to `Lightweight`.

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:

  **ASP.NET**

  ```
    <telerik:RadButton ID="RadButton1" runat="server" RenderMode="Lightweight">
    </telerik:RadButton>
  ```

  **C#**

  ```
    RadButton1.RenderMode = Telerik.Web.UI.RenderMode.Lightweight;
  ```

  **VB**

  ```
    RadButton1.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:

  **XML**

  ```
    <appSettings>
    	<add key="Telerik.Web.UI.Button.RenderMode" value="lightweight" />
    </appSettings>
  ```

* [Render Modes](https://www.telerik.com/products/aspnet-ajax/documentation/controls/checkbox/mobile-support/render-modes)

* [Client-side Click Event Handler Is Not Executed](https://www.telerik.com/products/aspnet-ajax/documentation/controls/button/troubleshooting/client-side-click-event-handler-is-not-executed)

* [Event Handlers Are Not Raised](https://www.telerik.com/products/aspnet-ajax/documentation/controls/button/troubleshooting/event-handlers-are-not-raised)

* [RadButton Not Performing Postback](https://www.telerik.com/products/aspnet-ajax/documentation/controls/button/troubleshooting/radbutton-not-performing-postback)
