Home All Groups Group Topic Archive Search About

Problem with Hyperlink to text files

Author
3 May 2007 8:29 PM
Shaheen.Pisces
Hello

i'm displaying the searched file names in data list. i want ti make
the filenames as hyperlink ...i wrote the following code

<asp:Hyperlink

                 NavigateURL='<%# DataBinder.Eval(Container.DataItem,
"link.NavigateUrl")%>'
                 Target="_blank"
                 Text='<%# DataBinder.Eval(Container.DataItem,
"link.Text")%>'
                 runat="server" >
                </asp:Hyperlink>



this works fine means file name is displayed as a link and the correct
path is shown in status bar but the problem is that when i click on
the file name nothing is happened. plz help in solving this problem
asap


Thanx
Shaheen