Set text hyperlink in a datagrid

Discussion in 'ASP .Net Datagrid Control' started by Elad Frid, Feb 19, 2004.

  1. Elad Frid

    Elad Frid Guest

    Hi

    I have a datagrid that one of it's columns is a hyperlink which his
    URL is taken from the dataset
    I want to display text that will be the same for all columns
    The problem is that in some cases the URL that is taken from the
    dataset is empty in this case I don't want to display any text

    How can I accomplished that ?
    Which fields do I need to fill in the hyperlink properties ?
    Also is they a way to display image instead of text ?

    Elad.
     
    Elad Frid, Feb 19, 2004
    #1
    1. Advertisements

  2. Your post went unanswered. Have you resolved this issue?

    --
    Regards,
    Alvin Bruney [ASP.NET MVP]
    Got tidbits? Get it here...
    http://tinyurl.com/3he3b
    "Elad Frid" <> wrote in message
    news:...
    > Hi
    >
    > I have a datagrid that one of it's columns is a hyperlink which his
    > URL is taken from the dataset
    > I want to display text that will be the same for all columns
    > The problem is that in some cases the URL that is taken from the
    > dataset is empty in this case I don't want to display any text
    >
    > How can I accomplished that ?
    > Which fields do I need to fill in the hyperlink properties ?
    > Also is they a way to display image instead of text ?
    >
    > Elad.
     
    Alvin Bruney [MVP], Mar 2, 2004
    #2
    1. Advertisements

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. GaryB
    Replies:
    6
    Views:
    3,740
    Steven Cheng[MSFT]
    Nov 4, 2004
  2. Elton Pruitt
    Replies:
    2
    Views:
    6,077
    akjoshi
    Jun 12, 2006
  3. davetichenor
    Replies:
    1
    Views:
    1,109
    Eliyahu Goldin
    Oct 30, 2006
  4. Ken
    Replies:
    1
    Views:
    683
    Alvin Bruney
    Aug 16, 2003
  5. Nithin
    Replies:
    0
    Views:
    199
    Nithin
    Jan 12, 2004
  6. Earl Teigrob

    Making datagrid hyperlink column displays Link or Text???

    Earl Teigrob, Jan 19, 2004, in forum: ASP .Net Datagrid Control
    Replies:
    0
    Views:
    303
    Earl Teigrob
    Jan 19, 2004
  7. Tina

    hyperlink text in a datagrid?

    Tina, Oct 31, 2004, in forum: ASP .Net Datagrid Control
    Replies:
    2
    Views:
    186
  8. Dave
    Replies:
    0
    Views:
    1,243
Loading...