在sitefinity中动态创建小部件(Dynamically create widgets in sitefinity)

编程入门 行业动态 更新时间:2024-10-19 10:18:17
在sitefinity中动态创建小部件(Dynamically create widgets in sitefinity)

有没有办法动态创建小部件(sitefinity)?

例如: 我在DB中有一些html数据,所以我想获取数据,创建一个小部件并将数据作为html内容放在widget中。

任何想法或信息都会有所帮助。

Is there some way in creating widgets dynamically (sitefinity)?

For example: I have some html data in DB, so i want to get that data, create a widget and place the data in widget as html content.

Any idee or info will be helpful.

最满意答案

您可以使用内置的内容块小部件。 了解如何以编程方式将其添加到页面中。

You can use the built-in Content Block widget for this. See how to add it programmatically to a page here.

更多推荐

本文发布于:2023-07-07 21:35:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1068496.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:部件   动态   sitefinity   widgets   create

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!