You are here: Ektron Namespace > Server Controls API > Ektron.Cms Namespace > Ektron.Cms.Controls Namespace > Classes > FormBlock Class
Ektron CMS400.NET API Documentation
ContentsIndexHome
PreviousUpNext
FormBlock Class

The FormBlock server control displays a content block associated with a form.

C#
[DefaultProperty("DefaultFormID"), ToolboxData("<{0}:FormBlock runat=server></{0}:FormBlock>")]
public class FormBlock : EkXsltWebPart, IEnumerator, IEnumerable, IListSource, IDataSource;
Visual Basic
<DefaultProperty("DefaultFormID"), ToolboxData("<{0}:FormBlock runat=server></{0}:FormBlock>")>
Public Class FormBlock
Inherits EkXsltWebPart
Inherits IEnumerator
Inherits IEnumerable
Inherits IListSource
Inherits IDataSource

FormBlock.cs

Name 
Description 
The methods of the FormBlock class are listed here. 
The properties of the FormBlock class are listed here. 
 
Name 
Description 
 
Copies all the elements of the current System.Data.InternalDataCollectionBase to a one-dimensional System.Array, starting at the specified System.Data.InternalDataCollectionBase index.  
 
Fill 
Overrideable method that can be used to grab data from the back end for each server control.  
 
Gets a System.Collections.IEnumerator for the collection.  
 
Gets the view data using a dataset.  
 
Gets the view names.  
 
Moves up the index of the Collection. Returns false if the end of the collection has been surpassed.  
 
Brings the index of the collection back to zero. Does not clear the collection.  
 
this 
Index operator into a strongly typed dataset holding some common properties for a Collection item.  
 
Renders the control for output as a string. Use this method to display your controls if you instantiate your control as a component in code behind.  
 
Wrap 
Overrideable method that can be used to wrap an Ektron toolbar corresponding to a particular Control around some Html text.  
 
Name 
Description 
 
Set this value to True to add the validation to your main runat=server form.  
 
Sets the amount of time the server control’s data is cached. The default is 0 (zero). This is the amount of time, in seconds, a control’s data is cached. For example, if you want to cache the data for five minutes, you set the CacheInterval property to 300 (three hundred).Sets the amount of time the server control’s data is cached. The default is 0 (zero). This is the amount of time, in seconds, a control’s data is cached. For example, if you want to cache the data for five minutes, you set the CacheInterval property to 300 (three hundred).  
 
Indicates the number of elements in your Collection.  
 
Gets the current object in the collection.  
 
Gets or Sets the Default FormID for this Control.  
 
Gets or sets the QueryString parameter to read a Form ID dynamically - Set to String.Empty if you wish to always display the default FormID (static.)  
 
Gets the Ektron.Cms.Common.ContentBase for the current Form Block.  
 
Returns a collection of fields defined in the selected form.  
 
Set this value to the name of your main runat=server form.  
 
Set to True to have this Ektron Form element to wrap its own Form tags around itself.  
 
Gets a value indicating whether the System.Data.InternalDataCollectionBase is synchronized.  
 
WEB PARTS ONLY: Allows a developer to set the starting folder for the personalization/collaboration selection dialog.  
 
Gets an object that can be used to synchronize the collection.  
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!