/xaf-how-to-create-a-custom-action-with-a-custom-control-in-xaf-aspnet-application

How to extend our built-in Actions to be able to use a custom control for a specific task

Primary LanguageVisual Basic .NETOtherNOASSERTION

XAF - How to create a custom Action with a custom control in XAF ASP.NET WebForms application

Sometimes, it is necessary to extend our built-in Actions to be able to use a custom control for a specific task. For example, add two DateTime editors to accept a data range instead of creating two separate ParametrizedActions.

image

Implementation Details

Inherit the ProcessActionContainerHolderController and override the OnCreateCustomMenuActionItem method and return a custom TemplatedMenuActionItem, that defines the Action's control. See the MyProcessActionContainerHolderController.xx class code for additional details.

Files to Review

More Examples

Does this example address your development requirements/objectives?

(you will be redirected to DevExpress.com to submit your response)