Link to home
Start Free TrialLog in
Avatar of rwallacej
rwallacej

asked on

GridView Folder Link

Hi

I have created a GridView in Visual Studio 2005 and filled it with a number of columns. In one of these I would like to add a link to a folder that will open in Windows Explorer. The field contains the location of the folder and I can currently get it to open individual files. Is there a way you can open the whole folder from a link in the GridView?

Thanks
Avatar of Mike Tomlinson
Mike Tomlinson
Flag of United States of America image

"I can currently get it to open individual files"

Folders open find with Process.Start():

        Dim Folder As String = "C:\Users\Mike\Documents"
        Process.Start(Folder)
*find --> fine   =)
Avatar of rwallacej
rwallacej

ASKER

I should of said in the original post, but it is a asp.net site I am using. The folders would not have to open in windows explorer but could open in the browser. Are any of those ways possible with a asp.net site?
Ah...I have no idea with regard to WebForms.   Sorry....   =\
Thanks anway, at least I got it working in a form =)
These are server side folders you want to open right? Is directory browsing enabled for these folders? You can just use a link just like you use for files.
They are folders on network but not in same folder as web site...
End user is internal network user
E.g. s:\\proposals\proposal 123\details
I am wondering if I just display the text and user copies the link to own windows explorer
ASKER CERTIFIED SOLUTION
Avatar of Nasir Razzaq
Nasir Razzaq
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
thanks for help!