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

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值