Hi Jean-Paul Smit,
I want a document library for every registered user so they get their own document library.
The built in module does not support permissions per library. You can extend this functionality and implement permissions per role. You have to map the external template
LibraryListView.ascx and create a code behind of it where you get access to the repeater that shows all libraries.
sender, RepeaterItemEventArgs e)
(e.Item.ItemType == ListItemType.Item || e.Item.ItemType == ListItemType.AlternatingItem)
ILibrary library = e.Item.DataItem
&& library.Name ==
HtmlGenericControl libraryPanel =(HtmlGenericControl)e.Item.FindControl(
The best option here is using ILibrary object and its Owner property to restrict the unauthorized access.
Displaying the items in a tree will be more complicated, but in this case you will have a flat structure, because you will not have parent and children nodes. You will have just one level. This will require to replace the default view. There are required controls, so you have to remove them and implement the whole logic by your own, because you have to use a completely different control - RadTreeView.
the Telerik team