Problem with Hyperlink to text files

Discussion in 'ASP .Net Web Controls' started by Shaheen.Pisces@gmail.com, May 3, 2007.

  1. Guest

    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
    , May 3, 2007
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Elton Pruitt
    Replies:
    2
    Views:
    5,798
    akjoshi
    Jun 12, 2006
  2. davetichenor
    Replies:
    1
    Views:
    818
    Eliyahu Goldin
    Oct 30, 2006
  3. Ken
    Replies:
    1
    Views:
    369
    Alvin Bruney
    Aug 16, 2003
  4. Dave
    Replies:
    0
    Views:
    934
  5. Problem with Hyperlink to text files

    , May 3, 2007, in forum: ASP .Net Web Controls
    Replies:
    1
    Views:
    103
Loading...

Share This Page