Creating new web parts kentico 10

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.

  1. Open the Web parts application.  
  2. Select the category where you want to place the web part.    或者选择新建一个category
  3. Click New web part.
  4. Type a Display name for the web part.
  5. Select Use existing file as the Code files option.
  6. Specify the path of the user control in the File path field.
  7. Click Save.
  8. 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

Using and configuring web parts

https://docs.kentico.com/k10/developing-websites/developing-websites-using-the-portal-engine/using-and-configuring-web-parts

原文地址:https://www.cnblogs.com/chucklu/p/7809321.html