Log In
Home
Support
Demos
Documentation
Blogs
Training
Webinars
[Expand]General Information
[Expand]WinForms Controls
[Collapse]ASP.NET Controls and MVC Extensions
 [Expand]Prerequisites
 [Expand]What's Installed
 [Expand]Common Concepts
 [Collapse]ASP.NET WebForms Controls
  [Expand]Reporting
  [Expand]Chart Control
  [Expand]Grid View
  [Expand]Card View
  [Expand]Vertical Grid
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Image and Data Browsing
  [Expand]Docking and Popups
  [Expand]Site Navigation and Layout
  [Expand]File Management
  [Expand]Multi-Use Site Controls
  [Expand]Scheduler
  [Collapse]HTML Editor
    Deployment of ASPxHtmlEditor
    Main Features
    Getting Started
    ASPxHtmlEditor Designer
   [Expand]Concepts
   [Expand]Visual Elements
   [Collapse]Examples
     How to: Set up a custom font dialog
     How to: Implement custom commands and dialogs
     How to: Provide an end-user with a list of templates to insert into the editor
     How to: Create custom toolbar items
     How to: Implement a custom Preview popup
     How to: Use the ASPxHtmlEditor to edit the XtraReport content directly on the web page
     How to: Use the ASPxHtmlEditor in the ASPxGridView
     How to: Bind the HTML Property to a Database Field
     How to: Use the client PerformDataCallback method and the server CustomDataCallback event
  [Expand]Pivot Grid
  [Expand]Tree List
  [Expand]Gauges
  [Expand]Data Editors
  [Expand]Spell Checker
  [Expand]Query Builder
 [Expand]ASP.NET MVC Extensions
 [Expand]Localization
 [Expand]Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Document Server
[Expand]Reporting
[Expand]Report Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

How to: Implement custom commands and dialogs

Show Me

A complete sample project is available in the DevExpress Code Examples database at http://www.devexpress.com/example=E360.

There is an ASPxHtmlEditor on the form. We are creating a custom toolbar with one item corresponding to the custom HtmlEditor's command. When the user raises this command by clicking the toolbar button, the custom dialog is retrieved from the server.

See Also:

How to set up a custom font dialog

How would you rate this topic?​​​​​​​