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. gridview column width

gridview column width

Scheduled Pinned Locked Moved ASP.NET
help
6 Posts 5 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.
  • J Offline
    J Offline
    jai 123
    wrote on last edited by
    #1

    hi to all, I want my gridview columns to have fixed width. Even though data is long, i want it to be shown only till the width permits,remaining in next line. plase help me.

    jai

    U P I R 4 Replies Last reply
    0
    • J jai 123

      hi to all, I want my gridview columns to have fixed width. Even though data is long, i want it to be shown only till the width permits,remaining in next line. plase help me.

      jai

      U Offline
      U Offline
      Unknown Ajanabi
      wrote on last edited by
      #2

      u can try following link http://mattberseth.com/blog/2007/09/freezing\_gridview\_column\_heade\_1.html no knowledge in .net

      J 1 Reply Last reply
      0
      • J jai 123

        hi to all, I want my gridview columns to have fixed width. Even though data is long, i want it to be shown only till the width permits,remaining in next line. plase help me.

        jai

        P Offline
        P Offline
        Pallavi Bhoite
        wrote on last edited by
        #3

        Hi jai, set column width and wrap property to true.

        pallavi

        1 Reply Last reply
        0
        • J jai 123

          hi to all, I want my gridview columns to have fixed width. Even though data is long, i want it to be shown only till the width permits,remaining in next line. plase help me.

          jai

          I Offline
          I Offline
          Imran Khan Pathan
          wrote on last edited by
          #4

          You can use Best Regard pAthan

          please don't forget to vote on the post that helped you.

          1 Reply Last reply
          0
          • U Unknown Ajanabi

            u can try following link http://mattberseth.com/blog/2007/09/freezing\_gridview\_column\_heade\_1.html no knowledge in .net

            J Offline
            J Offline
            jai 123
            wrote on last edited by
            #5

            I am in a problem. I have to show the values of database in the grid and I want to print this web page. But problem is when user is entering the data like(pppppppppppppppppppppppppppppppppppp) so the column width is automatically increase like below: name id addd class lllllllllllllllllllllllllllllllllllllllllllll 123 jkkkk pppp I want like this name id add class lllllllllll 234 fff rrrr lllllllllll lllllllllllll Please give me steps to fix the width and if the name is long the next part will come in next line.

            jai

            1 Reply Last reply
            0
            • J jai 123

              hi to all, I want my gridview columns to have fixed width. Even though data is long, i want it to be shown only till the width permits,remaining in next line. plase help me.

              jai

              R Offline
              R Offline
              rahul net11
              wrote on last edited by
              #6

              Hi I already give answer of this question in dotnet spider forum. i think you posted same question here again? If u have any query then tell me. Regards. Rahul

              People Laugh on me Because i am Different but i Laugh on them Because they all are same.

              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