New to Telerik UI for ASP.NET Core? Download free 30-day trial

ASP.NET Core Window Custom Actions

Loading Demo...
  • EXAMPLE
  • VIEW SOURCE
  • Edit in Telerik REPL
HtmlHelper
TagHelper
Files:
actions.cshtml
ActionsController.cs
Actions_TagHelper.cshtml

Also available for:

CLIENT-SIDE API SERVER-SIDE API

Description

The Telerik UI for ASP.NET Core Window allows you to define a non-recognized action name and treats it as a custom action.

This demo shows the implementation approach for capturing and handling click events for custom actions. The ASP.NET Core Window will generate a custom class for the unfamiliar action based on the name of that action, for example, .Custom("custom"). In this example, the "k-i-custom" class is generated by adding "k-i-" to the name "custom". "k-i-custom" can be used to find the respective custom action.

Additional Apps

This Window example is part of unique collection of hundreds of ASP.NET Core demos, with which you can see all Telerik ASP.NET Core components and their features in action. View the source code of the demos from the library or directly adapt, and edit them and their theme appearance in Telerik REPL for ASP.NET Core or ThemeBuilder.

Support & Learning Resources

Additional Resources