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

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:

5 comment(s)
Pravin Taneja

Thanks, its going to be very useful.

19 August, 2010
Mehul Harry (DevExpress)


Cool, thanks for the feedback. Stay tuned for more 2010 vol 2 ASPxHtmlEditor feature news in the coming weeks.

20 August, 2010
Ian Byrne

Looks great!  The HTML editor is a great tool. Any chance of both a WinForms amd Silverlight edition??

20 August, 2010
Roger Parry

That looks really good. As above, we'd love a Win Forms version as we have to use another 3rd party one at present (the only non DevExpress component in our project)

21 August, 2010


Very cool!!


23 August, 2010

Please login or register to post comments.