The Lists module allows users to easily create lists such as FAQ, contact details and any kind of information that can be best represented in the form of a list. The Lists
module provides the List public control which can display data in numerous modes. This topic provides information examples for the main methods available in the
ListManager class.
The full name of API class for Lists module is Telerik.Lists.ListManager. This is the class you should use when working with Lists module API.
How to Start Using the ListManager Class
You can create a new instance of the ListManager class anywhere in your code in order to work with Lists module data. If working in an
assembly, make sure you reference the Telerik.Lists assembly before you use the ListManager class.
In order to start using Lists module API, create a new instance of the ListManager class. There are two possible ways to do that:
Create new instance of ListManager with empty constructor:
|
Copy Code |
|
// creates new instance of ListManager class with empty constructor,
// which means that default provider will be used Telerik.Lists.ListManager listManager = new Telerik.Lists.ListManager();
|
Create a new instance of ListManager with specified provider name:
|
Copy Code |
|
// creates new instance of ListManager class with provider name as parameter,
// which means that ListManager will use specified provider when working with data Telerik.Lists.ListManager listManager
= new Telerik.Lists.ListManager("MyCustomProvider");
|
Content
Following are the topics that explain how to work with different methods of ListManager:
Lists:
List Items:
Security:
See Also