PortalHelperGetAddInlineWidgetScript Method |
Gets the javascript code which ensures adding a new inline widget to the page.
Namespace: CMS.PortalEngine.Web.UIAssembly: CMS.PortalEngine.Web.UI (in CMS.PortalEngine.Web.UI.dll) Version: 13.0.131
Syntax public static string GetAddInlineWidgetScript(
WidgetInfo widgetInfo,
DataRow row,
List<FormFieldInfo> fields,
IEnumerable<string> additionalFieldsNames
)
Parameters
- widgetInfo
- Type: CMS.PortalEngineWidgetInfo
The widget info object - row
- Type: System.DataDataRow
The widget data - fields
- Type: System.Collections.GenericListFormFieldInfo
The list of inline widget properties which will be saved in the text editor - additionalFieldsNames
- Type: System.Collections.GenericIEnumerableString
Names of fields that are required to be saved within widget properties.
Return Value
Type:
StringSee Also