ASP.NET HTML Editor DropDown Menu (coming in v2010 vol 2)

ASP.NET Team Blog
19 August 2010

Check out this upcoming dropdown menu feature of the ASPxHtmlEditor in the DXperience 2010 vol 2 release:


You will be able to define custom dropdown menus and their items by extending the toolbars of the ASPxHtmlEditor.

Here’s the source code that defines the dropdown menu and it’s items:

<dx:ASPxHtmlEditor ID="DemoHtmlEditor" runat="server" Height="300px" ClientInstanceName="HtmlEditor">
    <ClientSideEvents CustomCommand="OnCommandExecute" />
                <dx:ToolbarJustifyLeftButton BeginGroup="True">
                <dx:ToolbarDropDownMenu BeginGroup="true" CommandName="InsertDateTime" ToolTip="Insert Date and Time">
                    <Image Url="~/Content/Demo/date-icon.png" Height="16px" Width="16px">
                        <dx:ToolbarMenuItem Text="MM/dd/yyyy" Value="%m/%d/%y">
                        <dx:ToolbarMenuItem Text="yyyy-MM-dd" Value="%y-%m-%d">
                        <dx:ToolbarMenuItem Text="Month dd, yyyy" Value="%mf %d, %y">
                        <dx:ToolbarMenuItem Text="Day of Week, Month dd, yyyy" Value="%df, %mf %d, %y">
                        <dx:ToolbarMenuItem Text="h:mm AM" Value="%h:%M %p" BeginGroup="true">
                        <dx:ToolbarMenuItem Text="h:mm:ss AM" Value="%h:%M:%s %p">
                        <dx:ToolbarMenuItem Text="MM/dd/yyyy h:mm AM" Value="%m/%d/%y %h:%M %p" BeginGroup="true">
                        <dx:ToolbarMenuItem Text="yyyy-MM-dd h:mm:ss AM" Value="%y-%m-%d %h:%M:%s %p">

Drop me a line below with your thoughts on the upcoming ASPxHtmlEditor’s dropdown menu feature. Thanks!

Follow MehulHarry on Twitter

DXperience? What's That?

DXperience is the .NET developer's secret weapon. Get full access to a complete suite of professional components that let you instantly drop in new features, designer styles and fast performance for your applications. Try a fully-functional version of DXperience for free now:

Free DevExpress Products - Get Your Copy Today

The following free DevExpress product offers remain available. Should you have any questions about the free offers below, please submit a ticket via the DevExpress Support Center at your convenience. We'll be happy to follow-up.
No Comments

Please login or register to post comments.