Example: Configure frontend paging and filtering

In case you display related data on the frontend via widgets inheriting ContentView, for example, NewsView, you can configure the widgets to use paging, filtering, or sorting. 

The following code example demonstrates how you can enable paging for related News items:

 

In addition, you can set filter and sort expressions using the relevant properties of the MasterDefinitionFilterExpression=’Title.Contains(“jQuery”)’  and SortExpression="Title desc"

Want to learn more?

Sign up for our free beginner training. Boost your credentials through advanced courses and certification.
Register for Sitefinity training and certification.

Was this article helpful?