Hi,

Im trying to create a downloadable list of a directory using asp.net.

Ive got it listing and navigating folders and listing files.

But I can not create a downloadable link using the h= new hyperlink method.
So i thought I would try a link button where I can add my own custom event handler.

Filename is the url of the file using file://path/path/filename

Dim h = New LinkButton
h.Text = FileName

But im lost how do i create a event handler for this???


Even a different example would be helpful to list files and folders and then be able to download or view a file.

Thanks