# Phone Layout End User Experience

This article shows some basic examples how the end user can interact with the phone-optimized RadEditor control:

* [Start Editing](https://www.telerik.com/products/aspnet-ajax/documentation/controls/editor/mobile-support/phone-layout/end-user-experience#start-editing)

* [Using the Tools](https://www.telerik.com/products/aspnet-ajax/documentation/controls/editor/mobile-support/phone-layout/end-user-experience#using-the-tools)

* [Using Tabs and Contextual Tabs](https://www.telerik.com/products/aspnet-ajax/documentation/controls/editor/mobile-support/phone-layout/end-user-experience#using-tabs-and-contextual-tabs)

* [Toggling HTML Mode](https://www.telerik.com/products/aspnet-ajax/documentation/controls/editor/mobile-support/phone-layout/end-user-experience#toggling-html-mode)

* [Using Built-in Mobile Dialogs](https://www.telerik.com/products/aspnet-ajax/documentation/controls/editor/mobile-support/phone-layout/end-user-experience#using-built-in-mobile-dialogs)
  * [Common Elements](https://www.telerik.com/products/aspnet-ajax/documentation/controls/editor/mobile-support/phone-layout/end-user-experience#common-elements)

  * [Hyperlink Manager](https://www.telerik.com/products/aspnet-ajax/documentation/controls/editor/mobile-support/phone-layout/end-user-experience#hyperlink-manager)

  * [File Browser Dialogs](https://www.telerik.com/products/aspnet-ajax/documentation/controls/editor/mobile-support/phone-layout/end-user-experience#file-browser-dialogs)

  * [Insert Table](https://www.telerik.com/products/aspnet-ajax/documentation/controls/editor/mobile-support/phone-layout/end-user-experience#insert-table)

  * [Find and Replace](https://www.telerik.com/products/aspnet-ajax/documentation/controls/editor/mobile-support/phone-layout/end-user-experience#find-and-replace)

## Start Editing

Initially, **RadEditor** is loaded in **Preview** mode (**Figure 1**). In order to start editing the content (full screen mode), the user should tap either the content, or the **Edit Content** button (![RadEditor Edit Content button](https://www.telerik.com/products/aspnet-ajax/documentation/assets/9ca5d60dcba6ccfef3ab94b07f220a20/edit-contnet-button.png)).

> caption Figure 1: Phone Layout in Preview mode and how to start editing

![RadEditor screenshot showing preview-mode.png](https://www.telerik.com/products/aspnet-ajax/documentation/assets/25fa1c12bd2950e8cdff180316ff4d6f/preview-mode.png)

In full screen mode, user can edit the text and operate with the header tools.

> caption Figure 2: Full screen mode where you can edit the content

![RadEditor screenshot showing full-screen-mode.png](https://www.telerik.com/products/aspnet-ajax/documentation/assets/ba6016f50d049f5b4491cc868111c0f9/full-screen-mode.png)

## Using the Tools

The **ToolZone** can be shown by pressing the **Toggle ToolZone** button from the Header Tools (![RadEditor screenshot showing toggle-toolzone.png](https://www.telerik.com/products/aspnet-ajax/documentation/assets/833273d2e69f93a826121c5b59a0bbec/toggle-toolzone.png)). Using the tools will affect the current selection.

> caption Figure 3: Toggling the ToolZone.

![RadEditor screenshot showing toggle-toolzone.png](https://www.telerik.com/products/aspnet-ajax/documentation/assets/1e27a83a40705cceb9780040dad23da5/toggle-toolzone.png)

The animation in **Figure 4** shows how a user would be able to use the tools and edit or format the content.

> caption Figure 4: User experience with content editing.

![RadEditor screenshot showing AdaptiveRadEditor_v4.gif](https://www.telerik.com/products/aspnet-ajax/documentation/assets/b081e602ae80a2cd7c2fbc2d5f13b1ca/adaptiveradeditor_v4.gif)

## Using Tabs and Contextual Tabs

To change the current tab, the user should press the **Tab Chooser** button (![RadEditor screenshot showing html-mode-button.png](https://www.telerik.com/products/aspnet-ajax/documentation/assets/54bd6995474447e42793ebe90286e2b5/html-mode-button.png)). As shown in **Figure 5**, a pop-up with all available tabs will be shown. Tapping on one of them, will load the corresponding tools from this tab into the **ToolZone**.

> caption Figure 5: Changing the Tab.

![RadEditor screenshot showing changing-tab-1.png](https://www.telerik.com/products/aspnet-ajax/documentation/assets/37fd802b56fe6cd1e9d6aa766f6891ad/changing-tab-1.png)![RadEditor screenshot showing changing-tab-2.png](https://www.telerik.com/products/aspnet-ajax/documentation/assets/6dca5e87749bc0e6de7690859aec1916/changing-tab-2.png)

Additionally, tabs can be configured to be shown only when a certain element is selected. This can be controlled via the **Context** property of the **EditorToolGroup** items. You can read more about that in the [Toolbar Configuration](https://www.telerik.com/products/aspnet-ajax/documentation/controls/editor/mobile-support/phone-layout/toolbar-configuration) article.

In **Figure 6**, you can see how selecting an `<img>` element in the content and opening the **ToolZone**, automatically shows the built-in **Image** tab.

> caption Figure 6: Working with contextual tabs.

![RadEditor screenshot showing contextual-tab.png](https://www.telerik.com/products/aspnet-ajax/documentation/assets/db442e0dae17a07e993e6fec6cabe57d/contextual-tab.png)

## Toggling HTML Mode

The user can edit the content as HTML by switching to HTML mode. This is done by tapping the **Toggle HTML** button (![RadEditor Toggle HTML button](https://www.telerik.com/products/aspnet-ajax/documentation/assets/54bd6995474447e42793ebe90286e2b5/html-mode-button.png)) from the header tools. This will show the content's HTML. Once user is done, tapping the same button will switch the mode back to Design.

> caption Figure 7: Toggling HTML mode.

![RadEditor screenshot showing html-mode.png](https://www.telerik.com/products/aspnet-ajax/documentation/assets/d98352cc5ff53b4a9d1ed1a81e3cb12b/html-mode.png)

## Using Built-in Mobile Dialogs

With the creation of the phone-optimized **RadEditor**, the built-in dialogs also have also been re-designed in order to expose a more user-friendly UI under phone devices. You can learn more details about how to configure the built-in dialogs in the [Mobile Dialogs](https://www.telerik.com/products/aspnet-ajax/documentation/controls/editor/mobile-support/phone-layout/dialogs) article.

> caption Figure 8: Built-in Mobile Dialogs (Insert Table, Insert Image, Insert Link, Find and Replace).

![RadEditor screenshot showing AJAX_RadEditor_Adaptive_Dialogs.png](https://www.telerik.com/products/aspnet-ajax/documentation/assets/94889e1c964c31e3ff7791a2341526b2/ajax_radeditor_adaptive_dialogs.png)

The following sections explain the specific elements for each mobile dialog.

### Common Elements

All built-in dialogs have **OK**/**Insert** and **Cancel** buttons that are used to perform the dialog's action and to cancel the operation. With the mobile-optimized dialogs, these buttons are placed at the top toolbar of the dialog.

> caption Figure 9: OK and Cancel buttons of the mobile-optimized built-in dialogs.

![RadEditor screenshot showing dialogs-header-tools.png](https://www.telerik.com/products/aspnet-ajax/documentation/assets/2749ffdd7d7e3179f9f81349bb64a18f/dialogs-header-tools.png)

### Hyperlink Manager

* **Url** (text input)—the URL of the link to be inserted.
* **Link Text** (text input)—the text of the link.
* **Target** (select input)—the target attribute of the link.

### File Browser Dialogs

* ![RadEditor screenshot showing upload-button.png](https://www.telerik.com/products/aspnet-ajax/documentation/assets/93d994d65aeb4b120d648463b6f02af2/upload-button.png) **Upload**—opens an UI for the user to upload a file *(available if the **UploadPaths** property is set)*.

* ![RadEditor screenshot showing delete-button.png](https://www.telerik.com/products/aspnet-ajax/documentation/assets/19d6702a866d02e27e500414d6bace5e/delete-button.png) **Delete**—deletes the selected file *(available if  the **DeletePaths** property is set)*.

* ![RadEditor screenshot showing list-button.png](https://www.telerik.com/products/aspnet-ajax/documentation/assets/e8cd53cf453d50531c441de32853fe4e/list-button.png) **List View**—toggles the view mode to **List**.

* ![RadEditor screenshot showing thumb-button.png](https://www.telerik.com/products/aspnet-ajax/documentation/assets/9df1923ec2662527d4f29bddbc7cc521/thumb-button.png) **Thumbnail View**—toggles the view mode to **Thumbnails**.

### Insert Table

* ![RadEditor screenshot showing spin-button.png](https://www.telerik.com/products/aspnet-ajax/documentation/assets/b5b2156b9bbd72013fbf56c3f59ab36f/spin-button.png) **Increase/Decrease** (spin buttons)—enables the user to increase or decrease the value in the numeric text-box.

* **Columns** (numeric text-box)—sets the number of the table's columns.

* **Rows** (numeric text-box)— sets the number of the table's rows.

* **Cell Padding** (numeric text-box)—adds a padding to the table's cells.

* **Cell Spacing** (numeric text-box)—adds spacing between the table's cells.

### Find and Replace

* **Find** and **Find and Replace** (radio buttons)—Toggles between the two modes.
* **Match Case** (check-box)—Defines whether to match the case.

## See Also

* [Getting Started](https://www.telerik.com/products/aspnet-ajax/documentation/controls/editor/mobile-support/phone-layout/getting-started)
* [Elements Structure](https://www.telerik.com/products/aspnet-ajax/documentation/controls/editor/mobile-support/phone-layout/elements-structure)
* [Toolbar Configuration](https://www.telerik.com/products/aspnet-ajax/documentation/controls/editor/mobile-support/phone-layout/toolbar-configuration)
* [Mobile Dialogs](https://www.telerik.com/products/aspnet-ajax/documentation/controls/editor/mobile-support/phone-layout/dialogs)

<style>
img{
	vertical-align: middle;
}
</style>
