asp.net 2005 treeview control

S

shil

I'm trying to list files from on my directories using treeview control.
when user drills down to files under directories, I want them to open
the file when they clicked on the file.

I know I can do this in regular html like this
<a href="C:\myfolder\myfile.pdf">MyFile</a>
when I click on the MyFile link in regular html, the pdf file opens in
pdf reader.

Is there any way I can do this using treeview control? I tried using
navigateurl on the node. But it only works when you give web url, not
the file url.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top