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. Wrap text in Gridview [modified]

Wrap text in Gridview [modified]

Scheduled Pinned Locked Moved ASP.NET
csshelptutorial
2 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.
  • K Offline
    K Offline
    kinnuP
    wrote on last edited by
    #1

    hi all, i am biding the data to hyper link but i am not getting how to wrap the text but by using css i able to wrap the text in IE but not working in Mozilla Please Help me. .Grid { table-layout: fixed; } .GridColumn { white-space: pre-wrap; /* css-3 */ white-space: -moz-pre-wrap !important; word-wrap: break-word; /* Internet Explorer 5.5+ */ resizable: false; } Thanks And Regards, Guru -- modified at 7:55 Friday 26th October, 2007

    S 1 Reply Last reply
    0
    • K kinnuP

      hi all, i am biding the data to hyper link but i am not getting how to wrap the text but by using css i able to wrap the text in IE but not working in Mozilla Please Help me. .Grid { table-layout: fixed; } .GridColumn { white-space: pre-wrap; /* css-3 */ white-space: -moz-pre-wrap !important; word-wrap: break-word; /* Internet Explorer 5.5+ */ resizable: false; } Thanks And Regards, Guru -- modified at 7:55 Friday 26th October, 2007

      S Offline
      S Offline
      Shanmugam R
      wrote on last edited by
      #2

      If you are using TD then the code will be written like this, '<%#Eval()%>'

      Shanmugam R

      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