Click or drag to resize
PortalHelperGetAddInlineWidgetScript Method
Gets the javascript code which ensures adding a new inline widget to the page.

Namespace: CMS.PortalControls
Assembly: CMS.PortalControls (in CMS.PortalControls.dll) Version: 8.2.23
Syntax
C#
public static string GetAddInlineWidgetScript(
	WidgetInfo widgetInfo,
	DataRow row,
	List<FormFieldInfo> fields
)

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

Return Value

Type: String
See Also