You are here: Ektron Namespace > Server Controls API > Ektron.Cms Namespace > Ektron.Cms.Controls Namespace > Classes > HtmlEditDisplay Class > HtmlEditDisplay Methods > RenderCMSFields
Ektron CMS400.NET API Documentation
ContentsIndexHome
PreviousUpNext
HtmlEditDisplay.RenderCMSFields Method

Creates the fields used when the content is posted. This creates fields which are posted to server with these IDs:

  • [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 a span that has this ID:

  • [ControlName]_TitleLabel
 

All of the information for all the 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
  • CheckIn - Check in the content
  • Save - Save the content and redisplay in the editor
  • UndoCheckout - Undo the checkout of the content

C#
public string RenderCMSFields(string strContentTitle, string strTitleLabel, bool bShowTitle);
Visual Basic
Public Function RenderCMSFields(strContentTitle As string, strTitleLabel As string, bShowTitle As bool) As string
Parameters 
Description 
strContentTitle 
The title value text. 
strTitleLabel 
Use RetrieveMessage(m_enumMessages.emsgContentTitle) for this. 
bShowTitle 
Use m_bShowTitle for this. 
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at [email protected].
Copyright (c) 2008. All rights reserved.
What do you think about this topic? Send feedback!