m1ha1
m1ha1

Reputation: 95

Dynamically create widgets in sitefinity

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.

Upvotes: 1

Views: 168

Answers (1)

Veselin Vasilev
Veselin Vasilev

Reputation: 3793

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

Upvotes: 3

Related Questions