Hello,
When I'm trying to use OpenAccessDataSource as the datasource of the treeview, the treeview is using wrong table.
I configured the datasource to use the Entitlement table. I attached it to treeview using the DatasourceId. It throws an exception about the Description field does not exist in the invoicelinesharing table.
When I'm trying to use OpenAccessDataSource as the datasource of the treeview, the treeview is using wrong table.
I configured the datasource to use the Entitlement table. I attached it to treeview using the DatasourceId. It throws an exception about the Description field does not exist in the invoicelinesharing table.
<
telerik:OpenAccessDataSource
ID
=
"EntitlementDS"
runat
=
"server"
ObjectContextProvider
=
"Xapt.AgilePoint.Data.SiteContextModel.SiteEntityDiagrams, Xapt.AgilePoint.Data.SiteContextModel"
TypeName
=
"Xapt.AgilePoint.Data.SiteContextModel.Entitlement"
EnableDelete
=
"False"
EnableInsert
=
"False"
EnableUpdate
=
"False"
>
</
telerik:OpenAccessDataSource
>
<
telerik:RadTreeView
runat
=
"server"
ID
=
"tvEntitlement"
DataSourceID
=
"EntitlementDS"
DataFieldID
=
"EntitlementId"
DataFieldParentID
=
"ParentId"
DataTextField
=
"Description"
>
</
telerik:RadTreeView
>