Download Ektron CMS400.NET Developer Reference Manual

Transcript
HTMLEditor Server Control
HTMLEditor Server Control
Introduction
This server control provides the ability to edit CMS content. The eWebEditPro
editor can easily be placed onto a page for content editing. There is flexibility to
control the toolbars, the available functionality, and the operations of the editor.
WARNING!
After placing an HTMLEditor server control on a page, follow the procedure
described in ”Updating the Page Command” on page 279. Otherwise, the user
may get an error when submitting the content.
The control, at run time, produces the fields listed below. They are posted with the
content and can be processed in the receiving page.
•
•
•
•
[ControlName]_Action = the action to take - save, check in, undo checkout
[ControlName]_ContentTitle = the content title
[ControlName]_ContentId = the ID of the content
[ControlName]_Language = the language of the content
The content title caption is surrounded with span tags that have this ID:
•
[ControlName]_TitleLabel
All information for all content information fields (except the content itself) is
surrounded with a div tag with this ID:
•
[ControlName]_ContentInfo
The valid values for the [ControlName]_Action value are:
•
•
Publish - submit the posted content for publication
•
•
Save - save the content and redisplay in the editor
CheckIn - check in the content
UndoCheckout - undo the checkout of the content
The server control displays the Ektron CMS400 HTML editor on a Web page. By
adding the HTMLEditor to a Web page, site visitors can create or edit HTML
Ektron CMS40 0.NET Deve lope r Re fe re nce Manua l, Version 7.5, Rev 7
293