Bind Treeview to network share?

1 Answer 109 Views
TreeView
Andrew
Top achievements
Rank 1
Iron
Andrew asked on 07 Oct 2021, 03:07 PM
Is the capability there for the Treeview control to bind to a network share location (\\server\sharedfolder\subfolder), and then be able to make a selection and return the filename to be passed to another operation? 
Andrew
Top achievements
Rank 1
Iron
commented on 07 Oct 2021, 03:37 PM

Should add that the objective is to include this into a dialog for a file selection prompt. 

1 Answer, 1 is accepted

Sort by
0
Accepted
Ianko
Telerik team
answered on 12 Oct 2021, 06:54 AM

Hello Andrew,

The Kendo TreeView is a client-side widget that uses the HierarchicalDataSource to be bound to server-side endpoints. Here are some demos that show serve-side data binding: 

https://demos.telerik.com/kendo-ui/treeview/remote-data-binding

https://demos.telerik.com/kendo-ui/treeview/odata-binding

 

As for binding to a file structure, it is up to the server-side implementation that should read from the network drive and translate a readable client-side format and bind it to the client-side treeview.

Regards,
Ianko
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
TreeView
Asked by
Andrew
Top achievements
Rank 1
Iron
Answers by
Ianko
Telerik team
Share this question
or