• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 976
  • Last Modified:

How to manually adjust column widths of a GridView which has auto-generated columns?

I tried various solutions suggested on other sites to adjust column widths of a GridView which has auto-generated columns.

Few tips worked which suggested using:

style = "table-layout: fixed"

Open in new window

inside GridView tag and also using few lines of code from code-behind.

But the CSS property mentioned above is not working on IE 8.0 and earlier versions. It only works on IE 9.0.

Is there any other way to increase or decrease the column width of a GridView, which has auto-generated columns, manually from code-behind?
1 Solution
Imran Javed ZiaConsultant Software Engineer - .NET ArchitectCommented:
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now