Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

How to create a custom action type with a custom control in Web

$
0
0

This example demonstrates how to create a custom action that accepts two parameters (a DateTime range), how to extend the web ActionContainerHolder to create a custom action item with a complex control. The code is based on the built-in ParametrizedAction item. Note that it is required to place a custom ActionContainerHolder to our web templates (aspx pages) instead of the default ActionContainerHolder, otherwise a custom action item will not be created. See how this is done in the DefaultTemplateContent1.ascx file. For additional information, refer to the How to: Customize an ASP.NET Template topic.


Viewing all articles
Browse latest Browse all 7205

Trending Articles