in
Forums
Blogs
Files
Devexpress.Com
Client Center
Support Center
DevExpress Channel

problem binding ASPxTreeList with ObjectDataSource4

Last post 11/11/2008 11:31 AM by Venu Pavuluri_1. 5 replies.
Page 1 of 1 (6 items)
Sort Posts:
Previous Next
  • 7/3/2008 3:09 AM

    problem binding ASPxTreeList with ObjectDataSource4

    Hello everybody,

    I bind my ASPxTreeList with ObjectDataSource, just right after I bind it the control turn into label showing:

    "error rendering control, An unhandled exception has occured. Duplicate key node." Do you know why? Is it because I have two composite recursive primary keys in a table ?

    thank you.

  • 7/4/2008 8:00 AM In reply to

    Re: problem binding ASPxTreeList with ObjectDataSource4

    Hi,

    In bound mode this exception occurs when there are duplicate data values in a field specified via the KeyFieldName property.

     

    Thanks, Alexey M
    R&D, .NET Team
    Developer Express Inc.

    PS. If you wish to receive direct assistance from our Support Team, use Support Center at http://www.devexpress.com/Support/Center
  • 7/7/2008 10:19 PM In reply to

    Re: problem binding ASPxTreeList with ObjectDataSource4

    I have hierarchical data, up to 4 levels. You can imagine it like employee with 4 level manager above him, each manager has manager respectively. I still can not use ASPxTreeList with this kind of data. So do you have a solution ?

    Thank you.

  • 7/8/2008 2:24 AM In reply to

    Re: problem binding ASPxTreeList with ObjectDataSource4

    The ASPxTreeList supports hierarchical data sources.

    Please refer to the following online demo:
    http://demos.devexpress.com/ASPxTreeListDemos/Data/Hierarchical.aspx

    Thanks, Alexey M
    R&D, .NET Team
    Developer Express Inc.

    PS. If you wish to receive direct assistance from our Support Team, use Support Center at http://www.devexpress.com/Support/Center
  • 8/6/2008 11:25 PM In reply to

    Re: problem binding ASPxTreeList with ObjectDataSource4

    If my keyfieldname's and parentfieldname's data type is Text, then ASPxTreeList will generate "Error Rendering Control - ASPxTreeList1- An unhandled exception has occurred. Duplicate node key".

    Is there any idea ?

    Please help me. Thank you.

  • 11/11/2008 11:31 AM In reply to

    Re: problem binding ASPxTreeList with ObjectDataSource4

    Did you resolve this issue? I am tring to use VirtualModeCreateChildren &  VirtualModeNodeCreating Events. I am getting "Duplicate Node Key"  Message and not able to expand Treeview Nodes.

    Thank You.

     

    Filed under:
Page 1 of 1 (6 items)
Copyright © 1998-2008 Developer Express Inc.
ALL RIGHTS RESERVED