Problem with Hyperlink to text files

S

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,813
Latest member
lawrwtwinkle111

Latest Threads

Top