Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

GridView Column Sizes

Posted on 2007-11-30
2
245 Views
Last Modified: 2013-11-26
In VS 2005 and ASP.NET 2.0, I have a test app that displays data in agrid view. With no other options set on the grid view control, I'm finding that columns are only as wide as the header text and any data is wrapped within that width. What I'd like to be able to do is set each column width programmatically and not have the text not wrap so that each row height is the same. If I want to see all the data text in a particular column, I'd like to be able to click and drag the column divider to widen it to see more text, or better yet double click on the divider to set the column to the width of the longest data text. Is any or all of this possible and, if so how? TIA

I'm keeping the points low so that I don't waste a lot of them only to be told it can't be done, but I'll be sure to reward anyone who can provide me with a workable solution.
0
Comment
Question by:davev
2 Comments
 
LVL 10

Accepted Solution

by:
Alpesh Patel earned 50 total points
ID: 20384773
you are right on your descisson. you cannot do this stuff in web application like standalon or c/s application.
0
 

Author Closing Comment

by:davev
ID: 31412012
I was afraid that might be the case, but thanks for verifying it for me anyway.
0

Featured Post

The New “Normal” in Modern Enterprise Operations

DevOps for the modern enterprise offers many benefits — increased agility, productivity, and more, but digital transformation isn’t easy, especially if you’re not addressing the right issues. Register for the webinar to dive into the “new normal” for enterprise modern ops.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

861 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question