FileExplorer is already using a generic handler when working with a DB provider, this is why it is enough to request directly the item by its url. The other thing you have to do is to implement the download logic from the handler from the demo
to the one used in your application.
Commenting the following if statement in the Handler.ashx
file will allow you to download all type of files:
contentType, HttpResponse response)
response.ContentType = contentType;
extension = System.IO.Path.GetExtension(fileName).ToLower();
//if (extension != ".htm" && extension != ".html" && extension != ".xml" && extension != ".jpg" && extension != ".gif" && extension != ".png")
I hope this helps.
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the UI for ASP.NET AJAX, subscribe to the blog feed