Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
310
Using WebDataTree As A File Browsing System
posted

I have a WebDataTree in my ASP.NET web application. I want to use it to show the files that users have uploaded to a SQL database. I have two tables in my database: Folders and Files. The Folders table has a FolderID, ParentID, Name. The Files table has a FileID, ParentID, Name. In both tables, the ParentID refers to the folder that contains the item, so a folder can belong to another folder. This is where my problem lies. I cannot figure out how to configure my WebHierarchicalDataSource to recursively relate folders inside of folders inside of folders etc. Can anyone help me set up my WebDataTree this way?

Parents
No Data
Reply
  • 29417
    Offline posted

     Hello Eric,

     

    I’m just following up to see if you’ve been able to resolve your issue. If you have any questions or concerns or if you need further assistance please let me know.

     

    Best Regards,

    Maya Kirova

    Developer Support Engineer

    Infragistics, Inc.

    http://es.infragistics.com/support

     

Children
No Data