Namespace: Consultingwerk.SmartComponents.Implementation
Class 
SmartComboEditor Copy to Clipboard
Parent classes:
Inherits: Consultingwerk.SmartComponents.Base.SmartComboEditorDesign
Implements: System.ComponentModel.ICustomTypeDescriptor, Consultingwerk.SmartComponents.IHasDesignerVerbs, Consultingwerk.SmartComponents.Implementation.ISmartDataFieldForeignFieldsClient, System.ComponentModel.ISupportInitialize

File:SmartComboEditor
Purpose:Extension to the Infragistics UltraComboEditor
Description:Combo-Box that can populate itself with a ValueList based
on data retrieved from a Business Entity Table
As the Infragistics UltraComboEditor does not provide
editor-support this class uses the UltraComboEditorWithDesigner
as a base class
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Fri Mar 01 13:49:20 CET 2013
Notes:Leverages the ValueListHelper class to build a value list
Accesses the backend directly through the ServiceAdapter
as no binding source and no navigation facilities are
required (both would be features that would justify using
a SmartBusinessEntityAdapter like the Lookup does.
The FlagValue and FlagText are only supported, when the
ImageField (BLOB) is not set



Top Method Summary
Options Name Purpose
BeginInit () Invoked at the beginning of a Containers InitializeComponents method
EndInit () Invoked at the end of a Containers InitializeComponents method
HandleForeignFieldValueChanged () Reopens the query of the Smart data field after a foreign field value has changed
OnProvideForeignFieldValue (ProvideForeignFieldValueEventArgs) Raises the ProvideForeignFieldValue
OnVerbClicked (character) Event Handler method for Designer Verbs
ProvideForeignFieldValue (ProvideForeignFieldValueEventArgs) Callback method to provide values for a foreign field
RetrieveData () Retrieves data from the Backend and populates the ValueList
SetDesignerProperties () Initializes design time properties
ShowBusinessEntityPickerDialog () Shows a dialog to select a Business Entity
ShowTablePickerDialog () Invokes the Table Picker Dialog and sets properties of the SmartBusinessEntityLookup during Design Time

Top Constructor Summary
Options Name Purpose
SmartComboEditor () Constructor for the SmartComboEditor class

Top Event Summary
Options Name Purpose
ProvideForeignFieldValue DELEGATE System.EventHandler Raised to request a ForeignFieldValue


Method Detail
Top

BeginInit ()

Purpose: Invoked at the beginning of a Containers InitializeComponents
method
Notes: Enforced by System.ComponentModel.ISupportInitialize
http://msdn.microsoft.com/de-de/library/system.componentmodel.isupportinitialize.begininit(VS.80).aspx

Top

EndInit ()

Purpose: Invoked at the end of a Containers InitializeComponents method
Notes: Enforced by System.ComponentModel.ISupportInitialize
http://msdn.microsoft.com/de-de/library/system.componentmodel.isupportinitialize.endinit(VS.80).aspx

Top

HandleForeignFieldValueChanged ()

Purpose: Reopens the query of the Smart data field after a foreign field value has changed
Notes:

Top

OnProvideForeignFieldValue (ProvideForeignFieldValueEventArgs)

Purpose: Raises the ProvideForeignFieldValue
Notes:

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

OnVerbClicked (character)

Purpose: Event Handler method for Designer Verbs
Notes: This method is intended to be overridden

Parameters:
pcVerbText CHARACTER
The name (Label) of the Designer Verb that was invoked
Top

ProvideForeignFieldValue (ProvideForeignFieldValueEventArgs)

Purpose: Callback method to provide values for a foreign field
Notes:

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

RetrieveData ()

Purpose: Retrieves data from the Backend and populates the ValueList
Notes:

Top

SetDesignerProperties ()

Purpose: Initializes design time properties
Notes:

Top

ShowBusinessEntityPickerDialog ()

Purpose: Shows a dialog to select a Business Entity
Notes: Invoked by the "Select BusinessEntity" Designer Verb, only intended
for DesignTime

Top

ShowTablePickerDialog ()

Purpose: Invokes the Table Picker Dialog and sets properties of the
SmartBusinessEntityLookup during Design Time
Notes: Invoked by the "Select Tables" Designer Verb. Only intended for
DesignTime



Constructor Detail
Top

SmartComboEditor ()

Purpose: Constructor for the SmartComboEditor class
Notes:



Event Detail
Top

ProvideForeignFieldValue DELEGATE System.EventHandler

Purpose: Raised to request a ForeignFieldValue
Notes: The event argument (e) needs to be CASTed to ProvideForeignFieldValueEventArgs
to access the FieldName and Value properties

Delegate: System.EventHandler


©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       13.04.2026 10:23:31