Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > Problem with Hyperlink to text files

Reply
Thread Tools

Problem with Hyperlink to text files

 
 
Shaheen.Pisces@gmail.com
Guest
Posts: n/a
 
      05-03-2007
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

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with Hyperlink to text files Shaheen.Pisces@gmail.com ASP .Net Web Controls 1 05-09-2007 04:14 PM
How to add a hyperlink column to asp.net datagrid - where only one value is a hyperlink davetichenor ASP .Net 1 10-30-2006 02:57 PM
How to add a hyperlink column to asp.net datagrid - where only one value is a hyperlink Dave ASP .Net Datagrid Control 0 10-21-2006 07:48 PM
ASP.NET 2.0 TreeView - node text as plain text (not hyperlink) Elton Pruitt ASP .Net 2 06-12-2006 12:41 PM
Dynamically Hyperlink and Event Handler for the Hyperlink ? Ken ASP .Net Datagrid Control 1 08-15-2003 11:38 PM



Advertisments