Folders inside a list.
-
16 มีนาคม 2555 18:38
I have a list which contains Folders. When someone clicks on the folder he/she is taken inside the folder where they can only see the items which is inside that folder.
What I want to do is that I don't want to leave the parent list. So when someone clicks on a folder I want it to dynamically fold out the contents of the folder.
How can I do such a thing?
MSDNStudent Knows not much!
ตอบทั้งหมด
-
16 มีนาคม 2555 19:42
You have two options:
1. You can enable "Show all items without folders" in Current View options.
2. Develop custom Web Part that will implement such behavior.
Oleg
- แก้ไขโดย Oleg_Petrychenko 16 มีนาคม 2555 19:42
-
16 มีนาคม 2555 19:45
Clicking on show without folder would hide the hierarchy away....
my intention is to show all items with the hierarchy. So to display it like a tree structure where people can compress/expand the folders.
has anyone already done something like this in a custom webpart?
MSDNStudent Knows not much!
-
16 มีนาคม 2555 19:56
I do not see any issue to put TreeView on Web Part http://msdn.microsoft.com/en-us/library/d4fz6xk2(v=vs.80).aspx and populate data on demand when user will click on Expand Node http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.treeview.treenodepopulate.aspxOleg
- เสนอเป็นคำตอบโดย Sjoukje Zaal 17 มีนาคม 2555 7:12
- ทำเครื่องหมายเป็นคำตอบโดย MSDN Student 17 มีนาคม 2555 17:33