This example demonstrates how to manipulate ASPxHtmlEditor View Areas by CustomToolbarButton.
1) Wrap ASPxHtmlEditor with ASPxCallbackPanel to programmatically send a callback to the server;
2) Define CustomToolbarButton for ASPxHtmlEditor;
3) Handle the client-side ASPxClientHtmlEditor.CustomCommand event and perform a callback via the ASPxClientCallbackPanel.PerformCallback method;
4) Handle the ASPxCallbackPanel.Callback event and define View Areas enabled via the ASPxHtmlEditor.Settings property.