kentico_helenag
-
3/3/2009 6:19:17 AM
RE:Widget Library - Is it possible ?
Hello,
The inline controls could be resolved by the API method:
ControlsHelper.ResolveDynamicControls(Panel or Control)
Did you think about the following approach?
The widget would be stored in documents of simple document type. It could contain text, HTML code and/or inline macros.
If the editor likes to use the widget he/she would copy the text (code) from appropriate document and paste it in the Editable region. You could use Editable region type: Text area where is the source code and there may be inline macros, too. If you use Editable region type: HTML Editor you would need to change the mode to Source and then paste the content of widget.
I hope it could help you.
Best regards, Helena Grulichova
|