Solved

Controlling width of the gridview

Posted on 2008-06-18
2
635 Views
Last Modified: 2010-05-18
I would like to control the width of the Gridview, preferably using code or CSS. HOw is that done? thanks
0
Comment
Question by:zachvaldez
2 Comments
 
LVL 4

Accepted Solution

by:
sajay_j earned 250 total points
ID: 21819601
. gwidth {
width:auto;
min-width:specify value;
max-width:specify value;
}

Please check this. Hope this would help. Apply to all cells.
0
 

Author Comment

by:zachvaldez
ID: 21821898
HOw about for each column only?
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Introduction If you're like most people, you have occasionally made a typographical error when you're entering information into an online form.  And to your consternation, the browser remembers the error, and offers to autocomplete your future entr…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

920 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now