TreeView with OpenAccessDatasource problem

2 posts, 0 answers
  1. Arpad
    Arpad avatar
    3 posts
    Member since:
    Jan 2009

    Posted 07 Feb 2011 Link to this post

    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>


  2. Yana
    Admin
    Yana avatar
    4888 posts

    Posted 09 Feb 2011 Link to this post

    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.
Back to Top