ForumViewer PostCount Method Kentico 8.1 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.1.5347.20411)

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