How do I add an anchor to a boundcolumn?

Discussion in 'ASP .Net Datagrid Control' started by jm, Oct 27, 2003.

  1. jm

    jm Guest

    I have a simple DataGrid and on one of the asp:boundcolumn tags I want
    to underline with a link everything in that column. From that link I
    will then open a page. How do I add a link around the boundcoulumn?
    I tried a regular anchor tag, but got an error about it not being part
    of the DataGrid control.

    I am still migrating from old ASP to .NET, so forgive my ignorance. I
    have searched to no avail. Thank you.

    Fails:

    <a href="http://mysite.aspx?test=hello"><asp:boundcolumn ....></a>
     
    jm, Oct 27, 2003
    #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. May
    Replies:
    0
    Views:
    390
  2. Replies:
    0
    Views:
    1,901
  3. Replies:
    1
    Views:
    362
    David Wier
    Nov 30, 2006
  4. mesut
    Replies:
    0
    Views:
    606
    mesut
    Jun 29, 2007
  5. Aamir Ghanchi

    add anchor to url

    Aamir Ghanchi, Jul 7, 2007, in forum: ASP .Net
    Replies:
    3
    Views:
    686
    Aamir Ghanchi
    Jul 9, 2007
Loading...

Share This Page