# set_visible

Sets the RadEditor visible on the client.

| **function**  **set_visible (isVisible)** |             |                                                      |
| ----------------------------------------- | ----------- | ---------------------------------------------------- |
| **isVisible**                             | **boolean** | If **true** RadEditor will be visible on the client. |

The following example places a standard ASP checkbox input control on the form to toggle RadEditor visibility.

![RadEditor screenshot showing editor-clientapi001.png](https://www.telerik.com/products/aspnet-ajax/documentation/assets/c0297b5d4979cef508a5a4cbd96154b9/editor-clientapi001.png)

In the form's declaration, the checkbox input control references a "myCheckboxClick()" method called each time the checkbox is toggled.

```ASP.NET
Editor Visible?
<input type="checkbox" id="myCheckBox" checked="checked" onclick="myCheckboxClick()" />
<telerik:RadEditor RenderMode="Lightweight" ID="RadEditor1" runat="server">
</telerik:RadEditor>
```

In the script for the checkbox click handler, you can [return a reference to the RadEditor client object](https://www.telerik.com/products/aspnet-ajax/documentation/controls/editor/client-side-programming/getting-a-reference-to-radeditor), get a reference to the checkbox DOM object, then call set_visible() passing the current checkbox "checked" value:

```ASP.NET
<telerik:RadScriptBlock ID="RadScriptBlock1" runat="server">
   <script type="text/javascript">
	function myCheckboxClick() {
		//get a reference to RadEditor client object
		var editor = $find("<%=RadEditor1.ClientID%>");
		var isChecked = document.getElementById("myCheckBox").checked;
		editor.set_visible(isChecked);
	}        
   </script>
</telerik:RadScriptBlock> 
```
