<%@ Page Theme="Default" Language="C#" AutoEventWireup="true" CodeFile="DefaultCS.aspx.cs"Inherits="Telerik.Web.Examples.Editor.CustomDropdowns.DefaultCS" %>
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<!DOCTYPE html>
<html xmlns='http://www.w3.org/1999/xhtml'>
<head runat="server">
<title>Telerik ASP.NET Example</title>
<link href="../Common/styles.css" rel="stylesheet" type="text/css" />
<link href="styles.css" rel="stylesheet" />
<script src="scripts.js"></script>
</head>
<body>
<form id="form1" runat="server">
<telerik:RadScriptManager runat="server" ID="RadScriptManager1" />
<telerik:RadSkinManager ID="RadSkinManager1" runat="server" ShowChooser="true" />
<div class="demo-containers">
<div class="demo-container size-medium">
<h2>Custom Split Buttons with Markup and ToolsFile</h2>
<telerik:RadEditor RenderMode="Lightweight" runat="server" ID="RadEditor1" Height="350px" Width="600px" ToolsFile="~/Editor/Examples/CustomDropdowns/EmoticonsToolsFile.xml"
OnClientCommandExecuting="TelerikDemo.OnClientCommandExecuting">
<Tools>
<telerik:EditorToolGroup>
<telerik:EditorSplitButton Name="Emoticons2" Text="Emoticons set inline" itemsperrow="5"
popupwidth="170px" popupheight="117px">
<telerik:EditorDropDownItem Name="<img src='icons/1.gif' />" Value="icons/1.gif"></telerik:EditorDropDownItem>
<telerik:EditorDropDownItem Name="<img src='icons/2.gif' />" Value="icons/2.gif"></telerik:EditorDropDownItem>
<telerik:EditorDropDownItem Name="<img src='icons/3.gif' />" Value="icons/3.gif"></telerik:EditorDropDownItem>
<telerik:EditorDropDownItem Name="<img src='icons/4.gif' />" Value="icons/4.gif"></telerik:EditorDropDownItem>
<telerik:EditorDropDownItem Name="<img src='icons/5.gif' />" Value="icons/5.gif"></telerik:EditorDropDownItem>
<telerik:EditorDropDownItem Name="<img src='icons/6.gif' />" Value="icons/6.gif"></telerik:EditorDropDownItem>
<telerik:EditorDropDownItem Name="<img src='icons/7.gif' />" Value="icons/7.gif"></telerik:EditorDropDownItem>
<telerik:EditorDropDownItem Name="<img src='icons/8.gif' />" Value="icons/8.gif"></telerik:EditorDropDownItem>
<telerik:EditorDropDownItem Name="<img src='icons/9.gif' />" Value="icons/9.gif"></telerik:EditorDropDownItem>
<telerik:EditorDropDownItem Name="<img src='icons/10.gif' />" Value="icons/10.gif"></telerik:EditorDropDownItem>
<telerik:EditorDropDownItem Name="<img src='icons/11.gif' />" Value="icons/11.gif"></telerik:EditorDropDownItem>
<telerik:EditorDropDownItem Name="<img src='icons/12.gif' />" Value="icons/12.gif"></telerik:EditorDropDownItem>
<telerik:EditorDropDownItem Name="<img src='icons/13.gif' />" Value="icons/13.gif"></telerik:EditorDropDownItem>
<telerik:EditorDropDownItem Name="<img src='icons/14.gif' />" Value="icons/14.gif"></telerik:EditorDropDownItem>
<telerik:EditorDropDownItem Name="<img src='icons/15.gif' />" Value="icons/15.gif"></telerik:EditorDropDownItem>
<telerik:EditorDropDownItem Name="<img src='icons/16.gif' />" Value="icons/16.gif"></telerik:EditorDropDownItem>
<telerik:EditorDropDownItem Name="<img src='icons/17.gif' />" Value="icons/17.gif"></telerik:EditorDropDownItem>
<telerik:EditorDropDownItem Name="<img src='icons/18.gif' />" Value="icons/18.gif"></telerik:EditorDropDownItem>
<telerik:EditorDropDownItem Name="<img src='icons/19.gif' />" Value="icons/19.gif"></telerik:EditorDropDownItem>
<telerik:EditorDropDownItem Name="<img src='icons/20.gif' />" Value="icons/20.gif"></telerik:EditorDropDownItem>
<telerik:EditorDropDownItem Name="<img src='icons/21.gif' />" Value="icons/21.gif"></telerik:EditorDropDownItem>
<telerik:EditorDropDownItem Name="<img src='icons/22.gif' />" Value="icons/22.gif"></telerik:EditorDropDownItem>
<telerik:EditorDropDownItem Name="<img src='icons/23.gif' />" Value="icons/23.gif"></telerik:EditorDropDownItem>
<telerik:EditorDropDownItem Name="<img src='icons/24.gif' />" Value="icons/24.gif"></telerik:EditorDropDownItem>
<telerik:EditorDropDownItem Name="<img src='icons/25.gif' />" Value="icons/25.gif"></telerik:EditorDropDownItem>
</telerik:EditorSplitButton>
</telerik:EditorToolGroup>
</Tools>
<Content>
<img alt="product logo" src="../../images/productLogoLight.gif" />is the successor of the well known industry standard Editor for ASP.NET. The tight integration with ASP.NET AJAX and the powerful new capabilities make Telerik's WYSIWYG Editor a flexible and lightweight component, turning it into the fastest loading Web Editor. Among the hottest features are:
<ul>
<li><em>Single-file, drag-and-drop deployment</em></li>
<li><em>Built on top of ASP.NET AJAX</em></li>
<li><em>Unmatched loading speed with new semantic rendering </em></li>
<li><em>Full keyboard accessibility</em></li>
<li><em>Flexible Skinning mechanism</em></li>
<li><em>Simplified and intuitive toolbar configuration</em></li>
<li><em>Out-of-the-box XHTML-enabled output</em></li>
</ul>
</Content>
</telerik:RadEditor>
</div>
<div class="demo-container size-medium">
<h2>Custom Dropdown Tools via ToolsFile</h2>
<telerik:RadEditor RenderMode="Lightweight" OnClientCommandExecuting="TelerikDemo.OnClientCommandExecuting" ToolsFile="~/Editor/Examples/CustomDropdowns/ToolsFile.xml"
runat="server" ID="RadEditor2" Height="350px" Width="600px">
<Content>
<table>
<tbody>
<tr>
<td> <strong>Unordered Lists</strong></td>
<td> <strong>Ordered Lists</strong></td>
</tr>
<tr>
<td> Among the hottest features of RadEditor are:
<ul>
<li><em>Single-file, drag-and-drop deployment</em> </li>
<li><em>Built on top of ASP.NET AJAX</em> </li>
<li><em>Unmatched loading speed with new semantic rendering </em></li>
<li><em>Full keyboard accessibility</em> </li>
<li><em>Simplified and intuitive toolbar configuration</em> </li>
<li><em>Out-of-the-box XHTML-enabled output</em> </li>
</ul>
</td>
<td>RadEditor offers 7 different ways to paste content from Microsoft Word and other applications:
<ol>
<li>Strip Word-formatting on paste</li>
<li>Strip Word-formatting on paste (cleaning fonts and sizes)</li>
<li>Forced format stripping on Paste</li>
<li>Word Content in Clipboard Interception</li>
<li>Strip Word-formatting after paste</li>
<li>Paste plain text</li>
<li>Paste as HTML </li>
</ol>
</td>
</tr>
</tbody>
</table>
</Content>
</telerik:RadEditor>
</div>
<div class="demo-container size-medium">
<h2>Custom Dropdown Tools via Code Behind Creation</h2>
<telerik:RadEditor RenderMode="Lightweight" runat="server" ID="RadEditor3" Height="350px" Width="600px" OnClientCommandExecuting="TelerikDemo.OnClientCommandExecuting">
<Content>
<img alt="product logo" src="../../images/productLogoLight.gif" /> is the successor of the well known industry standard Editor for ASP.NET. The tight integration with ASP.NET AJAX and powerful new capabilities of the Telerik UI for ASP.NET AJAX suite features the new WYSIWYG Editor as a flexible and lightweight component, turning to be the fastest loading Web Editor. Among the hottest features are:
<ul>
<li><em>Single-file, drag-and-drop deployment</em></li>
<li><em>Built on top of ASP.NET AJAX</em></li>
<li><em>Unmatched loading speed with new semantic rendering </em></li>
<li><em>Full keyboard accessibility</em></li>
<li><em>Flexible Skinning mechanism</em></li>
<li><em>Simplified and intuitive toolbar configuration</em></li>
<li><em>Out-of-the-box XHTML-enabled output</em></li>
</ul>
</Content>
</telerik:RadEditor>
</div>
</div>
</form>
</body>
</html>