Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DataGrid Colum Visible/Invisble
Message
From
08/05/2004 18:33:04
 
 
To
08/05/2004 17:41:53
General information
Forum:
ASP.NET
Category:
Forms
Miscellaneous
Thread ID:
00902200
Message ID:
00902234
Views:
30
Nancy,

Since WebForm controls and WinForms controls are sooooo different, it usually doesn't make any sense to reply to a WinForm question with a WebForm answer and vice versa. <s>

There is *no* visible property for the DataGridColumnStyle class.

~~Bonnie



>>Since for some reason MS decided to leave the .Visble property off of the Windows Forms DataGridColumnStyle, have any of you found elegant workarounds to making a column visible/invisible? At the moment I'm planing on setting it's width to 0 to hide it, but that means saving it's real width somewhere so I can set it back, and I hate doing things that feel "kludgy". :)
>
>Doesn't setting the column's visible property false work for you? That's what I'm using, albeit in a webforms datagrid.
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform