473,569 Members | 2,729 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Displaying a hierarchical folder / file structure

Hi,

Just looking for some advice and/or recommendations here.

Scenario is corporate private intranet, ASP.NET 2 on Win2K3S, SQL Server
2005, WinXP + IE6 on all client desktops.

Client has a folder structure on a separate file server (which the IIS box
can see) containing many corporate documents (in PDF format) arranged in
subfolders e.g.

<root>
Committees
Compliance
Meetings
20060901
Agenda.pdf
Minutes.pdf
20061001
Agenda.pdf
Minutes.pdf

etc - fairly standard corporate stuff.

They want to make these files available for viewing on the corporate
intranet in a way which resembles Windows Explorer as closely as possible
i.e.

page split into two panes
left pane contains hierarchical folder structure
clicking on a folder in the left pane displays that folder's contents
(subfolders and files) in the right pane
right pane's contents can be sorted by file / folder name, last written date
etc
clicking on a file in the right pane opens the associated PDF
file system is entirely read-only

I'm thinking this wouldn't present too much of a challenge with a
<asp:TreeView in the left pane and a <asp:GridView in the right pane, but
am interested to know if anyone has a better solution.

Any assistance gratefully received.

Mark
Oct 5 '06 #1
2 2878
I'm not sure I wouod be looking to use the right pane to display the folder
contents when the treeview can do that anyway in a collpasable fasion, but
thats probably just a personal preference in that its an object less to work
with.

4guys has a good article that does much of what your after. Theoretically,
if you replaced the image control with an iframe you could potentially get
your PDF's to open in the same window and save yourself some work, or
perhaps create a thumbnail generator for PDF's and display that.

http://aspnet.4guysfromrolla.com/articles/083006-1.aspx
Regards

John Timney (MVP)
VISIT MY WEBSITE:
http://www.johntimney.com
"Mark Rae" <ma**@markNOSPA Mrae.comwrote in message
news:%2******** ********@TK2MSF TNGP05.phx.gbl. ..
Hi,

Just looking for some advice and/or recommendations here.

Scenario is corporate private intranet, ASP.NET 2 on Win2K3S, SQL Server
2005, WinXP + IE6 on all client desktops.

Client has a folder structure on a separate file server (which the IIS box
can see) containing many corporate documents (in PDF format) arranged in
subfolders e.g.

<root>
Committees
Compliance
Meetings
20060901
Agenda.pdf
Minutes.pdf
20061001
Agenda.pdf
Minutes.pdf

etc - fairly standard corporate stuff.

They want to make these files available for viewing on the corporate
intranet in a way which resembles Windows Explorer as closely as possible
i.e.

page split into two panes
left pane contains hierarchical folder structure
clicking on a folder in the left pane displays that folder's contents
(subfolders and files) in the right pane
right pane's contents can be sorted by file / folder name, last written
date etc
clicking on a file in the right pane opens the associated PDF
file system is entirely read-only

I'm thinking this wouldn't present too much of a challenge with a
<asp:TreeView in the left pane and a <asp:GridView in the right pane,
but am interested to know if anyone has a better solution.

Any assistance gratefully received.

Mark

Oct 5 '06 #2
"John Timney (MVP)" <x_****@timney. eclipse.co.ukwr ote in message
news:sI******** *************** *******@eclipse .net.uk...
I'm not sure I wouod be looking to use the right pane to display the
folder contents when the treeview can do that anyway in a collpasable
fasion, but thats probably just a personal preference in that its an
object less to work with.
I probably wouldn't either, but you don't sign my timesheets... ;-)
4guys has a good article that does much of what your after.
Theoretically, if you replaced the image control with an iframe you could
potentially get your PDF's to open in the same window and save yourself
some work, or perhaps create a thumbnail generator for PDF's and display
that.

http://aspnet.4guysfromrolla.com/articles/083006-1.aspx
Yes, I've seen that - seems like an excellent starting point...

Thanks.
Oct 5 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
1725
by: Dennis Allen | last post by:
Hi. I've been using a simple css based outline on my web site. A section of hyperlinks within <div class>, imitating open/closed folders. Problem. Since the folder is on the lower left of the window, when you open it you have to use the windows scroll basr to see all of it. I'd like to switch to a Microsoft-like web site hierarchical menu. ...
13
3592
by: Aladdin | last post by:
I have an MS Access form on which I have a listbox listing tables in that database. I want to be able to click on any of those tables and view its contents on the same form using subforms or any grid control. I tried many grid controls (DBGrid, DataGrid, MSFlexGrid), the ADO Data Control and everything I can think of, with no success. Here...
1
1795
by: jayson_13 | last post by:
Hi, I want to retrieve the hierarchical structure which is store inside the database and then display it using treeview control. But now I got a design issue which I hope that you guys can help me. My hierarchical structure has five levels which is store in table call level1, level2,… level5. Each level remember the parent ID e.g. level5...
9
8313
by: Paul | last post by:
I'm trying to make get my app to delete all the files in a specified folder and all the files within the folders of the specified folder. e.g. Folder 1 contains three files (File1, File2, File3) and two folders (Subfolder 1, Subfolder 2). .......I need to delete File1, File2, File3. Subfolder 1 contains FileA. .......Need to delete FileA....
5
2652
by: Kent Boogaart | last post by:
Hi, I have some hierarchical data (FAQs) that I would like to bind to. The basic structure is: FAQ Category + Categories + FAQs So an FAQ category has any number of sub-categories and any number of FAQs.
8
3291
by: Jon Weston | last post by:
I'm setting up an Access2003 database with pictures. I put a bound ole picture ctrl on a form that's source is the table that contains the pictures and follow ALL the directions for embedding a picture. The ctrl in the form only displays the filename of the picture. The underlying table, when opened in table view, shows the word "package"...
0
1814
by: sugarsmack | last post by:
Hi folks, Using XSL, I'm trying to take an XML file containing a flat list of "topics" and generate a hierarchical topic map. The topic nodes include a role attribute that indicates their position in the hierarchy (role="1" being the top node). Here is the original XML file structure: <NoName> <topic id="id1" role="1"> ...
12
5798
by: Steve | last post by:
I have been studying the Adjacency List Model as a means of achieving a folder structure in a project I am working on. Started with the excellent article by Gijs Van Tulder http://www.sitepoint.com/article/hierarchical-data-database My database has this basic structure: Id FolderName
5
4002
by: kbnolan | last post by:
I'm somewhat new to this so I know there is something easy I'm missing. I'm editing an existing html page that was built with primarily with css. I have to work with the existing structure and not change it. The background is in this style #content-wrapper-1 { background-color: #d8f5fd; background-image:...
0
7609
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7921
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8118
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7666
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7964
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6278
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5504
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
1
1208
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
936
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.