Try our conversational search powered by Generative AI!

Class XFormPostings

Summary description for XFormStatistics.

Inheritance
System.Object
XFormPostings
Implements
System.Web.UI.INamingContainer
System.Collections.IEnumerable
Namespace: EPiServer.Web.WebControls
Assembly: EPiServer.dll
Version: 7.19.2
Syntax
public class XFormPostings : XFormStatistics, INamingContainer, IEnumerable

Constructors

XFormPostings()

Declaration
public XFormPostings()

Fields

DATEPOSTED_COLUMN

The string identifier of the column for the date of the posting.

Declaration
public const string DATEPOSTED_COLUMN = "DatePosted"
Field Value
Type Description
System.String

ID_COLUMN

The string identifier of the column that will be used to store the sorted id of the posting row (1,2,3 etc).

Declaration
public const string ID_COLUMN = "ID"
Field Value
Type Description
System.String

POSTINGID_COLUMN

The string identifier of the column for the ID of the posting.

Declaration
public const string POSTINGID_COLUMN = "PostingID"
Field Value
Type Description
System.String

SYSTEM_COLUMS_EXTENSION

A string extension that will be added to the system columns.

Declaration
public const string SYSTEM_COLUMS_EXTENSION = "(2)"
Field Value
Type Description
System.String

USER_COLUMN

The string identifier of the column for the username that posted the form data.

Declaration
public const string USER_COLUMN = "User"
Field Value
Type Description
System.String

Properties

PageIndex

The zero based index of the page to return If paging is not required the default index of zero will be returned

Declaration
public int PageIndex { get; set; }
Property Value
Type Description
System.Int32

PageSize

The number of items to display on a page If paging is not required the default page size is System.Int32.MaxValue

Declaration
public int PageSize { get; set; }
Property Value
Type Description
System.Int32

Posts

Gets a DataTable containing a row for every post to the form that matches the criteria.

Declaration
public DataTable Posts { get; }
Property Value
Type Description
System.Data.DataTable

A DataTable containing a row for every post to the form that matches the criteria.

PostsCount

Gets the number of posts that matches the given criteria for the control.

Declaration
public int PostsCount { get; }
Property Value
Type Description
System.Int32

The number of posts that matches the given criteria.

Methods

Clear()

Clears the statistics and child controls.

Declaration
public override void Clear()
Overrides

CreateChildControls()

Creates the child controls for the control.

Declaration
protected override void CreateChildControls()
Overrides

GetEnumerator()

Returns an enumerator that iterates through the collection of form posting rows.

Declaration
public IEnumerator GetEnumerator()
Returns
Type Description
System.Collections.IEnumerator

An System.Collections.IEnumerator object that can be used to iterate through the collection of form posting rows.

Implements

System.Web.UI.INamingContainer
System.Collections.IEnumerable

Extension Methods