Share via


InventDimCtrl::newFromASPWebForm Method [AX 2012]

Creates and initializes an instance of the default InventDimCtrl Class handler for ASP.NET user controls.

Syntax

client server public static InventDimCtrl newFromASPWebForm(
    WebControlId _rootControlUniqueId, 
    WebControlId _dataSourceControlId, 
    DataSetRun _dataSetRun)

Run On

Called

Parameters

  • _rootControlUniqueId
    Type: WebControlId Extended Data Type
    The value of the ASP.NET UniqueID property of the root control that contains all inventory dimension related controls. It can be the root user control itself.
  • _dataSourceControlId
    Type: WebControlId Extended Data Type
    The identifier of the ASP.NET DataSourceControl control. Only those controls which are bound to this data source control, will be processed.
  • _dataSetRun
    Type: DataSetRun Class
    The DataSetRun instance that provides data to controls.

Return Value

Type: InventDimCtrl Class
A standard InventDimCtrl Class instance to use in an ASP.NET user control.

Remarks

All inventory dimension data sources in the passed DataSetRun will be controlled by this class.

See Also

Reference

InventDimCtrl Class