ForumViewer PostCount Method Kentico 8.0 API Reference
Returns number of posts in current forum or thread.

Namespace: CMS.Forums
Assembly: CMS.Forums (in CMS.Forums.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

data
Type: OnlineSystem Object
Container.DataItem
thread
Type: OnlineSystem Boolean
If is true, returns number of posts for current thread, otherwise returns number of posts for current forum

Return Value

Type: OnlineInt32
See Also