mikemardon
Programmer
Hi there
I have created a template column in my datagrid which contains hyperlinks - when clicked they use the following code to pick up a file for download :
NavigateUrl='<%# DataBinder.Eval(Container, "DataItem.FileURL") %>
the problem I have is that the files open IN the browser, instead of opening the dialogue box (open/save/cancel).
I know that I need to use some code to change the way that the file is interpreted by the browser but I only know how to do this with server side code. Can anyone help me out?
Thanks!
I have created a template column in my datagrid which contains hyperlinks - when clicked they use the following code to pick up a file for download :
NavigateUrl='<%# DataBinder.Eval(Container, "DataItem.FileURL") %>
the problem I have is that the files open IN the browser, instead of opening the dialogue box (open/save/cancel).
I know that I need to use some code to change the way that the file is interpreted by the browser but I only know how to do this with server side code. Can anyone help me out?
Thanks!