This is a migrated thread and some comments may be shown as answers.

Binding to an OpenAccessDataSource

1 Answer 19 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
sitefinitysteve
Top achievements
Rank 2
Veteran
sitefinitysteve asked on 09 Jul 2010, 05:13 PM
I'm having an issue binding to an OpenAccessDatasource

I have my DS on the page, and I link it to the combo, all works well, but if I specify a DataText or DataValue field in one of the linked objects it throws an error saying that property doesn't exist (when it does)

So this works
DataTextField="RotationID" DataValueField="RotationID">

This fails
DataTextField="Rotation.RotationName" DataValueField="RotationID">

1 Answer, 1 is accepted

Sort by
0
Simon
Telerik team
answered on 12 Jul 2010, 02:46 PM
Hello Steve,

This would not work with any other data source. You must specify a direct property of the underlying object in the Data[Text/Value]Field properties.

All the best,
Simon
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
ComboBox
Asked by
sitefinitysteve
Top achievements
Rank 2
Veteran
Answers by
Simon
Telerik team
Share this question
or