Posted on: 7/31/2015 1:47:14 PM | Views : 809

I have a web page with a gridview control.  I populate the gridview from my SQL table that has a list of downloadable files we allow our customers to access.  On each row in the gridview, I have a linkbutton that allows the user to click and download that file from the path in the SQL table.  This all works great but the file always goes to the Downloads folder.  Is there a way to allow the user to select where on there PC they want to save the file?  Here is my code:
C# protected void Page_Load(object sender, EventArgs e) { if(!Page.IsPostBack) { gvDownloads.DataSource = SqlHelper.ExecuteDataset(connStringHG, "GetDownloads"); gvDownloads.DataBind(); } } protected void DownloadFile(object sender, EventArgs e) { string filePath = (sender as LinkButton).CommandArgument; ...

Go to the complete details ...