Back to API Home

Adds the DashBlock to the current mashup. This will start a new mashup if a dashboard is currently being viewed.

Namespace: Dundas.Dashboard.Controls
Assembly: Dundas.Dashboard.Client (in Dundas.Dashboard.Client.dll) Version: 5.0.0.0 (5.5.0.1000)

Syntax

C#
public void AddDashBlock(
	EnhancedViewerContentItem contentItem
)
Visual Basic
Public Sub AddDashBlock ( 
	contentItem As EnhancedViewerContentItem
)

Parameters

contentItem
Type: Dundas.Dashboard.Controls..::..EnhancedViewerContentItem
The content item.

Implements

IViewerCommandService..::..AddDashBlock(EnhancedViewerContentItem)

Remarks

This will throw an exception if mashups are not enabled on this viewer.

See Also