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(
	DashboardDefinition dashBlock
)
Visual Basic
Public Sub AddDashBlock ( 
	dashBlock As DashboardDefinition
)

Parameters

dashBlock
Type: Dundas.Dashboard.Business..::..DashboardDefinition
The DashBlock.

Implements

IViewerCommandService..::..AddDashBlock(DashboardDefinition)

Remarks

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

See Also