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
1910
Display a directory and it's files
posted

I would like to use the WebTree to display a directory and it's files. I would like the user to be able to click on the file and view it (will most likely be pdf's). Can someone tell me how I can go about doing this and if the WebTree isn't the best control to do this with, can you point me in the right direction?

Parents
No Data
Reply
  • 49378
    posted

    Hi algunderson,

    It has been a while since your post, however in case you still need help I would be glad to assist you.

    In order for your webTree to display the contents of the directory you would need to create custom code to get the file structure and build the tree nodes based on it. As far as displaying files goes, you can set the TargetUrl property of each node to the repsective location of your files.

    Please do not hesitate to contact me if you require further assistance.

    Best Regards,

    Petar Ivanov
    Developer Support Engineer
    Infragistics, Inc.
    http://ko.infragistics.com/support

Children
No Data