Top Method Summary
Options Name Purpose
AssignCurrentRowProperties (EventHandlerParameter, SmartDatasetAdapter) Assigns the SelectedRowCount and the ActiveRowKey of the EventHandlerParameter for the current row of a data source
HANDLE GetDataSourceCurrentRowDataset (SmartDatasetAdapter) Builds a ProDataset carrying the current row of the given SmartDatasetAdapter to be sent to a server-side event handler
Consultingwerk.SmartComponents.Implementation.SmartDataBrowser GetMultiSelectionGrid (SmartDatasetAdapter) Returns the grid of a data source in which several rows are selected
HandleServerEvent (EventHandlerParameter, character, character, handle, Object, Object) Handles server side events, sending the provided screen-values dataset to the backend
HandleServerEvent (EventHandlerParameter, character, character, Object, Object) Handles server side events
HandleToolClick (Object, ToolClickEventArgs, character) Handles the ToolClick event of the Toolbar
HandleUiControl (UiControl, handle, Object) Returns a ProDataset with the current screen values
InitializeToolbarUiControlHandler () Initializes the SmartToolbarUiControlHandler class

Top Constructor Summary
Options Name Purpose
SmartToolbarServerSideEventHandler (ISmartToolbarControl) Default constructor for SmartToolbarServerSideEventHandler

Top Property Summary
Options Name Purpose
Consultingwerk.SmartComponents.Interfaces.ISmartToolbarControl ToolbarControl


Method Detail
Top

AssignCurrentRowProperties (EventHandlerParameter, SmartDatasetAdapter)

Purpose: Assigns the SelectedRowCount and the ActiveRowKey of the
EventHandlerParameter for the current row of a data source
Notes: SCL-6087 - the current row is sent alone: SelectedRowCount 1 and
its primary unique key, SelectedRowCount 0 without a current row

Parameters:
poParameter Consultingwerk.CommonUi.EventHandlerParameter
The EventHandlerParameter to assign the properties of
poDataSource Consultingwerk.SmartComponents.Base.SmartDatasetAdapter
The SmartDatasetAdapter whose current row is sent
Top

HANDLE GetDataSourceCurrentRowDataset (SmartDatasetAdapter)

Purpose: Builds a ProDataset carrying the current row of the given
SmartDatasetAdapter to be sent to a server-side event handler
Notes: SCL-5297 - mirrors the SmartUiControlHandlerBase:GetScreenValuesDataset
behavior for the case where a Toolbar/Ribbon ToolClick is bound to a
SmartDatasetAdapter (SmartBusinessEntityAdapter / SmartDatasetChildAdapter)
rather than a viewer or grid. The row-state of the source row is
preserved (a row-created source row is sent as a created row,
otherwise as an unmodified row). The returned dataset is owned by
the caller.

Parameters:
poDataSource Consultingwerk.SmartComponents.Base.SmartDatasetAdapter
The SmartDatasetAdapter whose current row should be sent
Returns HANDLE
The handle of the ProDataset with the current row
Top

Consultingwerk.SmartComponents.Implementation.SmartDataBrowser GetMultiSelectionGrid (SmartDatasetAdapter)

Purpose: Returns the grid of a data source in which several rows are
selected
Notes: SCL-6087 - the first SmartDataBrowser among the data targets of
the data source with more than one selected row, ? when there is
none

Parameters:
poDataSource Consultingwerk.SmartComponents.Base.SmartDatasetAdapter
The SmartDatasetAdapter named as the dataSource of the tool
Returns Consultingwerk.SmartComponents.Implementation.SmartDataBrowser
The SmartDataBrowser with several selected rows or ?
Top

HandleServerEvent (EventHandlerParameter, character, character, handle, Object, Object)

Purpose: Handles server side events, sending the provided screen-values
dataset to the backend
Notes: SCL-5297 - used by the dataSource path of a ToolClick event to
forward the current record (e.g. the current row of a
SmartDatasetAdapter) to the server-side event handler method.
The phScreenValues dataset is owned by this method and deleted
when the invocation completes.

Parameters:
oParameter Consultingwerk.CommonUi.EventHandlerParameter
The EventHandlerParameter instance
pcTaskName CHARACTER
The name of the task
pcMethodName CHARACTER
The name of the method
phScreenValues HANDLE
The handle of the ProDataset with the screen values (may be the unknown value)
sender Progress.Lang.Object
The sender of the event
e Progress.Lang.Object
The EventArgs instance (.NET or SmartComponent Library)
Top

HandleServerEvent (EventHandlerParameter, character, character, Object, Object)

Purpose: Handles server side events
Notes: Sends an empty screen-values dataset to the backend. Used for
ToolClick events that are not associated with a dataSource.

Parameters:
oParameter Consultingwerk.CommonUi.EventHandlerParameter
The EventHandlerParameter instance
pcTaskName CHARACTER
The name of the task
pcMethodName CHARACTER
The name of the method
sender Progress.Lang.Object
The sender of the event
e Progress.Lang.Object
The EventArgs instance (.NET or SmartComponent Library)
Top

HandleToolClick (Object, ToolClickEventArgs, character)

Purpose: Handles the ToolClick event of the Toolbar
Notes:

Parameters:
sender System.Object
The reference to the object that raised the event
e Infragistics.Win.UltraWinToolbars.ToolClickEventArgs
The ToolClickEventArgs with the data for this event
pcMethodName CHARACTER
The name of the server-side event handler method
Top

HandleUiControl (UiControl, handle, Object)

Purpose: Returns a ProDataset with the current screen values
Notes:

Parameters:
poUiControl Consultingwerk.CommonUi.UiControl
The reference to the UiControl instance to process
phDataset HANDLE
The handle of the ProDataset with the screen values
sender Progress.Lang.Object
The sender of the event
Top

InitializeToolbarUiControlHandler ()

Purpose: Initializes the SmartToolbarUiControlHandler class
Notes: The SmartViewerUiControlHandler is initialized when calling into
GetScreenValuesDataset, HandleUiControl and ResetViewerState
This method allows to initialize the instance earlier, especially to
store the EnabledStatus of fields earlier



Constructor Detail
Top

SmartToolbarServerSideEventHandler (ISmartToolbarControl)

Purpose: Default constructor for SmartToolbarServerSideEventHandler
Notes:

Parameters:
poToolbar Consultingwerk.SmartComponents.Interfaces.ISmartToolbarControl
The reference to the ISmartToolbarControl instance


Property Detail
Top

Consultingwerk.SmartComponents.Interfaces.ISmartToolbarControl ToolbarControl


Returns Consultingwerk.SmartComponents.Interfaces.ISmartToolbarControl


©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       09.11.2026 08:07:49