Reputation: 95
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
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