Namespace: Consultingwerk.SmartComponents.Support
Class 
SmartBusinessEntityPopupLookupUserControl Copy to Clipboard
Parent classes:
Inherits: Progress.Windows.UserControl
Implements: Consultingwerk.SmartComponents.Interfaces.ILookupFieldSource

File:SmartBusinessEntityPopupLookupUserControl
Purpose:UserControl used by the SmartBusinessEntityPopupLookup in
the popup control container
Author(s):Martyn Kemp / Consultingwerk Ltd.
Created:Thu May 04 11:16:12 BST 2017



Top Method Summary
Options Name Purpose
ApplyFilter () Applys the filter to the query
BrowserInitializeLayout (Object, InitializeLayoutEventArgs) Event handler for the InitializeLayout event of the Lookup Grid Control
Escape_KeyDown (Object, KeyEventArgs) Event handler for the KeyDown event of the tbSearchField
CHARACTER GetLookupFieldValue (character) Returns a Field Value from the Business Entity Adapter
InitializeComponent () Intializes the Visual Design
InitializeDataAdapter () Initializes the DataAdapter used by the SmartLookupControl
InitializeDataBinding () Initializes the Data Binding
InitializeExceptFields () Initializes the ExceptField Lists of the Data Adapter
InitializePopupControl () Intializes the Controls DataBinding
InitialRetrieveData () Retrieves the initial data in the Lookup Dialog
OnAfterInitializeBusinessEntityAdapter (AfterInitializeBusinessEntityAdapterEventArgs) Raises the AfterInitializeBusinessEntityAdapter event
OnLookupResult (LookupResultEventArgs) Raises the LookupResult
ResetFilter () Resets the filter of the query
SetGlassRegion ()
smartDataBrowser1_DefaultAction (Object, EventArgs) Handles Keydown events for the Browser
SmartPopupLookupControl_Load (Object, EventArgs) Handles the Load event for the control
tbSearchField_EditorButtonClick (Object, EditorButtonEventArgs) Event handler for the EditorButtonClick event of the tbSearchField
tbSearchField_KeyDown (Object, KeyEventArgs) Event handler for the KeyDown event of the tbSearchField
ultraTextEditor1_Enter (Object, EventArgs) Event handler for the Enter event of the ultraTextEditor1

Top Constructor Summary
Options Name Purpose
SmartBusinessEntityPopupLookupUserControl () Constructor for the SmartBusinessEntityLookupDialog class
SmartBusinessEntityPopupLookupUserControl (character) Constructor for the SmartBusinessEntityLookupDialog class
SmartBusinessEntityPopupLookupUserControl (SmartLookup) Constructor for the SmartBusinessEntityLookupDialog class

Top Event Summary
Options Name Purpose
AfterInitializeBusinessEntityAdapter (Object, AfterInitializeBusinessEntityAdapterEventArgs) Event raised when the lookups SmartBusinessEntityAdapter is initialized
LookupResult (Object, LookupResultEventArgs) Raised when the Lookup is closed

Top Property Summary
Options Name Purpose
CHARACTER AdapterType
CHARACTER AppServerPartition
Infragistics.Win.UltraWinGrid.UltraGrid LookupBrowser
CHARACTER LookupBrowserExcludeFields
CHARACTER LookupBrowserFields
CHARACTER LookupDialogFilterFields
CHARACTER LookupDialogFilterOperators
LOGICAL LookupDialogOpenQuery
CHARACTER LookupDialogQuerySort
CHARACTER LookupDialogQueryString
CHARACTER LookupEntityName
CHARACTER LookupEntityTable
CHARACTER LookupEntityView
CHARACTER LookupKeyField
Consultingwerk.SmartComponents.Implementation.SmartBusinessEntityAdapter LookupSmartBusinessEntityAdapter
LOGICAL SearchPromptInSearchField


Method Detail
Top

ApplyFilter ()

Purpose: Applys the filter to the query
Notes:

Top

BrowserInitializeLayout (Object, InitializeLayoutEventArgs)

Purpose: Event handler for the InitializeLayout event of the Lookup Grid Control
Notes: Make sure that only the given list of LookupBrowserFields and none
of the fields in LookupBrowserExcludeFields are visible.
If LookupBrowserFields is an empty string all columns will be shown

Parameters:
sender System.Object
The reference to the object that raised the event
e Infragistics.Win.UltraWinGrid.InitializeLayoutEventArgs
The InitializeLayoutEventArgs with the data for this event
Top

Escape_KeyDown (Object, KeyEventArgs)

Purpose: Event handler for the KeyDown event of the tbSearchField
Notes:

Parameters:
sender System.Object
The reference to the object that raised the event
e System.Windows.Forms.KeyEventArgs
The KeyEventArgs with the data for this event
Top

CHARACTER GetLookupFieldValue (character)

Purpose: Returns a Field Value from the Business Entity Adapter
Notes:

Parameters:
pcFieldName CHARACTER
The name of the Field to return
Returns CHARACTER
The value of the field
Top

InitializeComponent ()

Purpose: Intializes the Visual Design
Notes:

Top

InitializeDataAdapter ()

Purpose: Initializes the DataAdapter used by the SmartLookupControl
Notes:

Top

InitializeDataBinding ()

Purpose: Initializes the Data Binding
Notes:

Top

InitializeExceptFields ()

Purpose: Initializes the ExceptField Lists of the Data Adapter
Notes:

Top

InitializePopupControl ()

Purpose: Intializes the Controls DataBinding
Notes:

Top

InitialRetrieveData ()

Purpose: Retrieves the initial data in the Lookup Dialog
Notes: Performs a FindRowWhere call instead of RetrieveData when the lookup
control contains a value. This is to avoid an extra backend call

Top

OnAfterInitializeBusinessEntityAdapter (AfterInitializeBusinessEntityAdapterEventArgs)

Purpose: Raises the AfterInitializeBusinessEntityAdapter event
Notes:

Parameters:
e Consultingwerk.SmartComponents.Implementation.AfterInitializeBusinessEntityAdapterEventArgs
The AfterInitializeBusinessEntityAdapterEventArgs with the data for this event
Top

OnLookupResult (LookupResultEventArgs)

Purpose: Raises the LookupResult
Notes:

Parameters:
e Consultingwerk.SmartComponents.Implementation.LookupResultEventArgs
The LookupResultEventArgs with the data for the event
Top

ResetFilter ()

Purpose: Resets the filter of the query
Notes:

Top

SetGlassRegion ()

Purpose:
Notes:

Top

smartDataBrowser1_DefaultAction (Object, EventArgs)

Purpose: Handles Keydown events for the Browser
Notes:

Parameters:
sender System.Object
The reference to the object that raised the event
e System.EventArgs
The System.Windows.Forms.KeyEventArgs with the data for this event
Top

SmartPopupLookupControl_Load (Object, EventArgs)

Purpose: Handles the Load event for the control
Notes:

Parameters:
sender System.Object
The reference to the object that raised the event
e System.EventArgs
The System.EventArgs with the data for this event
Top

tbSearchField_EditorButtonClick (Object, EditorButtonEventArgs)

Purpose: Event handler for the EditorButtonClick event of the tbSearchField
Notes:

Parameters:
sender System.Object
The reference to the object that raised the event
e Infragistics.Win.UltraWinEditors.EditorButtonEventArgs
The EditorButtonEventArgs with the data for this event
Top

tbSearchField_KeyDown (Object, KeyEventArgs)

Purpose: Event handler for the KeyDown event of the tbSearchField
Notes:

Parameters:
sender System.Object
The reference to the object that raised the event
e System.Windows.Forms.KeyEventArgs
The KeyEventArgs with the data for this event
Top

ultraTextEditor1_Enter (Object, EventArgs)

Purpose: Event handler for the Enter event of the ultraTextEditor1
Notes:

Parameters:
sender System.Object
The reference to the object that raised the event
e System.EventArgs
The System.EventArgs with the data for this event


Constructor Detail
Top

SmartBusinessEntityPopupLookupUserControl ()

Purpose: Constructor for the SmartBusinessEntityLookupDialog class
Notes:

Top

SmartBusinessEntityPopupLookupUserControl (character)

Purpose: Constructor for the SmartBusinessEntityLookupDialog class
Notes:

Parameters:
pcLookupRegistryKey CHARACTER
The settings key to use for the Lookup Dialog to store grid and dialog settings
Top

SmartBusinessEntityPopupLookupUserControl (SmartLookup)

Purpose: Constructor for the SmartBusinessEntityLookupDialog class
Notes: This constructor calls back into the Lookup Control to receive the
Lookup Dialog Settings Registrykey

Parameters:
poSmartLookup Consultingwerk.SmartComponents.Base.SmartLookup
The reference to the SmartLookup instance for this LookupDialog


Event Detail
Top

AfterInitializeBusinessEntityAdapter (Object, AfterInitializeBusinessEntityAdapterEventArgs)

Purpose: Event raised when the lookups SmartBusinessEntityAdapter is initialized
Notes:

Parameters:
sender System.Object
The reference to the object that raised the event
e Consultingwerk.SmartComponents.Implementation.AfterInitializeBusinessEntityAdapterEventArgs
The AfterInitializeBusinessEntityAdapterEventArgs with the data for this event
Top

LookupResult (Object, LookupResultEventArgs)

Purpose: Raised when the Lookup is closed
Notes:

Parameters:
sender System.Object
The object that raised the LookupResult event
e Consultingwerk.SmartComponents.Implementation.LookupResultEventArgs
The LookupResultEventArgs with the data for the event


Property Detail
Top

CHARACTER AdapterType


Returns CHARACTER
Top

CHARACTER AppServerPartition


Returns CHARACTER
Top

Infragistics.Win.UltraWinGrid.UltraGrid LookupBrowser


Returns Infragistics.Win.UltraWinGrid.UltraGrid
Top

CHARACTER LookupBrowserExcludeFields


Returns CHARACTER
Top

CHARACTER LookupBrowserFields


Returns CHARACTER
Top

CHARACTER LookupDialogFilterFields


Returns CHARACTER
Top

CHARACTER LookupDialogFilterOperators


Returns CHARACTER
Top

LOGICAL LookupDialogOpenQuery


Returns LOGICAL
Top

CHARACTER LookupDialogQuerySort


Returns CHARACTER
Top

CHARACTER LookupDialogQueryString


Returns CHARACTER
Top

CHARACTER LookupEntityName


Returns CHARACTER
Top

CHARACTER LookupEntityTable


Returns CHARACTER
Top

CHARACTER LookupEntityView


Returns CHARACTER
Top

CHARACTER LookupKeyField


Returns CHARACTER
Top

Consultingwerk.SmartComponents.Implementation.SmartBusinessEntityAdapter LookupSmartBusinessEntityAdapter


Returns Consultingwerk.SmartComponents.Implementation.SmartBusinessEntityAdapter
Top

LOGICAL SearchPromptInSearchField


Returns LOGICAL


©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       30.03.2026 11:06:43