Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Datagrid items showing as link with underline

Datagrid items showing as link with underline

Scheduled Pinned Locked Moved ASP.NET
cssquestion
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Steve van Niman
    wrote on last edited by
    #1

    ok - displaying a datagrid and using the ButtonColumn for the column. The text shows as a link and I want to control the display of the link. The gb is GridBody, gt is GridText and ac is AlignCenter. No matter what I play with in the CSS, it will not remove the link apparence in the datagrid. I have the .gt:link defined in the css, but no effect. Any ideas?

    C 1 Reply Last reply
    0
    • S Steve van Niman

      ok - displaying a datagrid and using the ButtonColumn for the column. The text shows as a link and I want to control the display of the link. The gb is GridBody, gt is GridText and ac is AlignCenter. No matter what I play with in the CSS, it will not remove the link apparence in the datagrid. I have the .gt:link defined in the css, but no effect. Any ideas?

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      What if you define CSS for all links on the page ?

      Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

      S 1 Reply Last reply
      0
      • C Christian Graus

        What if you define CSS for all links on the page ?

        Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

        S Offline
        S Offline
        Steve van Niman
        wrote on last edited by
        #3

        a) how? b) what is the ITEM I am looking for.

        C 1 Reply Last reply
        0
        • S Steve van Niman

          a) how? b) what is the ITEM I am looking for.

          C Offline
          C Offline
          Christian Graus
          wrote on last edited by
          #4

          The CSS would be for a hyperlink. I think if you don't specify a class name it will apply to all controls. http://www.ironspider.ca/adv/cssproperties/hyperlinks.htm[^]

          Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups