The Forums module allows users to easily create and manage forums and posts. The Forums module provides the Forums public control, among others, which displays a forum. This topic provides information about this section which contains the main methods available in
the ForumManager class.
The full name of the manager class for Forums module is Telerik.Polls.ForumManager. This is the class you should use when working with Forums module API.
How to Start Using the ForumManager Class
You can create a new instance of the ForumManager class anywhere in your code in order to work with Forums module data. If working in an
assembly, make sure you reference the Telerik.Forums assembly before you use the ForumManager class.
In order to start using Forums module API, create a new instance of the ForumManager class. There are two possible ways to do that:
Create new instance of ForumManager with empty constructor:
|
Copy Code |
|
// creates new instance of ForumManager class with empty constructor,
// which means that default provider will be used Telerik.Forums.ForumManager forumManager = new Telerik.Forums.ForumManager();
|
Create a new instance of ForumManager with specified provider name:
|
Copy Code |
|
// creates new instance of ForumManager class with provider name as parameter,
// which means that ForumManager will use specified provider when working with data Telerik.Forums.ForumManager
forumManager = new Telerik.Forums.ForumManager("MyCustomProvider");
|
Content
Following are the topics that explain how to work with different methods of ForumManager:
Forums:
Forum Posts:
Forum Categories:
Security:
See Also