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

TreeView with OpenAccessDatasource problem

1 Answer 65 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Arpad
Top achievements
Rank 1
Arpad asked on 07 Feb 2011, 11:06 AM
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.
<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>


1 Answer, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 09 Feb 2011, 04:04 PM
Hello Arpad,

The provided information is not enough for us to understand the issue. Please open a support ticket and send us sample code demonstrating it.

Greetings,
Yana
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
TreeView
Asked by
Arpad
Top achievements
Rank 1
Answers by
Yana
Telerik team
Share this question
or