This question is locked. New answers and comments are not allowed.
Hi,
I'n testing OpenAccess to be used in our next application version.
The proble we found is we can't assign object references to RadComboBox.
We can load the combo box, and get the selected text value or integer value, but we cant get the selected object to be assigned to another object attribute.
Example:
class Project
{
...
...
..
public Country country;
}
class Country
{
public String code;
public String name;
}
The country class has an attribute of class Country and the web page has a list of contries in a RadComboBox.
Then ComboBox items are loaded correctly, but when we need to store the project in the database, assigning the selected contry to the project.Contry attribute, we must query the database to the object reference using the text value of the selected combobox item.
Is there any way we can get the selected object reference directly from the RadComboBox with out a query?
Thanks
Miguel
I'n testing OpenAccess to be used in our next application version.
The proble we found is we can't assign object references to RadComboBox.
We can load the combo box, and get the selected text value or integer value, but we cant get the selected object to be assigned to another object attribute.
Example:
class Project
{
...
...
..
public Country country;
}
class Country
{
public String code;
public String name;
}
The country class has an attribute of class Country and the web page has a list of contries in a RadComboBox.
Then ComboBox items are loaded correctly, but when we need to store the project in the database, assigning the selected contry to the project.Contry attribute, we must query the database to the object reference using the text value of the selected combobox item.
Is there any way we can get the selected object reference directly from the RadComboBox with out a query?
Thanks
Miguel