Sitefinity CMS enables you, as a developer, to customize built-in dialogs to better fit your specific requirements. All dialogs available in Sitefinity CMS are resolved through the Unity dependency injection container that you can use to easily replace the built-in dialog with a custom implementation.
This article describes how to customize the CustomSortingDialog dialog class of the Events module by adding two additional options for sorting events. You can use this approach with other content types as well.
To open the built-in Custom sorting... dialog for events:
To create the custom dialog class:
After you implement the custom dialog class, you register the class, so that it is initialized upon application start of your Sitefinity CMS project. To do so:
In the code above, you use the SystemManager class to subscribe to the application start of your Sitefinity CMS project. In addition, you implement the handler that registers the new CustomSortingDialogCustom class.
As a result, you can use the new sorting criteria for events that you added to the built-in Custom sorting... dialog.
Back To Top
To submit feedback, please update your cookie settings and allow the usage of Functional cookies.
Your feedback about this content is important
Copyright © 2021 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.
Progress, Telerik, Ipswitch, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.
Powered by Progress Sitefinity