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

 

作者:Chuck Lu    GitHub    
posted @   ChuckLu  阅读(235)  评论(0编辑  收藏  举报
编辑推荐:
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 理解Rust引用及其生命周期标识(上)
· 浏览器原生「磁吸」效果!Anchor Positioning 锚点定位神器解析
· 没有源码,如何修改代码逻辑?
阅读排行:
· 全程不用写代码,我用AI程序员写了一个飞机大战
· DeepSeek 开源周回顾「GitHub 热点速览」
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· 记一次.NET内存居高不下排查解决与启示
· 白话解读 Dapr 1.15:你的「微服务管家」又秀新绝活了
历史上的今天:
2016-11-09 GridControl
2016-11-09 Get Client IP
2014-11-09 apm的学习资料
2014-11-09 C# 版本和.NET 版本以及VS版本的对应关系
2014-11-09 Asynchronous Programming Model (APM)异步编程模型
2014-11-09 接口作为返回类型
2014-11-09 软件解耦
点击右上角即可分享
微信分享提示