Top Method Summary
Options Name Purpose
HANDLE GetDataSourceCurrentRowDataset (SmartDatasetAdapter) Builds a ProDataset carrying the current row of the given SmartDatasetAdapter to be sent to a server-side event handler
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

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

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       06.07.2026 14:28:11