Compartir a través de


AxReportViewer

Applies To: Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012

The AxReportViewer component displays a SQL Server Reporting Services (SSRS) report. The component does not have a renderer. To set its properties, you must select the control in the Source view for the User Control.

When using the AxReportViewer component, you may want to pass parameters to the report being displayed. See Report Parameters for more information about passing parameters to the report through code.

Properties

The AxReportViewer component has the following properties:

Accessibility

Property

Description

AccessKey

The keyboard shortcut used by the control. Not used for Enterprise Portal.

TabIndex

Specifies the tab order of the control.

Appearance

Property

Description

BackColor

This property is inherited from the base control. It is not specific to Enterprise Portal.

BorderColor

This property is inherited from the base control. It is not specific to Enterprise Portal.

BorderStyle

This property is inherited from the base control. It is not specific to Enterprise Portal.

BorderWidth

This property is inherited from the base control. It is not specific to Enterprise Portal.

CssClass

This property is inherited from the base control. It is not specific to Enterprise Portal.

Font

This property is inherited from the base control. It is not specific to Enterprise Portal.

ForeColor

This property is inherited from the base control. It is not specific to Enterprise Portal.

Behavior

Property

Description

Enabled

Specifies whether the control is enabled.

EnableTheming

Indicates whether the control can be themed.

EnableViewState

Indicates whether the control automatically saves its state for use in round-trips.

SkinID

The SkinId of the control skin that provides the skin of the control.

ToolTip

The tooltip displayed when the mouse is over the control.

Visible

Indicates whether the control is visible and rendered.

Data

Property

Description

Expressions

The expressions that are bound to properties of the control.

Layout

Property

Description

Height

Specifies the height of the control.

Width

Specifies the width of the control.

Microsoft Dynamics AX

Property

Description

Output menu item name

Specifies the output menu item from the AOT that references the report to be rendered.

Render asynchronously

Specifies whether the control should render the report asynchronously.

Misc

Property

Description

ID

The programmatic name of the control.

Events

The AxReportViewer component has the events listed in the following table.

Event

Description

DataBinding

Occurs when the server control binds to a data source.

Disposed

Occurs when a server control is released from memory, which is the last stage of the server control lifecycle when an ASP.NET page is requested.

Init

Occurs when the server control is initialized, which is the first step in its lifecycle.

Load

Occurs when the server control is loaded into the System.Web.UI.Page object.

PreRender

Occurs after the System.Web.UI.Control object is loaded by prior to rendering.

Unload

Occurs when the server control is unloaded from memory.