Consultor Eletrônico



Kbase P148453: UltraOptionSet does not display value as expected when used in a cell in an UltraGrid
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   23/06/2009
Status: Unverified

SYMPTOM(s):

UltraOptionSet does not display value as expected when used in a cell in an UltraGrid

UltraOptionSet (radio set) does not show the value set; all radio buttons are empty

FACT(s) (Environment):

Using UltraDataSource to add sample data
UltraDataSource specifies System.Int16 as the default data type for the column represented by the UltraOptionSet
UltraOptionSet shows the expected value only when selected
OpenEdge 10.2A
Windows

CAUSE:

The SetCellValue method of the UltraDataSource was passing in a Progress Integer value. Progress Integer values correspond to System.Int32 rather than System.Int16.

FIX:

Change the data type for the column represented by the UltraOptionSet to System.Int32