Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
ASP .Net
ASP .Net Datagrid Control
Changing the with of an unbound datagrid
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Elton Wang, post: 4266112"] Hi Kevin, I assume that you are using AutoGenerateColumns="True" to bind the datagrid. If so, you can set width of each column. In order to control width of column, you need to apply AutoGenerateColumns="False". Then create either Bound Column or Template Column for each data field and assign HeaderStyle-Width and ItemStyle-Width values. HTH [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
ASP .Net
ASP .Net Datagrid Control
Changing the with of an unbound datagrid
Top