Developing web parts
https://docs.kentico.com/k10/custom-development/developing-web-parts
Web parts are page components that provide a combination of content and functionality.
They are the basic building blocks of portal engine page templates — you can use web parts to create pages directly in your browser through the Pages -> Edit -> Design interface.
Creating new web parts
https://docs.kentico.com/k10/custom-development/developing-web-parts/creating-new-web-parts
Managing web parts in the system
Registering web parts
Before you can use your user controls as web parts, you need to register them as objects in Kentico. The system sorts web parts into categories, organized in a tree structure.
- Open the Web parts application.
- Select the category where you want to place the web part. 或者选择新建一个category
- Click New web part.
- Type a Display name for the web part.
- Select Use existing file as the Code files option.
- Specify the path of the user control in the File path field.
- Click Save.
- Define the properties of the web part. See Working with web part properties for more information.
You can now place instances of the web part onto portal engine pages on the Design tab of the Pages application.
CodeFiles可以选择是create new 还是use existing file