K2 smartforms Custom Controls
Developers can create and use Custom Controls to extend the functionality and look of the standard set of controls provided with K2 smartforms.
In this section of the developers reference we present the custom control registration tool and basic format and requirements of a Microsoft Visual Studio project for the custom controls. We then build basic custom controls, each demonstrating additional functionality that can be added through the use of a custom control.
Topic | Description |
---|---|
Getting Started | This topic will focus on the basic needs for creating a custom control and create your first control |
Adding Custom JavaScript | This topic will demonstrate how to add your own JavaScript for the control |
Adding Custom Cascading Style sheets | This will show how to add styling to a custom control |
Using Style Properties with a Custom Control | This will show how to work with style properties on custom controls |
Adding and Using a Custom Resource File | This will look into how to use custom resource files for custom controls |
Adding a Custom Icon | This will look at how to add your own icons to the control |
Adding and Using an Ajax Handler | This topic will look into adding and Ajax Handler to the custom control |
Using Get and Set Values | This topic will focus on how How to pass data to and from the custom control using Get and Set values. |
Adding and Using Events | This topic looks at adding event handlers for the custom control |
Custom Control Sample Projects | This is a list of the projects that we have compiled , they can be downloaded |
Implementing CSRF validation for Custom Controls | By default, Smartforms implements Anti-Cross Site Request Forgery (Anti-CSRF) security measures. This topic describes CSRF validation on custom controls. |
Considerations and Best Practices | Quick list of best practices and things to look out for. |
Troubleshooting Custom Controls | Learn about issues you could experience when working with custom controls. |