All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
New to Telerik UI for ASP.NET AJAX? Download free 30-day trial
This example shows how to configure the ToolBar of the RadImageEditor control. Two properties control the ToolBar behavior: ToolBarMode and ToolBarPosition. They should be used together.
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="DefaultCS.aspx.cs" Inherits="Telerik.Web.Examples.ImageEditor.ToolBarModes.DefaultCS" %> <!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" /> <meta http-equiv="X-UA-Compatible" content="IE=Edge" /> <link href="styles.css" rel="stylesheet" /> </head> <body> <form id="form1" runat="server"> <telerik:RadScriptManager runat="server" ID="RadScriptManager1" /> <telerik:RadSkinManager ID="RadSkinManager1" runat="server" ShowChooser="true" /> <div class="demo-container size-wide"> <telerik:RadImageEditor RenderMode="Lightweight" ID="RadImageEditor1" runat="server" ImageUrl="~/ImageEditor/images/hay.jpg" Width="730px" Height="580px" /> </div> <qsf:ConfiguratorPanel runat="server"> <Views> <qsf:View> <qsf:ConfiguratorColumn runat="server" Title="Change ToolBar Position" Size="Narrow"> <qsf:RadioButtonList ID="RadiosToolBarPosition" runat="server" AutoPostBack="true" OnSelectedIndexChanged="RadiosToolBarPosition_SelectedIndexChanged"> <asp:ListItem Text="Top" Selected="True"></asp:ListItem> <asp:ListItem Text="Right"></asp:ListItem> <asp:ListItem Text="Bottom"></asp:ListItem> <asp:ListItem Text="Left"></asp:ListItem> </qsf:RadioButtonList> </qsf:ConfiguratorColumn> <qsf:ConfiguratorColumn runat="server" Title="Change ToolBar Mode" Size="Narrow"> <qsf:RadioButtonList ID="RadiosToolBarMode" runat="server" AutoPostBack="true" OnSelectedIndexChanged="RadiosToolBarMode_SelectedIndexChanged"> <asp:ListItem Text="Default" Selected="True"></asp:ListItem> <asp:ListItem Text="Docked"></asp:ListItem> </qsf:RadioButtonList> </qsf:ConfiguratorColumn> </qsf:View> </Views> </qsf:ConfiguratorPanel> </form> </body> </html>