Chapter 9. Using the ASPxHtmlEditor
Sometimes writing yields funny surprises. I was thinking of a demo for this chapter, and a natural choice is an application that supports writing and publishing Web logs. I picked a random name for the demo, blogit, and then thought maybe I should look to see if it had been taken. (Sometimes people get very territorial about names. Yes, blogit was taken.) The funny part is that almost every combination I could imagine was taken — goblog, blogexpress, devblog, superblog, blogx — until I eventually gave up on clever blog names for the sample. The winner is blogsample out of desperation.
The name of the sample application isn't really that important, though. What is important is the powerful editing features of the ASPxHtmlEditor
. The ASPxHtmlEditor
is a full-featured editor with Design, HTML, and Preview modes. Like the ASPxScheduler
, the ASPxHtmlEditor
is closer to a subsystem than it is to a control. The ASPxHtmlEditor
supports HTML and text input; scripts are disabled by default but supported; performance is enhanced with Ajax; and buttons, toolbars, and context menus make the ASPxHtmlEditor
a full-featured editor for all your online editing projects.
Managing ASPxHtmlEditor Features
Like all of the other DevExpress controls the ASPxHtmlEditor can largely be managed by toggling property states. Script support has AllowScripts, IFrame, and Form supports as the AllowIFrames and AllFormElements properties. With a little experimentation with the samples ...
Get Professional DevExpress™ ASP.NET Controls now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.